aboutsummaryrefslogtreecommitdiff
path: root/tcg/ppc64/tcg-target.c
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-28 19:42:17 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2008-07-28 19:42:17 +0000
commit95153fde070c83d1c92141e52f16e1726eb62195 (patch)
tree6efdc5500f3fb00c100e996169b9a2eecd6e2a72 /tcg/ppc64/tcg-target.c
parente9396bded98ae7e83129e9c1e9caa98afea7eaf5 (diff)
downloadqemu-95153fde070c83d1c92141e52f16e1726eb62195.zip
qemu-95153fde070c83d1c92141e52f16e1726eb62195.tar.gz
qemu-95153fde070c83d1c92141e52f16e1726eb62195.tar.bz2
Remove leftover from previous way to load 64 bit constants
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4958 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'tcg/ppc64/tcg-target.c')
-rw-r--r--tcg/ppc64/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcg/ppc64/tcg-target.c b/tcg/ppc64/tcg-target.c
index 11ef4bc..f09208a 100644
--- a/tcg/ppc64/tcg-target.c
+++ b/tcg/ppc64/tcg-target.c
@@ -439,7 +439,7 @@ static void tcg_out_movi (TCGContext *s, TCGType type,
uint16_t h16 = arg >> 16;
uint16_t l16 = arg;
- tcg_out_movi32 (s, ret, (arg >> 32) + (arg32 < 0));
+ tcg_out_movi32 (s, ret, arg >> 32);
tcg_out_rld (s, RLDICR, ret, ret, 32, 31);
if (h16) tcg_out32 (s, ORIS | RS (ret) | RA (ret) | h16);
if (l16) tcg_out32 (s, ORI | RS (ret) | RA (ret) | l16);