Disable SSE2 JIT optimizations in x86 CPUs when SSE2 is not available.
This commit is contained in:
parent
e85de98d0a
commit
590bc16842
|
@ -146,6 +146,9 @@ it appears to work fine on Linux.
|
|||
source directory wasn't in the search path for AC_TRY_COMPILE always. Patch
|
||||
from Ross Burton.
|
||||
|
||||
36. Disable SSE2 JIT optimizations in x86 CPUs when SSE2 is not available.
|
||||
Patch by Guillem Jover.
|
||||
|
||||
|
||||
Version 10.32 10-September-2018
|
||||
-------------------------------
|
||||
|
|
|
@ -6268,7 +6268,7 @@ for (i = 0; i < max; i++)
|
|||
}
|
||||
|
||||
#if (defined SLJIT_CONFIG_X86 && SLJIT_CONFIG_X86) && !(defined SUPPORT_VALGRIND) && !(defined _WIN64)
|
||||
if (check_fast_forward_char_pair_sse2(common, chars, max))
|
||||
if (sljit_has_cpu_feature(SLJIT_HAS_SSE2) && check_fast_forward_char_pair_sse2(common, chars, max))
|
||||
return TRUE;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue