[pypy-commit] pypy s390x-backend: load_imm might emit different code load 32 or 64 bit imm, added this case to the regex of test_compile_asmlen

plan_rich pypy.commits at gmail.com
Mon Jan 4 03:07:09 EST 2016


Author: Richard Plangger <planrichi at gmail.com>
Branch: s390x-backend
Changeset: r81534:b2147c0cc9f7
Date: 2016-01-04 08:47 +0100
http://bitbucket.org/pypy/pypy/changeset/b2147c0cc9f7/

Log:	load_imm might emit different code load 32 or 64 bit imm, added this
	case to the regex of test_compile_asmlen

diff --git a/rpython/jit/backend/zarch/test/test_runner.py b/rpython/jit/backend/zarch/test/test_runner.py
--- a/rpython/jit/backend/zarch/test/test_runner.py
+++ b/rpython/jit/backend/zarch/test/test_runner.py
@@ -25,5 +25,6 @@
         return cpu
 
     add_loop_instructions = "lg; lgr; larl; agr; cgfi; je; j;$"
+    # realloc frame takes the most space (from just after larl, to lay)
     bridge_loop_instructions = "larl; lg; cgfi; je; lghi; stg; " \
-                               "lay; lgfi; lgfi; basr; lay; lg; br;$"
+                               "lay; lgfi;( iihf;)? lgfi;( iihf;)? basr; lay; lg; br;$"


More information about the pypy-commit mailing list