Itanium(R) processor topicParallel Shift Left Instruction

pshl

Operation Font Conventions

Instruction Type I

Format

(qp) pshl2 r1 = r2, r3 two_byte_form, variable_form

(qp) pshl2 r1 = r2, count5 two_byte_form, fixed_form

(qp) pshl4 r1 = r2, r3 four_byte_form, variable_form

(qp) pshl4 r1 = r2, count5 four_byte_form, fixed_form


Description

The data elements of GR r2 are each independently shifted to the left by the scalar shift count in GR r3, or in the immediate field count5. The low-order bits of each element are filled with zeros. The shift count is interpreted as unsigned. Shift counts greater than 15 (for 16-bit quantities) or 31 (for 32-bit quantities) yield all zero results. The results are placed in GR r1.

Click to see examples of the two and four-byte forms of the parallel shift left instruction in one illustration.


Related Topics:

Bit Field and Shift Instructions

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

padd - Parallel Add Instruction

Parallel Arithmetic Instructions

Parallel Data Arrangement Instructions

Parallel Shift 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

pshladd - Parallel Shift Left and Add Instruction

pshradd - Parallel Shift Right and Add Instruction

psub - Parallel Subtract Instruction

shl - Shift Left Instruction

shladd - Shift Left and Add Instruction

shladdp - Shift Left and Add Pointer Instruction

shr - Shift Right Instruction

shrp - Shift Right Pair Instruction