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

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

Advertisement

fpmax — Floating-point Parallel Maximum
(
) fpmax.
Format:
qp
The paired single precision values in the significands of FR
Description:
operands with the larger value is returned in the significand of FR
If the value of high (low) FR
gets high (low) FR
If high (low) FR
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_right = fp_reg_read_hi(f
tmp_fr3 = tmp_left = fp_reg_read_hi(f
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_right = fp_reg_read_lo(f
tmp_fr3 = tmp_left = fp_reg_read_lo(f
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
}
Invalid Operation (V)
FP Exceptions:
Denormal/Unnormal Operand (D)
Software Assist (SWA) fault
Volume 3: Instruction Reference
=
,
sf f
f
f
1
2
3
is less than the value of high (low) FR
f
3
. Otherwise high (low) FR
f
2
or high (low) FR
f
2
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
gets high (low) FR
f
1
is a NaN, high (low) 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
fpmax
or FR
are compared. The
f
f
2
3
.
f
1
, high (low) FR
f
2
.
f
3
gets high (low) FR
f
f
1
63
(0x1003E) and the
3:56.
F8
f
1
.
3
3:109

Advertisement

Table of Contents
loading

This manual is also suitable for:

Itanium architecture 2.3

Table of Contents