Parallel Shift Left and Add Instructionpshladd
Instruction Type A
Format
(qp) pshladd2 r1 = r2, count2, r3
Description
The four signed 16-bit data elements of GR r2 are each independently shifted to the left by count2 bits (shifting zeros into the low-order bits), and added to the four signed 16-bit data elements of GR r3. Both the left shift and the add operations are saturating: if the result of either the shift or the add is not representable as a signed 16-bit value, the final result is saturated. The four signed 16-bit results are placed in GR r1. The first operand can be shifted by 1, 2 or 3 bits.
addp - Add Pointer Instruction
andcm - And Complement Instruction
Bit Field and Shift Instructions
fadd - Floating-point Add Instruction
fetchadd - Fetch and Add Immediate Instruction
fma - Floating-point Multiply Add Instruction
fpabs - Floating-point Parallel Absolute Value Instruction
fpamax - Floating-point Parallel Absolute Value Maximum Instruction
fpamin - Floating-point Parallel Absolute Value Minimum Instruction
fpcmp - Floating-point Parallel Compare Instruction
fpcvt.fx - Convert Parallel Floating-point to Integer Instruction
fpma - Floating-point Parallel Multiply Add Instruction
fpmax - Floating-point Parallel Maximum Instruction
fpmerge - Floating-point Parallel Merge Instructions
fpmin - Floating-point Parallel Minimum Instruction
fpmpy - Floating-point Parallel Multiply Instruction
fpms - Floating-point Parallel Multiply Subtract Instruction
fpneg - Floating-point Parallel Negate Instruction
fpnegabs - Floating-point Parallel Negate Absolute Value Instruction
fpnma - Floating-point Parallel Negative Multiply Add Instruction
fpnmpy - Floating-point Parallel Negative Multiply Instruction
fprcpa - Floating-point Parallel Reciprocal Approximation Instruction
fprsqrta - Floating-point Parallel Reciprocal Square Root Approximation Instruction
Integer Multiply and Add (in FP Unit) Instructions
mov gr - Move General Register Instruction
mov imm - Move Immediate Instruction
padd - Parallel Add Instruction
Parallel Arithmetic Instructions
Parallel Data Arrangement Instructions
pavg - Parallel Average Instruction
pavgsub - Parallel Average Subtract Instruction
pcmp - Parallel Compare Instruction
pmax - Parallel Maximum Instruction
pmin - Parallel Minimum Instruction
pmpy - Parallel Multiply Instruction
pmpyshr - Parallel Multiply and Shift Right Instruction
psad1 - Parallel Sum of Absolute Difference Instruction
pshl - Parallel Shift Left Instruction
pshradd - Parallel Shift Right and Add Instruction
psub - Parallel Subtract Instruction
shladd - Shift Left and Add Instruction
shladdp - Shift Left and Add Pointer Instruction