unbreak some 32-bit x86 builds
This commit is contained in:
parent
020c75792c
commit
f8e5526b28
|
@ -260,14 +260,14 @@ READ_ONLY Scheme_Object *scheme_zerol, *scheme_nzerol, *scheme_long_pi,
|
||||||
Make x87 computations double-precision instead of
|
Make x87 computations double-precision instead of
|
||||||
extended-precision, so that if/when the JIT generates
|
extended-precision, so that if/when the JIT generates
|
||||||
x87 instructions, it's consistent with everything else. */
|
x87 instructions, it's consistent with everything else. */
|
||||||
static void to_double_prec(void)
|
XFORM_NONGCING static void to_double_prec(void)
|
||||||
{
|
{
|
||||||
int _dblprec = 0x27F;
|
int _dblprec = 0x27F;
|
||||||
asm ("fldcw %0" : : "m" (_dblprec));
|
asm ("fldcw %0" : : "m" (_dblprec));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#if defined(ASM_DBLPREC_CONTROL_87) || defined(ASM_EXTPREC_CONTROL_87)
|
#if defined(ASM_DBLPREC_CONTROL_87) || defined(ASM_EXTPREC_CONTROL_87)
|
||||||
static void to_extended_prec(void)
|
XFORM_NONGCING static void to_extended_prec(void)
|
||||||
{
|
{
|
||||||
int _extprec = 0x37F;
|
int _extprec = 0x37F;
|
||||||
asm ("fldcw %0" : : "m" (_extprec));
|
asm ("fldcw %0" : : "m" (_extprec));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user