AMCC Proprietary 278
Revision 1.02 - September 10, 2007
PPC405 Processor
mulhw
Multiply High Word
Preliminary User’s Manual
mulhw
Multiply Hig h Word
prod
0:63
← (RA) × (RB) signed
(RT)
← prod
0:31
The 64-bit signed product of registers RA and RB is formed. The most significant 32 bits of the result is placed into
register RT.
Registers Altered
•RT
• CR[CR0]
LT, GT, EQ, SO
if Rc contains 1
Programming Note
The most significant 32 bits of the product, unlike the least significant 32 bits, may differ depending on whether the
registers RA and RB are interpreted as signed or unsigned quantities. mulhw generates the correct result when
these operands are interpreted as signed quantities. mulhwu generates the correct result when these operands
are interpreted as unsigned quantities.
Architecture Note
This instruction is part of the PowerPC User Instruction Set Architecture.
mulhw RT, RA, RB Rc=0
mulhw. RT, RA, RB Rc=1
31 RT RA RB
75 Rc
0 6 11 16 21 22 31