From: Richard Henderson <rth@twiddle.net>
To: Aurelien Jarno <aurelien@aurel32.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/8] Improve TCG optimizer
Date: Thu, 06 Sep 2012 09:43:08 -0700 [thread overview]
Message-ID: <5048D29C.1000804@twiddle.net> (raw)
In-Reply-To: <1346943657-17256-1-git-send-email-aurelien@aurel32.net>
On 09/06/2012 08:00 AM, Aurelien Jarno wrote:
> 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
Patches 1-6,8:
Reviewed-by: Richard Henderson <rth@twiddle.net>
Patch 7 contains a trivial error. With that fixed it could
also bear my Reviewed-by mark.
r~
next prev parent reply other threads:[~2012-09-06 16:43 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Richard Henderson [this message]
2012-09-07 10:06 ` [Qemu-devel] [PATCH 0/8] Improve TCG optimizer Aurelien Jarno
2012-09-07 12:34 ` Peter Maydell
2012-09-07 13:00 ` 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=5048D29C.1000804@twiddle.net \
--to=rth@twiddle.net \
--cc=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).