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

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

Advertisement

fpamin — Floating-point Parallel Absolute Minimum
(
) fpamin.
Format:
qp
The paired single precision values in the significands of FR
Description:
operands with the smaller absolute value is returned in the significand of FR
If the magnitude of high (low) FR
(low) FR
f
If high (low) FR
(low) FR
f
The exponent field of FR
sign field of FR
If either FR
This operation does not propagate NaNs the same way as other arithmetic
floating-point instructions. The Invalid Operation is signaled in the same manner as for
the fpcmp.lt operation.
The mnemonic values for sf are given in
Operation:
if (PR[qp]) {
fp_check_target_register(f
if (tmp_isrcode = fp_reg_disabled(f
disabled_fp_register_fault(tmp_isrcode, 0);
if (fp_is_natval(FR[f
FR[f
} else {
fpminmax_exception_fault_check(f
if (fp_raise_fault(tmp_fp_env))
tmp_fr2 = tmp_left = fp_reg_read_hi(f
tmp_fr3 = tmp_right = fp_reg_read_hi(f
tmp_left.sign = FP_SIGN_POSITIVE;
tmp_right.sign = FP_SIGN_POSITIVE;
tmp_bool_res = fp_less_than(tmp_left, tmp_right);
tmp_res_hi = fp_single(tmp_bool_res ? tmp_fr2: tmp_fr3);
tmp_fr2 = tmp_left = fp_reg_read_lo(f
tmp_fr3 = tmp_right = fp_reg_read_lo(f
tmp_left.sign = FP_SIGN_POSITIVE;
tmp_right.sign = FP_SIGN_POSITIVE;
tmp_bool_res = fp_less_than(tmp_left, tmp_right);
tmp_res_lo = fp_single(tmp_bool_res ? tmp_fr2: tmp_fr3);
FR[f
FR[f
FR[f
fp_update_fpsr(sf, tmp_fp_env);
}
fp_update_psr(f
}
Volume 3: Instruction Reference
=
,
sf f
f
f
1
2
3
gets high (low) FR
. Otherwise high (low) FR
f
1
2
or high (low) FR
f
2
gets high (low) FR
.
f
1
3
is set to the biased exponent for 2.0
f
1
is set to positive (0).
f
1
or FR
is NaTVal, FR
f
f
2
3
]) || fp_is_natval(FR[f
2
] = NATVAL;
1
fp_exception_fault(fp_decode_fault(tmp_fp_env));
].significand = fp_concatenate(tmp_res_hi, tmp_res_lo);
1
].exponent = FP_INTEGER_EXP;
1
].sign = FP_SIGN_POSITIVE;
1
);
1
is less than the magnitude of high (low) FR
f
2
is a NaN, and neither FR
f
3
is set to NaTVal instead of the computed result.
f
1
Table 2-23 on page
);
1
, f
, f
, 0))
1
2
3
])) {
3
, f
, sf, &tmp_fp_env);
2
3
);
2
);
3
);
2
);
3
fpamin
or FR
are compared. The
f
f
2
3
.
f
1
, high
f
3
gets high (low) FR
.
f
f
1
3
or FR
is a NaTVal, high
f
f
2
3
63
(0x1003E) and the
3:56.
F8
3:99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itanium architecture 2.3

Table of Contents