Volume 3: Instruction Reference
3:15
addp4
addp4 — Add Pointer
Format:
(
qp
) addp4
r
1
=
r
2
,
r
3
register_form
(
qp
) addp4
r
1
=
imm
14
,
r
3
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
r
3
are copied to bits {62:61} of the result. This result is
placed in GR
r
1
. In the register_form the first operand is GR
r
2
; in the imm14_form the
first operand is taken from the sign-extended
imm
14
encoding field.
Operation:
if (PR[
qp
]) {
check_target_register(
r
1
);
tmp_src = (register_form ? GR[
r
2
] : sign_ext(
imm
14
, 14));
tmp_nat = (register_form ? GR[
r
2
].nat : 0);
tmp_res = t GR[
r
3
];
tmp_res = zero_ext(tmp_res{31:0}, 32);
tmp_res{62:61} = GR[
r
3
]{31:30};
GR[
r
1
] = tmp_res;
GR[
r
1
].nat = tmp_nat || GR[
r
3
].nat;
}
Interruptions:
Illegal Operation fault
Figure 2-1.
Add Pointer
GR r
3
:
GR r
1
:
GR r
2
:
+
0
0
0
32 30
63
0
32
0
32
61
Содержание Itanium 9150M
Страница 1: ......
Страница 209: ...3 200 Volume 3 Instruction Reference padd Interruptions Illegal Operation fault...
Страница 301: ...3 292 Volume 3 Pseudo Code Functions Intel Itanium Architecture Software Developer s Manual Rev 2 3...
Страница 405: ...3 396 Volume 3 Resource and Dependency Semantics...
Страница 406: ...3 397 Intel Itanium Architecture Software Developer s Manual Rev 2 3 Index...
Страница 407: ...3 398 Intel Itanium Architecture Software Developer s Manual Rev 2 3...
Страница 419: ...INDEX Index 12 Index for Volumes 1 2 3 and 4...
Страница 420: ......