This is mostly Aurelien's patch series, with a few tweaks:
In patch 3, rename P_EXT2 to P_EXT38, as I thing that's less
arbitrary for the 0x0f 0x38 prefix.
In patch 4, use a "movop" local variable to reduce code duplication.
Tested with ppc64 and sparc images on a Haswell host.
r~
The following changes since commit 0169c511554cb0014a00290b0d3d26c31a49818f:
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (2014-01-24
15:52:44 -0800)
are available in the git repository at:
git://github.com/rth7680/qemu.git tcg-movbe
for you to fetch changes up to 2d23d5edb5b23849c668dd729e4da7b2c63b163b:
tcg/i386: cleanup useless #ifdef (2014-01-25 15:21:33 -0800)
----------------------------------------------------------------
Aurelien Jarno (5):
disas/i386.c: disassemble movbe instruction
tcg/i386: remove hardcoded P_REXW value
tcg/i386: add support for three-byte opcodes
tcg/i386: use movbe instruction in qemu_ldst routines
tcg/i386: cleanup useless #ifdef
disas/i386.c | 8 +--
tcg/i386/tcg-target.c | 145 +++++++++++++++++++++++++++++++++-----------------
2 files changed, 101 insertions(+), 52 deletions(-)