qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] target/arm, cris, mips: optimize "swap bytes within words"
@ 2017-05-16 23:01 Aurelien Jarno
  2017-05-16 23:01 ` [Qemu-devel] [PATCH 1/4] target/arm: optimize aarch32 rev16 Aurelien Jarno
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Aurelien Jarno @ 2017-05-16 23:01 UTC (permalink / raw)
  To: qemu-devel; +Cc: Richard Henderson, Aurelien Jarno

This patchset optimizes the "swap bytes within words" instructions on the
arm, cris and mips targets. It all started with the patchset from Philippe
Mathieu-Daudé optimizing TCG code by using the extract op. Looking at the
patch I have found that the aarch64 rev16 function can be optimized even
more. Richard Henderson then suggested an even more optimized version.

Aurelien Jarno (4):
  target/arm: optimize aarch32 rev16
  target/arm: simplify and optimize aarch64 rev16
  target/cris: optimize swap
  target/mips: optimize WSBH, DSBH and DSHD

 target/arm/translate-a64.c | 24 ++++++------------------
 target/arm/translate.c     |  6 ++++--
 target/cris/translate.c    | 15 +++++++--------
 target/mips/translate.c    | 18 ++++++++++++------
 4 files changed, 29 insertions(+), 34 deletions(-)

-- 
2.11.0

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

end of thread, other threads:[~2017-05-23  1:07 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-16 23:01 [Qemu-devel] [PATCH 0/4] target/arm, cris, mips: optimize "swap bytes within words" Aurelien Jarno
2017-05-16 23:01 ` [Qemu-devel] [PATCH 1/4] target/arm: optimize aarch32 rev16 Aurelien Jarno
2017-05-17  0:56   ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2017-05-23  0:21   ` [Qemu-devel] " Richard Henderson
2017-05-16 23:01 ` [Qemu-devel] [PATCH 2/4] target/arm: simplify and optimize aarch64 rev16 Aurelien Jarno
2017-05-17  0:56   ` [Qemu-devel] [Qemu-arm] " Philippe Mathieu-Daudé
2017-05-23  0:21   ` [Qemu-devel] " Richard Henderson
2017-05-16 23:01 ` [Qemu-devel] [PATCH 3/4] target/cris: optimize swap Aurelien Jarno
2017-05-17  0:59   ` Philippe Mathieu-Daudé
2017-05-23  0:23   ` Richard Henderson
2017-05-16 23:01 ` [Qemu-devel] [PATCH 4/4] target/mips: optimize WSBH, DSBH and DSHD Aurelien Jarno
2017-05-23  1:07   ` Richard Henderson

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).