tcg-sparc: Improve tcg_out_movi for sparc64.
commit431722077a991753052456b83c1749f73618c2a6
authorRichard Henderson <rth@twiddle.net>
Sun, 20 Dec 2009 03:45:27 +0000 (19 19:45 -0800)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 21 Dec 2009 20:52:06 +0000 (21 20:52 +0000)
tree24271a63731c46b56967f55e44b37f3c2c273841
parent4a09aa895e7cd82192e47ede9cde8ab7da4a96ba
tcg-sparc: Improve tcg_out_movi for sparc64.

Generate sign-extended 32-bit constants with SETHI+XOR.
Otherwise tidy the routine to avoid the need for
conditional compilation and code duplication with movi_imm32.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tcg/sparc/tcg-target.c