Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r71276:3484aaa1e858
Date: 2014-05-05 12:52 +0200
http://bitbucket.org/pypy/pypy/changeset/3484aaa1e858/

Log:    Move this check earlier (random attempt to avoid SIGILL on very very
        old x86 machines)

diff --git a/rpython/translator/c/src/entrypoint.c 
b/rpython/translator/c/src/entrypoint.c
--- a/rpython/translator/c/src/entrypoint.c
+++ b/rpython/translator/c/src/entrypoint.c
@@ -35,9 +35,6 @@
     
pypy_g_rpython_rtyper_lltypesystem_rffi_StackCounter.sc_inst_stacks_counter++;
 #endif
     pypy_asm_stack_bottom();
-#ifdef PYPY_X86_CHECK_SSE2_DEFINED
-    pypy_x86_check_sse2();
-#endif
     instrument_setup();
 
 #ifndef MS_WINDOWS
@@ -83,6 +80,9 @@
 
 int PYPY_MAIN_FUNCTION(int argc, char *argv[])
 {
+#ifdef PYPY_X86_CHECK_SSE2_DEFINED
+    pypy_x86_check_sse2();
+#endif
     return pypy_main_function(argc, argv);
 }
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to