mulld

Multiply Low Doubleword

mulld RT,RA,RB
mulldo RT,RA,RB

Multiplies the contents of two registers and places the low-order 64 bits of the product into a target register.

Details

The 64-bit operands are (RA) and (RB). The low-order 64 bits of the 128-bit product of the operands are placed into register RT. Both operands and the product are interpreted as signed integers.

Pseudocode Operation

prod0:127 ← (RA) × (RB)
RT ← prod0:63
if OE=1 then
    OV and OV32 are set to 1 if the product cannot be represented in 64 bits.

Programming Note

The XO-form Multiply instructions may execute faster on some implementations if RB contains the operand having the smaller absolute value.

Example

mulld r3, r4, r5

Encoding

Binary Layout
31
0
RT
6
RA
30
RB
31
OE
233
Rc
 
Format XO-form
Opcode 0x7C0001D2
Extension Base
Registers Altered CR0, XER

Operands

  • RT
    Target
  • RA
    Src 1
  • RB
    Src 2