[pypy-commit] pypy stmgc-c7: simplify
arigo
noreply at buildbot.pypy.org
Sun Mar 23 13:42:47 CET 2014
Author: Armin Rigo <arigo at tunes.org>
Branch: stmgc-c7
Changeset: r70195:6cab230db021
Date: 2014-03-23 12:41 +0100
http://bitbucket.org/pypy/pypy/changeset/6cab230db021/
Log: simplify
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
@@ -885,7 +885,7 @@
assert rx86.fits_in_32bits(rst)
self.mc.SEGTL()
self.mc.MOV_rj(ebx.value, rst)
- self.mc.LEA_rm(ebx.value, (ebx.value, -WORD))
+ self.mc.SUB_ri(ebx.value, -WORD)
self.mc.MOV_rm(eax.value, (ebx.value, 0))
self.mc.SEGTL()
self.mc.MOV_jr(rst, ebx.value)
More information about the pypy-commit
mailing list