diff options
author | Richard Henderson <rth@twiddle.net> | 2013-01-31 15:52:49 -0800 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-04-15 19:52:04 +0200 |
commit | 421233a1469123cc51ddd19849f7db4b6bd380e7 (patch) | |
tree | eb9bcb211cb00a7e518c009e8617754ab41c2be2 /target-alpha | |
parent | 752c1fdb6d3e7cc03157af213837f3b081b03858 (diff) | |
download | qemu-421233a1469123cc51ddd19849f7db4b6bd380e7.zip qemu-421233a1469123cc51ddd19849f7db4b6bd380e7.tar.gz qemu-421233a1469123cc51ddd19849f7db4b6bd380e7.tar.bz2 |
tcg-ppc64: Cleanup tcg_out_movi
The test for using movi32 was sub-optimal for TCG_TYPE_I32, comparing
a signed 32-bit quantity against an unsigned 32-bit quantity.
When possible, use addi+oris for 32-bit unsigned constants. Otherwise,
standardize on addi+oris+ori instead of addis+ori+rldicl.
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-alpha')
0 files changed, 0 insertions, 0 deletions