From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vuh9R-0001zc-B5 for qemu-devel@nongnu.org; Sun, 22 Dec 2013 06:24:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vuh9L-0007so-QC for qemu-devel@nongnu.org; Sun, 22 Dec 2013 06:24:53 -0500 Received: from hall.aurel32.net ([2001:bc8:30d7:101::1]:50313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vuh9L-0007sk-Jv for qemu-devel@nongnu.org; Sun, 22 Dec 2013 06:24:47 -0500 Date: Sun, 22 Dec 2013 12:24:38 +0100 From: Aurelien Jarno Message-ID: <20131222112438.GC4216@ohm.rr44.fr> References: <1387644224-2404-1-git-send-email-aurelien@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1387644224-2404-1-git-send-email-aurelien@aurel32.net> Subject: Re: [Qemu-devel] [PATCH 0/5] tcg/i386: use movbe instruction in qemu_ldst routines List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Richard Henderson I forgot to Cc: Richard on this patch set, doing that now... On Sat, Dec 21, 2013 at 05:43:39PM +0100, Aurelien Jarno wrote: > 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 > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net