4.4.2 Scaled Longword Add

Format:

SxADDL

Ra.rl,Rb.rq,Rc.wq

!Operate format

SxADDL

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

!Operate format

Operation:

CASE

S4ADDL: Rc SEXT (((LEFT_SHIFT(Rav,2)) + Rbv)<31:0>)

S8ADDL: Rc SEXT (((LEFT_SHIFT(Rav,3)) + Rbv)<31:0>)

ENDCASE

Exceptions:

 

None

 

Instruction mnemonics:

 

S4ADDL

Scaled Add Longword by 4

S8ADDL

Scaled Add Longword by 8

Qualifiers:

 

None

 

Description:

Register Ra is scaled by 4 (for S4ADDL) or 8 (for S8ADDL) and is added to register Rb or a literal, and the sign-extended 32-bit sum is written to Rc.

The high 32 bits of Ra and Rb are ignored. Rc is a proper sign extension of the truncated 32-bit sum.

4–26Alpha Architecture Handbook

Page 82
Image 82
Compaq ECQD2KCTE manual Scaled Longword Add, S4ADDL, S8ADDL