Parallel Add Instructionpadd
Instruction Type A
Format
(qp) padd1 r1 = r2, r3 one_byte_form, modulo_form
(qp) padd1.sss r1 = r2, r3 one_byte_form, sss_saturation_form
(qp) padd1.uus r1 = r2, r3 one_byte_form, uus_saturation_form
(qp) padd1.uuu r1 = r2, r3 one_byte_form, uuu_saturation_form
(qp) padd2 r1 = r2, r3 two_byte_form, modulo_form
(qp) padd2.sss r1 = r2, r3 two_byte_form, sss_saturation_form
(qp) padd2.uus r1 = r2, r3 two_byte_form, uus_saturation_form
(qp) padd2.uuu r1 = r2, r3 two_byte_form, uuu_saturation_form
(qp) padd4 r1 = r2, r3 four_byte_form, modulo_form
Description
The sets of elements from the two source operands are added, and the results placed in GR r1.
If a sum of two elements cannot be represented in the result element and a saturation completer is specified, then saturation clipping is performed. The saturation can either be signed or unsigned, as the parallel add saturation completers table shows. If the sum of two elements is larger than the upper limit value, the result is the upper limit value. If it is smaller than the lower limit value, the result is the lower limit value. The parallel add saturation limits table shows the pack saturation limits.
addp - Add Pointer Instruction
andcm - And Complement 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
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
pshladd - Parallel Shift Left and Add 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