fix SSE detection to detect SSE2
SSE isn't enough, because the JIT needs SSE2
This commit is contained in:
parent
29b1ac70df
commit
be1a63cf50
|
@ -63,8 +63,8 @@
|
||||||
# define MZ_USE_SINGLE_FLOATS
|
# define MZ_USE_SINGLE_FLOATS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* gcc defines __SSE_MATH__ when SSE floating point is enabled: */
|
/* gcc defines __SSE2_MATH__ when SSE2 floating point is enabled: */
|
||||||
#ifdef __SSE_MATH__
|
#ifdef __SSE2_MATH__
|
||||||
# define C_COMPILER_USES_SSE 1
|
# define C_COMPILER_USES_SSE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -1311,9 +1311,9 @@
|
||||||
converts (a == a) to TRUE, even if `a' is floating-point. Used
|
converts (a == a) to TRUE, even if `a' is floating-point. Used
|
||||||
only when USE_[SCO_]IEEE_FP_PREDS is not defined. */
|
only when USE_[SCO_]IEEE_FP_PREDS is not defined. */
|
||||||
|
|
||||||
/* C_COMPILER_USES_SSE indicates that the C compiler generates SSE
|
/* C_COMPILER_USES_SSE indicates that the C compiler generates SSE2
|
||||||
instructions for `double' arithmetic. This flag is turned on
|
instructions for `double' arithmetic. This flag is turned on
|
||||||
automatically if __SSE_MATH__ is defined (usually by gcc). */
|
automatically if __SSE2_MATH__ is defined (usually by gcc). */
|
||||||
|
|
||||||
/* MZ_LONG_DOUBLE enables extflonum support. */
|
/* MZ_LONG_DOUBLE enables extflonum support. */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user