[pypy-commit] pypy ppc-vsx-support: not_implemented takes only one argument, remove pxor(result, result) which contained valid data

plan_rich pypy.commits at gmail.com
Mon Sep 5 07:51:15 EDT 2016


Author: Richard Plangger <planrichi at gmail.com>
Branch: ppc-vsx-support
Changeset: r86878:179c6a65d492
Date: 2016-09-05 13:50 +0200
http://bitbucket.org/pypy/pypy/changeset/179c6a65d492/

Log:	not_implemented takes only one argument, remove pxor(result,result)
	which contained valid data

diff --git a/rpython/jit/backend/x86/vector_ext.py b/rpython/jit/backend/x86/vector_ext.py
--- a/rpython/jit/backend/x86/vector_ext.py
+++ b/rpython/jit/backend/x86/vector_ext.py
@@ -322,8 +322,7 @@
             assert lhsloc is xmm0
             maskloc = X86_64_XMM_SCRATCH_REG
             self.mc.MOVAPD(maskloc, heap(self.element_ones[get_scale(size)]))
-            self.mc.PXOR(resloc, resloc)
-            # note that xmm0 contains true false for each element by the last compare operation
+            # note that resloc contains true false for each element by the last compare operation
             self.mc.PBLENDVB_xx(resloc.value, maskloc.value)
 
     def genop_vec_float_ne(self, op, arglocs, resloc):
@@ -532,7 +531,7 @@
                             self.mc.UNPCKHPD(resloc, srcloc)
                         # if they are equal nothing is to be done
         else:
-            not_implemented("pack/unpack for size %d", size)
+            not_implemented("pack/unpack for size %d" % size)
 
     genop_vec_unpack_f = genop_vec_pack_f
 


More information about the pypy-commit mailing list