Preliminary
nmachhw
Negative Multiply Accumulate High Halfword to Word Modulo Signed
nmachhw
RT, RA, RB
nmachhw.
RT, RA, RB
nmachhwo
RT, RA, RB
nmachhwo.
RT, RA, RB
4
0
6
nprod
–((RA)
0:31
0:15
temp
nprod
0:32
0:31
(RT)
temp
1:32
The high-order halfword of RA is multiplied by the high-order halfword of RB. The signed product is
subtracted from the contents of RT and RT is updated with the low-order 32 bits of the result.
Registers Altered
• RT
• CR[CR0] if Rc contains 1
• XER[SO, OV] if OE contains 1
Architecture Note
This instruction is implementation-specific and programs which use this instruction may not be portable to
other PowerPC Book-E implementations. See Instruction Set Portability on page 250.
instrset.fm.
September 12, 2002
Negative Multiply Accumulate High Halfword to Word Modulo Signed
RT
RA
11
(RB)
) signed
0:15
+ (RT)
OE=0, Rc=0
OE=0, Rc=1
OE=1, Rc=0
OE=1, Rc=1
RB
16
PPC440x5 CPU Core User's Manual
OE
46
21 22
Page 387 of 589
nmachhw
Rc
31