Author: Matti Picus <matti.pi...@gmail.com>
Branch: 
Changeset: r96154:5d31ca57807b
Date: 2019-02-25 09:19 +0200
http://bitbucket.org/pypy/pypy/changeset/5d31ca57807b/

Log:    skip vectorize tests on 32 bit

diff --git a/pypy/module/pypyjit/test_pypy_c/test_micronumpy.py 
b/pypy/module/pypyjit/test_pypy_c/test_micronumpy.py
--- a/pypy/module/pypyjit/test_pypy_c/test_micronumpy.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_micronumpy.py
@@ -1,12 +1,14 @@
 import py
 import sys
+import platform
 from pypy.module.pypyjit.test_pypy_c.test_00_model import BaseTestPyPyC
 from rpython.rlib.rawstorage import misaligned_is_fine
 
 def no_vector_backend():
-    import platform
     if platform.machine().startswith('x86'):
         from rpython.jit.backend.x86.detect_feature import detect_sse4_2
+        if sys.maxsize < 2**31:
+            return True    
         return not detect_sse4_2()
     if platform.machine().startswith('ppc'):
         from rpython.jit.backend.ppc.detect_feature import detect_vsx
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to