Shift Left and Add Pointer Instructionshladdp4
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.
addp - Add Pointer 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
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
shladd - Shift Left and Add Instruction