
Volume 3: Instruction Reference
3:213
pmpy
pmpy — Parallel Multiply
Format:
(
qp
) pmpy2.r
r
1
=
r
2
,
r
3
right_form
(
qp
) pmpy2.l
r
1
=
r
2
,
r
3
left_form
Description:
Two signed 16-bit data elements of GR
r
2
are multiplied by the corresponding two
signed 16-bit data elements of GR
r
3
as shown in
. The two 32-bit results
are placed in GR
r
1
.
Operation:
if (PR[
qp
]) {
check_target_register(
r
1
);
if (right_form) {
GR[
r
1
]{31:0} = sign_ext(GR[
r
2
]{15:0}, 16) *
sign_ext(GR[
r
3
]{15:0}, 16);
GR[
r
1
]{63:32} = sign_ext(GR[
r
2
]{47:32}, 16) *
sign_ext(GR[
r
3
]{47:32}, 16);
} else {
// left_form
GR[
r
1
]{31:0} = sign_ext(GR[
r
2
]{31:16}, 16) *
sign_ext(GR[
r
3
]{31:16}, 16);
GR[
r
1
]{63:32} = sign_ext(GR[
r
2
]{63:48}, 16) *
sign_ext(GR[
r
3
]{63:48}, 16);
}
GR[
r
1
].nat = GR[
r
2
].nat || GR[
r
3
].nat;
}
Interruptions:
Illegal Operation fault
Figure 2-36. Parallel Multiply Operation
GR r
2
:
GR r
1
:
GR r
3
:
*
*
pmpy2.r
GR r
2
:
GR r
1
:
GR r
3
:
*
*
pmpy2.l
Содержание 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: ......