qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/5] tcg/i386: use movbe instruction in qemu_ldst routines
@ 2013-12-21 16:43 Aurelien Jarno
  2013-12-21 16:43 ` [Qemu-devel] [PATCH 1/5] disas/i386.c: disassemble movbe instruction Aurelien Jarno
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Aurelien Jarno @ 2013-12-21 16:43 UTC (permalink / raw)
  To: qemu-devel; +Cc: Aurelien Jarno

This patchset enable the usage of the movbe instruction, available on
Intel Atom and Intel Haswell CPU, in qemu_ldst routines, avoiding bswap
instructions before or after the store or loads. The availability of
this instruction is done at runtime using the cpuid instruction.

The last patch of the series is not fully related, but I spotted the
issue when working on this patchset, so I thought it's a good idea to
fix it.

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 |  178 ++++++++++++++++++++++++++++++++++---------------
 2 files changed, 128 insertions(+), 58 deletions(-)

-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-12-22 16:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-21 16:43 [Qemu-devel] [PATCH 0/5] tcg/i386: use movbe instruction in qemu_ldst routines Aurelien Jarno
2013-12-21 16:43 ` [Qemu-devel] [PATCH 1/5] disas/i386.c: disassemble movbe instruction Aurelien Jarno
2013-12-22 16:43   ` Richard Henderson
2013-12-21 16:43 ` [Qemu-devel] [PATCH 2/5] tcg/i386: remove hardcoded P_REXW value Aurelien Jarno
2013-12-22 16:43   ` Richard Henderson
2013-12-21 16:43 ` [Qemu-devel] [PATCH 3/5] tcg/i386: add support for three-byte opcodes Aurelien Jarno
2013-12-22 16:46   ` Richard Henderson
2013-12-21 16:43 ` [Qemu-devel] [PATCH 4/5] tcg/i386: use movbe instruction in qemu_ldst routines Aurelien Jarno
2013-12-22 16:52   ` Richard Henderson
2013-12-21 16:43 ` [Qemu-devel] [PATCH 5/5] tcg/i386: cleanup useless #ifdef Aurelien Jarno
2013-12-22 16:44   ` Richard Henderson
2013-12-22 11:24 ` [Qemu-devel] [PATCH 0/5] tcg/i386: use movbe instruction in qemu_ldst routines Aurelien Jarno
2013-12-22 11:47   ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).