[pypy-commit] pypy default: Add the encoding for the instruction BTS.
arigo
noreply at buildbot.pypy.org
Sat Jul 23 23:24:34 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r45918:6d1d40c49f22
Date: 2011-07-23 18:41 +0200
http://bitbucket.org/pypy/pypy/changeset/6d1d40c49f22/
Log: Add the encoding for the instruction BTS.
diff --git a/pypy/jit/backend/x86/regloc.py b/pypy/jit/backend/x86/regloc.py
--- a/pypy/jit/backend/x86/regloc.py
+++ b/pypy/jit/backend/x86/regloc.py
@@ -483,6 +483,7 @@
SAR = _binaryop('SAR')
TEST = _binaryop('TEST')
TEST8 = _binaryop('TEST8')
+ BTS = _binaryop('BTS')
ADD = _binaryop('ADD')
SUB = _binaryop('SUB')
diff --git a/pypy/jit/backend/x86/rx86.py b/pypy/jit/backend/x86/rx86.py
--- a/pypy/jit/backend/x86/rx86.py
+++ b/pypy/jit/backend/x86/rx86.py
@@ -565,6 +565,9 @@
TEST8_ji = insn(rex_nw, '\xF6', orbyte(0<<3), abs_, immediate(1), immediate(2, 'b'))
TEST_rr = insn(rex_w, '\x85', register(2,8), register(1), '\xC0')
+ BTS_mr = insn(rex_w, '\x0F\xAB', register(2,8), mem_reg_plus_const(1))
+ BTS_jr = insn(rex_w, '\x0F\xAB', register(2,8), abs_, immediate(1))
+
# x87 instructions
FSTP_b = insn('\xDD', orbyte(3<<3), stack_bp(1))
More information about the pypy-commit
mailing list