[pypy-svn] pypy default: fix the test on 32bit, where we get slightly different code
antocuni
commits-noreply at bitbucket.org
Fri Mar 18 14:22:56 CET 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch:
Changeset: r42788:927529207222
Date: 2011-03-18 14:22 +0100
http://bitbucket.org/pypy/pypy/changeset/927529207222/
Log: fix the test on 32bit, where we get slightly different code
diff --git a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
--- a/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
+++ b/pypy/module/pypyjit/test_pypy_c/test_pypy_c_new.py
@@ -965,7 +965,7 @@
guard_true(i12, descr=<Guard3>)
i13 = int_lt(i7, i9)
guard_true(i13, descr=<Guard4>)
- i15 = getarrayitem_raw(i10, i7, descr=<INTArrayNoLengthDescr>)
+ i15 = getarrayitem_raw(i10, i7, descr=<.*ArrayNoLengthDescr>)
i16 = int_add_ovf(i8, i15)
guard_no_overflow(descr=<Guard5>)
i18 = int_add(i7, 1)
@@ -993,20 +993,20 @@
guard_true(i15, descr=<Guard3>)
i16 = int_lt(i8, i10)
guard_true(i16, descr=<Guard4>)
- i18 = getarrayitem_raw(i11, i8, descr=<INTArrayNoLengthDescr>)
+ i18 = getarrayitem_raw(i11, i8, descr=<.*ArrayNoLengthDescr>)
i19 = int_add_ovf(i9, i18)
guard_no_overflow(descr=<Guard5>)
i21 = int_sub(i8, 640)
i22 = int_lt(i21, i12)
guard_true(i22, descr=<Guard6>)
- i23 = getarrayitem_raw(i13, i21, descr=<INTArrayNoLengthDescr>)
+ i23 = getarrayitem_raw(i13, i21, descr=<.*ArrayNoLengthDescr>)
i24 = int_add_ovf(i23, i19)
guard_no_overflow(descr=<Guard7>)
i25 = int_lt(i8, i12)
guard_true(i25, descr=<Guard8>)
# on 64bit, there is a guard checking that i24 actually fits into 32bit
...
- setarrayitem_raw(i13, i8, i30, descr=<INTArrayNoLengthDescr>)
+ setarrayitem_raw(i13, i8, _, descr=<.*ArrayNoLengthDescr>)
i33 = int_add(i8, 1)
--TICK--
jump(p0, p1, p2, p3, p4, p5, p6, p7, i33, i19, i10, i11, i12, i13, descr=<Loop0>)
More information about the Pypy-commit
mailing list