qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/9] tcg/optimize: rework copy propagation
@ 2012-09-19 20:00 Aurelien Jarno
  2012-09-19 20:00 ` [Qemu-devel] [PATCH 1/9] tcg/optimizer: remove TCG_TEMP_ANY Aurelien Jarno
                   ` (9 more replies)
  0 siblings, 10 replies; 22+ messages in thread
From: Aurelien Jarno @ 2012-09-19 20:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: Aurelien Jarno

This patch series rework the copy propagation in order to generate 
better code. The first two patches are cleanup and bug fixes, the third 
patch is the heart of the series, and the remaining ones are small
optimizations using the new copy propagation.

I have measured a decrease of the generated code size of about 4%, with
a gain in speed between 0 and 2% depending on the workload.

For better benefits in ARM emulation, it should be used with the setcond 
patches series I have sent a few days ago.

Aurelien Jarno (9):
  tcg/optimizer: remove TCG_TEMP_ANY
  tcg/optimizer: check types in copy propagation
  tcg/optimizer: rework copy progagation
  tcg/optimize: do copy propagation for all operations
  tcg/optimize: optimize "op r, a, a => mov r, a"
  tcg/optimize: optimize "op r, a, a => movi r, 0"
  tcg/optimize: further optimize brcond/setcond
  tcg/optimize: prefer the "op a, a, b" form for commutative ops
  tcg: remove #ifdef #endif around TCGOpcode tests

 tcg/optimize.c |  326 ++++++++++++++++++++++++++++++++++----------------------
 tcg/tcg.c      |   16 +--
 2 files changed, 200 insertions(+), 142 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2012-09-21 12:36 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-19 20:00 [Qemu-devel] [PATCH 0/9] tcg/optimize: rework copy propagation Aurelien Jarno
2012-09-19 20:00 ` [Qemu-devel] [PATCH 1/9] tcg/optimizer: remove TCG_TEMP_ANY Aurelien Jarno
2012-09-19 21:25   ` Richard Henderson
2012-09-19 20:00 ` [Qemu-devel] [PATCH 2/9] tcg/optimizer: check types in copy propagation Aurelien Jarno
2012-09-19 21:33   ` Richard Henderson
2012-09-20  5:54     ` Aurelien Jarno
2012-09-20 14:00       ` Richard Henderson
2012-09-19 20:00 ` [Qemu-devel] [PATCH 3/9] tcg/optimizer: rework copy progagation Aurelien Jarno
2012-09-19 21:41   ` Richard Henderson
2012-09-19 20:00 ` [Qemu-devel] [PATCH 4/9] tcg/optimize: do copy propagation for all operations Aurelien Jarno
2012-09-19 21:43   ` Richard Henderson
2012-09-19 20:00 ` [Qemu-devel] [PATCH 5/9] tcg/optimize: optimize "op r, a, a => mov r, a" Aurelien Jarno
2012-09-19 21:43   ` Richard Henderson
2012-09-19 20:00 ` [Qemu-devel] [PATCH 6/9] tcg/optimize: optimize "op r, a, a => movi r, 0" Aurelien Jarno
2012-09-19 21:46   ` Richard Henderson
2012-09-19 20:00 ` [Qemu-devel] [PATCH 7/9] tcg/optimize: further optimize brcond/setcond Aurelien Jarno
2012-09-19 21:48   ` Richard Henderson
2012-09-19 20:00 ` [Qemu-devel] [PATCH 8/9] tcg/optimize: prefer the "op a, a, b" form for commutative ops Aurelien Jarno
2012-09-19 21:49   ` Richard Henderson
2012-09-19 20:00 ` [Qemu-devel] [PATCH 9/9] tcg: remove #ifdef #endif around TCGOpcode tests Aurelien Jarno
2012-09-19 21:50   ` Richard Henderson
2012-09-21 12:36 ` [Qemu-devel] [PATCH 0/9] tcg/optimize: rework copy propagation Laurent Desnogues

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