Volume 3: Instruction Reference
3:243
setf
Operation:
if (PR[
qp
]) {
fp_check_target_register(
f
1
);
if (tmp_isrcode = fp_reg_disabled(
f
1
, 0, 0, 0))
disabled_fp_register_fault(tmp_isrcode, 0);
if (!GR[
r
2
].nat) {
if (single_form)
FR[
f
1
] = fp_mem_to_fr_format(GR[
r
2
], 4, 0);
else if (double_form)
FR[
f
1
] = fp_mem_to_fr_format(GR[
r
2
], 8, 0);
else if (significand_form) {
FR[
f
1
].significand = GR[
r
2
];
FR[
f
1
].exponent = FP_INTEGER_EXP;
FR[
f
1
].sign = 0;
} else {
// exponent_form
FR[f1].significand = 0x8000000000000000;
FR[f1].exp = GR[r2]{16:0};
FR[f1].sign = GR[r2]{17};
}
} else
FR[
f
1
] = NATVAL;
fp_update_psr(
f
1
);
}
Interruptions:
Illegal Operation fault
Disabled Floating-point Register fault
Summary of Contents for Itanium 9150M
Page 1: ......
Page 209: ...3 200 Volume 3 Instruction Reference padd Interruptions Illegal Operation fault...
Page 405: ...3 396 Volume 3 Resource and Dependency Semantics...
Page 406: ...3 397 Intel Itanium Architecture Software Developer s Manual Rev 2 3 Index...
Page 407: ...3 398 Intel Itanium Architecture Software Developer s Manual Rev 2 3...
Page 419: ...INDEX Index 12 Index for Volumes 1 2 3 and 4...
Page 420: ......