Scaled Longword Add by 4 (s4addl)

Syntax

s4addl $s_reg1, $s_reg2, $d_reg

s4addl $d_reg/$s_reg1, $s_reg2

s4addl $s_reg1, val_immed, $d_reg

s4addl $d_reg/$s_reg1, val_immed

Description

Scaled Longword Add by 4 computes the sum of two signed 32-bit values. This instruction scales (multiplies) the contents of $s_reg1 by 4 and then adds the contents of $s_reg2 or the immediate value. The result is stored in the destination register. Overflow exceptions never occur.