[pypy-commit] pypy vecopt: vector boxes in label and jump args are not correctly dispatched as xmm registers

plan_rich noreply at buildbot.pypy.org
Tue Jun 2 16:08:46 CEST 2015


Author: Richard Plangger <rich at pasra.at>
Branch: vecopt
Changeset: r77768:8ef2e618034c
Date: 2015-06-02 16:07 +0200
http://bitbucket.org/pypy/pypy/changeset/8ef2e618034c/

Log:	vector boxes in label and jump args are not correctly dispatched as
	xmm registers

diff --git a/rpython/jit/backend/x86/regalloc.py b/rpython/jit/backend/x86/regalloc.py
--- a/rpython/jit/backend/x86/regalloc.py
+++ b/rpython/jit/backend/x86/regalloc.py
@@ -1329,7 +1329,7 @@
             box = op.getarg(i)
             src_loc = self.loc(box)
             dst_loc = arglocs[i]
-            if box.type != FLOAT:
+            if box.type != FLOAT and box.type != VECTOR:
                 src_locations1.append(src_loc)
                 dst_locations1.append(dst_loc)
             else:


More information about the pypy-commit mailing list