Scaled Quadword Add by 4 (s4addq)

Syntax

s4addq $s_reg1, $s_reg2, $d_reg

s4addq $d_reg/$s_reg1, $s_reg2

s4addq $s_reg1, val_immed, $d_reg

s4addq $d_reg/$s_reg1, val_immed

Description

Scaled Quadword Add by 4 computes the sum of two signed 64-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.