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.

Details

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.

Pseudocode 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.

Example

mulli r3, r4, 16

Encoding

Binary Layout
0
0
RT
6
RA
11
SI
16
 
Format D-form
Opcode 0x1C000000
Extension Base

Operands

  • RT
    Target General Purpose Register
  • RA
    Source General Purpose Register
  • SI
    16-bit Immediate Value