mullhw
Multiply Low Halfword to Word Signed
Preliminary PPC440x5 CPU Core User’s Manual
instrset.fm.
September 12, 2002 Page 379 of 589
mullhw
Multiply High Halfword to Word Signed
(RT)
0
:
31
← (RA)
16:31
× (RB)
16:31
signed
The low-order halfword of RA is multiplied by the low-order halfword of RB, considering both source operands
as signed integers. The 32-bit result is placed into register RT.
Registers Altered
•RT
• CR[CR0] if Rc 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.
mullhw RT, RA, RB Rc=0
mullhw. RT, RA, RB Rc=1
4 RT RA RB 424 Rc
0 6 11 16 21 31