[pypy-commit] pypy optresult: pfff
fijal
noreply at buildbot.pypy.org
Mon Jun 8 20:30:28 CEST 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: optresult
Changeset: r77963:513287d1c288
Date: 2015-06-08 20:30 +0200
http://bitbucket.org/pypy/pypy/changeset/513287d1c288/
Log: pfff
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
@@ -1074,6 +1074,7 @@
genop_int_neg = _unaryop("NEG")
genop_int_invert = _unaryop("NOT")
genop_int_add = _binaryop_or_lea("ADD", is_add=True)
+ genop_nursery_ptr_increment = _binaryop_or_lea('ADD', is_add=True)
genop_int_sub = _binaryop_or_lea("SUB", is_add=False)
genop_int_mul = _binaryop("IMUL")
genop_int_and = _binaryop("AND")
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
@@ -467,6 +467,8 @@
else:
self._consider_binop_symm(op)
+ consider_nursery_ptr_increment = consider_int_add
+
def consider_int_sub(self, op):
loc = self.loc(op.getarg(0))
y = op.getarg(1)
More information about the pypy-commit
mailing list