Itanium(R) processor topicAdd Pointer Instruction

addp4

Operation Font Conventions

Instruction Type A

Format

(qp) addp4 r1 = r2, r3 register_form

(qp) addp4 r1 = imm14, r3 imm14_form


Description

The two source operands are added. The upper 32 bits of the result are forced to zero, and then bits {31:30} of GR (general registers) r3 are copied to bits {62:61} of the result. This result is placed in GR r1. In the register_form the first operand is GR r2; in the imm14_form the first operand is taken from the sign extended imm14 encoding field.

Click to see an example of the operation of addp4.


Related Topics:

add - Add Instruction

and - Logical AND Instruction

andcm - And Complement Instruction

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

mov gr - Move General Register Instruction

mov imm - Move Immediate Instruction

padd - Parallel Add Instruction

psad1 - Parallel Sum of Absolute Difference Instruction

pshladd - Parallel Shift Left and Add Instruction

pshradd - Parallel Shift Right and Add Instruction

shladd - Shift Left and Add Instruction

shladdp - Shift Left and Add Pointer Instruction

xma - Fixed-point Multiply Add Instruction

Integer Multiply and Add (in FP Unit) Instructions