qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org
Cc: Aurelien Jarno <aurelien@aurel32.net>
Subject: [Qemu-devel] [PATCH 0/5] tcg/i386: use movbe instruction in qemu_ldst routines
Date: Sat, 21 Dec 2013 17:43:39 +0100	[thread overview]
Message-ID: <1387644224-2404-1-git-send-email-aurelien@aurel32.net> (raw)

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

             reply	other threads:[~2013-12-21 16:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-21 16:43 Aurelien Jarno [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387644224-2404-1-git-send-email-aurelien@aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).