fix SSE detection to detect SSE2

SSE isn't enough, because the JIT needs SSE2
This commit is contained in:
Matthew Flatt 2015-04-10 14:03:44 -06:00
parent 29b1ac70df
commit be1a63cf50
2 changed files with 4 additions and 4 deletions

View File

@ -63,8 +63,8 @@
# define MZ_USE_SINGLE_FLOATS
#endif
/* gcc defines __SSE_MATH__ when SSE floating point is enabled: */
#ifdef __SSE_MATH__
/* gcc defines __SSE2_MATH__ when SSE2 floating point is enabled: */
#ifdef __SSE2_MATH__
# define C_COMPILER_USES_SSE 1
#endif

View File

@ -1311,9 +1311,9 @@
converts (a == a) to TRUE, even if `a' is floating-point. Used
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
automatically if __SSE_MATH__ is defined (usually by gcc). */
automatically if __SSE2_MATH__ is defined (usually by gcc). */
/* MZ_LONG_DOUBLE enables extflonum support. */