Mulhw - IBM PPC440X5 CPU Core User Manual

Cpu core
Table of Contents

Advertisement

Preliminary

mulhw

Multiply High Word
mulhw
RT, RA, RB
mulhw.
RT, RA, RB
31
0
6
prod
(RA)
(RB) signed
0:63
(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] 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.
correct result when these operands are interpreted as signed quantities.
result when these operands are interpreted as unsigned quantities.
Invalid Instruction Forms
• Reserved fields
instrset.fm.
September 12, 2002
RT
RA
11
PPC440x5 CPU Core User's Manual
Rc=0
Rc=1
RB
16
21 22
mulhwu generates the correct
mulhw
Multiply High Word
75
Rc
31
mulhw generates the
Page 377 of 589

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents