Itanium(R) processor topicShift Left and Add Pointer Instruction

shladdp4

Operation Font Conventions

Instruction Type M

Format

(qp) shladdp4 r1 = r2, count2, r3


Description

The first source operand is shifted to the left by count2 bits and then is added to the second source operand. The upper 32 bits of the result are forced to zero, and then bits {31:30} of GR r3 are copied to bits {62:61} of the result. This result is placed in GR r1. The first operand can be shifted by 1, 2, 3, or 4 bits.

Click to see an example of how the shift left and add pointer instruction works.


Related Topics:

add - Add Instruction

addp - Add Pointer Instruction

and - Logical AND Instruction

Bit Field and Shift Instructions

fadd - Floating-point Add Instruction

fetchadd - Fetch and Add Immediate Instruction

fma - Floating-point Multiply Add Instruction

fpma - Floating-point Parallel Multiply Add Instruction

fpnma - Floating-point Parallel Negative Multiply Add Instruction

Integer Multiply and Add (in FP Unit) Instructions

mov gr - Move General Register Instruction

mov imm - Move Immediate Instruction

Parallel Shift Instructions

padd - Parallel Add Instruction

pmpyshr - Parallel Multiply and Shift Right Instruction

psad1 - Parallel Sum of Absolute Difference Instruction

pshl - Parallel Shift Left Instruction

pshladd - Parallel Shift Left and Add Instruction

pshr - Parallel Shift Right Instruction

pshradd - Parallel Shift Right and Add Instruction

shl - Shift Left Instruction

shladd - Shift Left and Add Instruction

shr - Shift Right Instruction

shrp - Shift Right Pair Instruction

xma - Fixed-point Multiply Add Instruction