diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-19 22:00:22 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-09-22 15:10:21 +0200 |
commit | c2b0e2fea2ef7a183233d3b86c37c5d4bcb89544 (patch) | |
tree | f24aab079acff1f803b587fca58fa53b1c7cd183 /qemu-tech.texi | |
parent | b336ceb6918b8f9eb54dcbb1043521482c7be83b (diff) | |
download | qemu-c2b0e2fea2ef7a183233d3b86c37c5d4bcb89544.zip qemu-c2b0e2fea2ef7a183233d3b86c37c5d4bcb89544.tar.gz qemu-c2b0e2fea2ef7a183233d3b86c37c5d4bcb89544.tar.bz2 |
tcg/optimize: prefer the "op a, a, b" form for commutative ops
The "op a, a, b" form is better handled on non-RISC host than the "op
a, b, a" form, so swap the arguments to this form when possible, and
when b is not a constant.
This reduces the number of generated instructions by a tiny bit.
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-tech.texi')
0 files changed, 0 insertions, 0 deletions