Itanium(R) processor topicParallel Sum of Absolute Difference Instruction

psad1

Operation Font Conventions

Instruction Type I

Format

(qp) psad1 r1 = r2, r3


Description

The unsigned 8-bit elements of GR r2 are subtracted from the unsigned 8-bit elements of GR r3. The absolute value of each difference is accumulated across the elements and placed in GR r1.

Click to see an example of how the parallel sum of absolute difference instruction works.


Related Topics:

add - Add Instruction

addp - Add Pointer Instruction

and - Logical AND Instruction

andcm - And Complement Instruction

fabs - Floating-point Absolute Value Instruction

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

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

pshl - Parallel Shift Left Instruction

pshladd - Parallel Shift Left and Add Instruction

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

xma - Fixed-point Multiply Add Instruction