AMCC Proprietary 279
Revision 1.02 - September 10, 2007
PPC405 Processor
mulhwu
Multiply High Word Unsigned
Preliminary User’s Manual
mulhwu
Multiply Hig h Word Unsigned
prod
0:63
← (RA) × (RB) unsigned
(RT)
← prod
0:31
The 64-bit unsigned product of registers RA and RB is formed. The most significant 32 bits of the result are 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. The mulhw instruction generates the correct
result when these operands are interpreted as signed quantities. The mulhwu instruction 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.
mulhwu RT, RA, RB Rc=0
mulhwu. RT, RA, RB Rc=1
31 RT RA RB
11 Rc
0 6 11 16 21 31