[pypy-commit] pypy s390x-backend: adapted values unpacked from the gcmap for the s390x case

plan_rich pypy.commits at gmail.com
Mon Jan 11 04:40:31 EST 2016


Author: Richard Plangger <planrichi at gmail.com>
Branch: s390x-backend
Changeset: r81665:c7594062a728
Date: 2016-01-11 10:39 +0100
http://bitbucket.org/pypy/pypy/changeset/c7594062a728/

Log:	adapted values unpacked from the gcmap for the s390x case

diff --git a/rpython/jit/backend/llsupport/test/test_gc_integration.py b/rpython/jit/backend/llsupport/test/test_gc_integration.py
--- a/rpython/jit/backend/llsupport/test/test_gc_integration.py
+++ b/rpython/jit/backend/llsupport/test/test_gc_integration.py
@@ -92,7 +92,7 @@
         elif self.cpu.backend_name.startswith('ppc64'):
             assert nos == [0, 1, 33]
         elif self.cpu.backend_name.startswith('zarch'):
-            assert nos == [0, 1, 35]
+            assert nos == [2, 3, 35]
         else:
             raise Exception("write the data here")
         assert frame.jf_frame[nos[0]]
@@ -647,11 +647,12 @@
             gcmap = unpack_gcmap(frame)
             if self.cpu.backend_name.startswith('ppc64'):
                 assert gcmap == [30, 31, 32]
+            elif self.cpu.backend_name.startswith('zarch'):
+                assert gcmap == [32, 33, 34]
             elif self.cpu.IS_64_BIT:
                 assert gcmap == [28, 29, 30]
             elif self.cpu.backend_name.startswith('arm'):
                 assert gcmap == [44, 45, 46]
-                pass
             else:
                 assert gcmap == [22, 23, 24]
             for item, s in zip(gcmap, new_items):


More information about the pypy-commit mailing list