3:272
Volume 3: Instruction Reference
unpack
Operation:
if (PR[
qp
]) {
check_target_register(
r
1
);
if (one_byte_form) {
// one-byte elements
x[0] = GR[
r
2
]{7:0};
y[0] = GR[
r
3
]{7:0};
x[1] = GR[
r
2
]{15:8};
y[1] = GR[
r
3
]{15:8};
x[2] = GR[
r
2
]{23:16};
y[2] = GR[
r
3
]{23:16};
x[3] = GR[
r
2
]{31:24};
y[3] = GR[
r
3
]{31:24};
x[4] = GR[
r
2
]{39:32};
y[4] = GR[
r
3
]{39:32};
x[5] = GR[
r
2
]{47:40};
y[5] = GR[
r
3
]{47:40};
x[6] = GR[
r
2
]{55:48};
y[6] = GR[
r
3
]{55:48};
x[7] = GR[
r
2
]{63:56};
y[7] = GR[
r
3
]{63:56};
if (high_form)
GR[
r
1
] = concatenate8(
x[7], y[7], x[6], y[6],
x[5], y[5], x[4], y[4]);
else // low_form
GR[
r
1
] = concatenate8(
x[3], y[3], x[2], y[2],
x[1], y[1], x[0], y[0]);
} else if (two_byte_form) {
// two-byte elements
x[0] = GR[
r
2
]{15:0};
y[0] = GR[
r
3
]{15:0};
x[1] = GR[
r
2
]{31:16};
y[1] = GR[
r
3
]{31:16};
x[2] = GR[
r
2
]{47:32};
y[2] = GR[
r
3
]{47:32};
x[3] = GR[
r
2
]{63:48};
y[3] = GR[
r
3
]{63:48};
if (high_form)
GR[
r
1
] = concatenate4(x[3], y[3], x[2], y[2]);
else // low_form
GR[
r
1
] = concatenate4(x[1], y[1], x[0], y[0]);
} else {
// four-byte elements
x[0] = GR[
r
2
]{31:0};
y[0] = GR[
r
3
]{31:0};
x[1] = GR[
r
2
]{63:32};
y[1] = GR[
r
3
]{63:32};
if (high_form)
GR[
r
1
] = concatenate2(x[1], y[1]);
else // low_form
GR[
r
1
] = concatenate2(x[0], y[0]);
}
GR[
r
1
].nat = GR[
r
2
].nat || GR[
r
3
].nat;
}
Interruptions:
Illegal Operation fault
Содержание 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: ......