[pypy-commit] pypy default: This test fails on x86-64 if we allow for more than 8 arguments
arigo
noreply at buildbot.pypy.org
Tue Aug 21 19:02:19 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r56776:45f7a1d76038
Date: 2012-08-21 19:02 +0200
http://bitbucket.org/pypy/pypy/changeset/45f7a1d76038/
Log: This test fails on x86-64 if we allow for more than 8 arguments
(after which the xmm registers are depleted).
diff --git a/pypy/jit/backend/test/calling_convention_test.py b/pypy/jit/backend/test/calling_convention_test.py
--- a/pypy/jit/backend/test/calling_convention_test.py
+++ b/pypy/jit/backend/test/calling_convention_test.py
@@ -310,9 +310,9 @@
F = lltype.Float
S = lltype.SingleFloat
I = lltype.Signed
- floats = [random.random() - 0.5 for i in range(8)]
- singlefloats = [r_singlefloat(random.random() - 0.5) for i in range(8)]
- ints = [random.randrange(-99, 99) for i in range(8)]
+ floats = [random.random() - 0.5 for i in range(20)]
+ singlefloats = [r_singlefloat(random.random() - 0.5) for i in range(20)]
+ ints = [random.randrange(-99, 99) for i in range(20)]
for repeat in range(100):
args = []
argvalues = []
@@ -320,7 +320,7 @@
local_floats = list(floats)
local_singlefloats = list(singlefloats)
local_ints = list(ints)
- for i in range(8):
+ for i in range(random.randrange(4, 20)):
case = random.randrange(0, 3)
if case == 0:
args.append(F)
More information about the pypy-commit
mailing list