Intel ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3 Manual page 1095

Hide thumbs Also See for ITANIUM ARCHITECTURE - SOFTWARE DEVELOPERS MANUAL VOLUME 1 REV 2.3:
Table of Contents

Advertisement

pack
Operation:
if (PR[qp]) {
check_target_register(r
if (two_byte_form) {
if (signed_saturation_form) {
} else {
}
temp[0] = sign_ext(GR[r
temp[1] = sign_ext(GR[r
temp[2] = sign_ext(GR[r
temp[3] = sign_ext(GR[r
temp[4] = sign_ext(GR[r
temp[5] = sign_ext(GR[r
temp[6] = sign_ext(GR[r
temp[7] = sign_ext(GR[r
for (i = 0; i < 8; i++) {
}
GR[r
} else {
max = sign_ext(0x7fff, 16);
min = sign_ext(0x8000, 16);
temp[0] = sign_ext(GR[r
temp[1] = sign_ext(GR[r
temp[2] = sign_ext(GR[r
temp[3] = sign_ext(GR[r
for (i = 0; i < 4; i++) {
}
GR[r
}
GR[r
].nat = GR[r
1
}
Illegal Operation fault
Interruptions:
3:196
);
1
max = sign_ext(0x7f, 8);
min = sign_ext(0x80, 8);
max = 0xff;
min = 0x00;
]{15:0},
2
]{31:16}, 16);
2
]{47:32}, 16);
2
]{63:48}, 16);
2
]{15:0},
3
]{31:16}, 16);
3
]{47:32}, 16);
3
]{63:48}, 16);
3
if (temp[i] > max)
temp[i] = max;
if (temp[i] < min)
temp[i] = min;
] = concatenate8(temp[7], temp[6], temp[5], temp[4],
1
temp[3], temp[2], temp[1], temp[0]);
]{31:0},
2
]{63:32}, 32);
2
]{31:0},
3
]{63:32}, 32);
3
if (temp[i] > max)
temp[i] = max;
if (temp[i] < min)
temp[i] = min;
] = concatenate4(temp[3], temp[2], temp[1], temp[0]);
1
].nat || GR[r
2
// unsigned_saturation_form
16);
16);
// four_byte_form
// signed_saturation_form
32);
32);
].nat;
3
Volume 3: Instruction Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itanium architecture 2.3

Table of Contents