Avoid compiler warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5710 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
malc 2008-11-12 20:36:21 +00:00
parent b0f74c87a1
commit 8421d9e56f
1 changed files with 1 additions and 1 deletions

View File

@ -901,7 +901,7 @@ static void ppc_addi64 (TCGContext *s, int rt, int ra, tcg_target_long si)
{
/* XXX: suboptimal */
if (si == (int16_t) si
|| (((uint64_t) si >> 31) == 0) && (si & 0x8000) == 0)
|| ((((uint64_t) si >> 31) == 0) && (si & 0x8000) == 0))
ppc_addi32 (s, rt, ra, si);
else {
tcg_out_movi (s, TCG_TYPE_I64, 0, si);