mulli
Multiply Low Immediate
mulli RT,RA,SI
Multiplies the contents of a register by an immediate value and places the low-order 32 bits of the product into another register.
Encoding
Binary Layout
0
0:5
RT
6:10
RA
11:15
SI
16:31
Operands
-
RT
Target General Purpose Register -
RA
Source General Purpose Register -
SI
16-bit Immediate Value
Example
mulli r3, r4, 16
Related
More in Base
Reference
View in PowerISA v3.1C Specification ↗
OPF Power ISA v3.1C
Description
The 64-bit first operand is (RA). The 64-bit second operand is the sign-extended value of the SI field. The low-order 32 bits of the 128-bit product of the operands are placed into register RT.
Operation
prod0:127 ← (RA) × EXTS(SI)
RT ← prod64:127
Programming Note
For mulli and mullw, the low-order 32 bits of the product are the correct 32-bit product for 32-bit mode.