4.4.4 Scaled Quadword Add

Format:

SxADDQ

Ra.rq,Rb.rq,Rc.wq

!Operate format

SxADDQ

Ra.rq,#b.ib,Rc.wq

!Operate format

Operation:

CASE

S4ADDQ: Rc LEFT_SHIFT(Rav,2) + Rbv

S8ADDQ: Rc LEFT_SHIFT(Rav,3) + Rbv

ENDCASE

Exceptions:

 

None

 

Instruction mnemonics:

 

S4ADDQ

Scaled Add Quadword by 4

S8ADDQ

Scaled Add Quadword by 8

Qualifiers:

 

None

 

Description:

Register Ra is scaled by 4 (for S4ADDQ) or 8 (for S8ADDQ) and is added to register Rb or a literal, and the 64-bit sum is written to Rc.

On overflow, the least significant 64 bits of the true result are written to the destination register.

4–28Alpha Architecture Handbook

Page 84
Image 84
Compaq ECQD2KCTE manual Scaled Quadword Add, S4ADDQ, S8ADDQ