[pypy-svn] pypy jit-longlong: Fix the encoding on 64-bit platforms. This is only to fix test_rx86_64_auto_encoding.py,
arigo
commits-noreply at bitbucket.org
Wed Jan 26 14:49:00 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch: jit-longlong
Changeset: r41348:6a3cdf971a3e
Date: 2011-01-26 14:48 +0100
http://bitbucket.org/pypy/pypy/changeset/6a3cdf971a3e/
Log: Fix the encoding on 64-bit platforms. This is only to fix
test_rx86_64_auto_encoding.py, because this instruction is never
actually emitted on x86-64.
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
@@ -551,7 +551,7 @@
MOVD_rx = xmminsn('\x66', rex_w, '\x0F\x7E', register(2, 8), register(1), '\xC0')
MOVD_xr = xmminsn('\x66', rex_w, '\x0F\x6E', register(1, 8), register(2), '\xC0')
- PMOVMSKB_rx = xmminsn('\x66', rex_w, '\x0F\xD7', register(1, 8), register(2), '\xC0')
+ PMOVMSKB_rx = xmminsn('\x66', rex_nw, '\x0F\xD7', register(1, 8), register(2), '\xC0')
# ------------------------------------------------------------
More information about the Pypy-commit
mailing list