Commit 95153fde070c83d1c92141e52f16e1726eb62195

Authored by malc
1 parent e9396bde

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
Showing 1 changed file with 1 additions and 1 deletions
tcg/ppc64/tcg-target.c
@@ -439,7 +439,7 @@ static void tcg_out_movi (TCGContext *s, TCGType type, @@ -439,7 +439,7 @@ static void tcg_out_movi (TCGContext *s, TCGType type,
439 uint16_t h16 = arg >> 16; 439 uint16_t h16 = arg >> 16;
440 uint16_t l16 = arg; 440 uint16_t l16 = arg;
441 441
442 - tcg_out_movi32 (s, ret, (arg >> 32) + (arg32 < 0)); 442 + tcg_out_movi32 (s, ret, arg >> 32);
443 tcg_out_rld (s, RLDICR, ret, ret, 32, 31); 443 tcg_out_rld (s, RLDICR, ret, ret, 32, 31);
444 if (h16) tcg_out32 (s, ORIS | RS (ret) | RA (ret) | h16); 444 if (h16) tcg_out32 (s, ORIS | RS (ret) | RA (ret) | h16);
445 if (l16) tcg_out32 (s, ORI | RS (ret) | RA (ret) | l16); 445 if (l16) tcg_out32 (s, ORI | RS (ret) | RA (ret) | l16);