nmacchws
Negative Multiply Accumulate Cross Halfword Signed
nmacchws RT, RA, RB
Negate product of cross halfwords and add to accumulator (Signed Saturation).
Details
Multiplies the sign-extended bottom halfword of RA by the sign-extended top halfword of RB, negates the product, and adds it to RT with signed saturation to 32 bits. The saturated result is stored in RT, and the SAT bit in the SPEFSCR is set if saturation occurred. This instruction requires the SPE category.
Pseudocode Operation
Example
nmacchws r3, r4, r5
Encoding
Binary Layout
4
0
RT
6
RA
11
RB
16
238
21
0
31
Operands
-
RT
Acc/Dest -
RA
Src A -
RB
Src B