Author: David Schneider <[email protected]>
Branch:
Changeset: r62890:c9fdb143f15e
Date: 2013-03-30 13:26 +0100
http://bitbucket.org/pypy/pypy/changeset/c9fdb143f15e/
Log: fix test_compile_asmlen for armv6 too
diff --git a/rpython/jit/backend/arm/test/test_runner.py
b/rpython/jit/backend/arm/test/test_runner.py
--- a/rpython/jit/backend/arm/test/test_runner.py
+++ b/rpython/jit/backend/arm/test/test_runner.py
@@ -27,6 +27,19 @@
bridge_loop_instructions = ['ldr', 'mov', 'nop', 'cmp', 'bge',
'push', 'mov', 'mov', 'push', 'mov', 'mov',
'blx', 'mov', 'mov', 'bx']
+ if CPU.backend_name.startswith('armv7'):
+ bridge_loop_instructions = ['ldr', 'mov', 'nop', 'cmp', 'bge',
+ 'push', 'mov', 'mov', 'push', 'mov', 'mov',
+ 'blx', 'mov', 'mov', 'bx']
+ else:
+ bridge_loop_instructions = ['ldr', 'mov', 'nop', 'nop', 'nop', 'cmp',
'bge',
+ 'push', 'ldr', 'mov',
+ '', # inline constant
+ 'push', 'ldr', 'mov',
+ 'ldrsblt', #inline constant (decodes as
instruction)
+ 'blx', 'ldr', 'mov',
+ '', # inline constant
+ 'bx']
def get_cpu(self):
cpu = CPU(rtyper=None, stats=FakeStats())
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit