
3:246
Volume 3: Instruction Reference
shladdp4
shladdp4 — Shift Left and Add Pointer
Format:
(
qp
) shladdp4
r
1
=
r
2
,
count
2
,
r
3
Description:
The first source operand is shifted to the left by
count
2
bits and then is added to the
second source operand. 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
.
The first operand can be shifted by 1, 2, 3, or 4 bits.
Operation:
if (PR[
qp
]) {
check_target_register(
r
1
);
tmp_res = (GR[
r
2
] <<
count
2
) + 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 = GR[
r
2
].nat || GR[
r
3
].nat;
}
Interruptions:
Illegal Operation fault
Figure 2-43. Shift Left and Add Pointer
GR r
3
:
GR r
1
:
GR r
2
:
+
0
0
Содержание 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: ......