Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r80610:0b8ce582d79f
Date: 2015-11-09 13:28 +0100
http://bitbucket.org/pypy/pypy/changeset/0b8ce582d79f/

Log:    small performance

diff --git a/rpython/jit/backend/x86/assembler.py 
b/rpython/jit/backend/x86/assembler.py
--- a/rpython/jit/backend/x86/assembler.py
+++ b/rpython/jit/backend/x86/assembler.py
@@ -1079,9 +1079,9 @@
         if result_loc is ebp:
             self.guard_success_cc = cond
         else:
+            self.mc.MOV_ri(result_loc.value, 0)
             rl = result_loc.lowest8bits()
             self.mc.SET_ir(cond, rl.value)
-            self.mc.MOVZX8_rr(result_loc.value, rl.value)
 
     def _cmpop(cond, rev_cond):
         cond = rx86.Conditions[cond]
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to