Skip to contentSkip to conversation

[4958] Remove leftover from previous way to load 64 bit constants

Qemu-devel malc 1 participant 1 message Jul 28, 2008

lore
Share & tools
lore

malc

author
#0 lore raw

Revision: 4958

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4958
Author:   malc
Date:     2008-07-28 19:42:17 +0000 (Mon, 28 Jul 2008)

Log Message:
-----------
Remove leftover from previous way to load 64 bit constants

Modified Paths:
--------------
trunk/tcg/ppc64/tcg-target.c

Modified: trunk/tcg/ppc64/tcg-target.c
===================================================================

tcg/ppc64/tcg-target.c +1 -1
@@ -439,7 +439,7 @@
             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);