qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/8] Improve TCG optimizer
@ 2012-09-06 15:00 Aurelien Jarno
  2012-09-06 15:00 ` [Qemu-devel] [PATCH 1/8] tcg: improve profiler Aurelien Jarno
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Aurelien Jarno @ 2012-09-06 15:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: Aurelien Jarno

This patch series improves the TCG optimizer, based on patterns found
while executing various guest. The brcond ad setcond constant folding
are useful especially useful when they are used to avoid some argument
values (e.g. division by 0), and thus can be optimized when this argument
is a constant.

This bring around 0.5% improvement on openssl like benchmarks.

Aurelien Jarno (8):
  tcg: improve profiler
  tcg/optimize: split expression simplification
  tcg/optimize: simplify or/xor r, a, 0 cases
  tcg/optimize: simplify and r, a, 0 cases
  tcg/optimize: simplify shift/rot r, 0, a => movi r, 0 cases
  tcg/optimize: swap brcond/setcond arguments when possible
  tcg/optimize: add constant folding for setcond
  tcg/optimize: add constant folding for brcond

 tcg/optimize.c |  161 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 tcg/tcg.c      |   18 ++++---
 tcg/tcg.h      |    2 +-
 3 files changed, 170 insertions(+), 11 deletions(-)

-- 
1.7.10.4

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

end of thread, other threads:[~2012-09-07 13:01 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 15:00 [Qemu-devel] [PATCH 0/8] Improve TCG optimizer Aurelien Jarno
2012-09-06 15:00 ` [Qemu-devel] [PATCH 1/8] tcg: improve profiler Aurelien Jarno
2012-09-06 15:00 ` [Qemu-devel] [PATCH 2/8] tcg/optimize: split expression simplification Aurelien Jarno
2012-09-06 15:00 ` [Qemu-devel] [PATCH 3/8] tcg/optimize: simplify or/xor r, a, 0 cases Aurelien Jarno
2012-09-06 15:00 ` [Qemu-devel] [PATCH 4/8] tcg/optimize: simplify and " Aurelien Jarno
2012-09-06 15:00 ` [Qemu-devel] [PATCH 5/8] tcg/optimize: simplify shift/rot r, 0, a => movi r, " Aurelien Jarno
2012-09-06 15:00 ` [Qemu-devel] [PATCH 6/8] tcg/optimize: swap brcond/setcond arguments when possible Aurelien Jarno
2012-09-06 15:00 ` [Qemu-devel] [PATCH 7/8] tcg/optimize: add constant folding for setcond Aurelien Jarno
2012-09-06 16:40   ` Richard Henderson
2012-09-07 10:05     ` Aurelien Jarno
2012-09-06 15:00 ` [Qemu-devel] [PATCH 8/8] tcg/optimize: add constant folding for brcond Aurelien Jarno
2012-09-06 16:43 ` [Qemu-devel] [PATCH 0/8] Improve TCG optimizer Richard Henderson
2012-09-07 10:06   ` Aurelien Jarno
2012-09-07 12:34 ` Peter Maydell
2012-09-07 13:00   ` 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).