mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-20 00:29:56 +00:00
workaround a compiler bug on SPARC (Milan)
This commit is contained in:
parent
ccdec0782b
commit
04167990a6
@ -180,7 +180,7 @@ PRIVATE inline fpu_register FFPU make_single(uae_u32 value)
|
|||||||
#if 1
|
#if 1
|
||||||
// Use a single, otherwise some checks for NaN, Inf, Zero would have to
|
// Use a single, otherwise some checks for NaN, Inf, Zero would have to
|
||||||
// be performed
|
// be performed
|
||||||
fpu_single result;
|
fpu_single result = 0; // = 0 to workaround a compiler bug on SPARC
|
||||||
fp_declare_init_shape(srp, result, single);
|
fp_declare_init_shape(srp, result, single);
|
||||||
srp->ieee.negative = (value >> 31) & 1;
|
srp->ieee.negative = (value >> 31) & 1;
|
||||||
srp->ieee.exponent = (value >> 23) & FP_SINGLE_EXP_MAX;
|
srp->ieee.exponent = (value >> 23) & FP_SINGLE_EXP_MAX;
|
||||||
|
Loading…
Reference in New Issue
Block a user