From: Thiemo Seufer Date: Tue, 15 May 2007 12:20:32 +0000 (+0000) Subject: * mips3264r2.igen (DSHD): Fix compile warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f532a3561cb446a84aa035c217abf841876bb44d;p=binutils-gdb.git * mips3264r2.igen (DSHD): Fix compile warning. --- diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 9914dafd519..c1a16778860 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2007-05-15 Thiemo Seufer + + * mips3264r2.igen (DSHD): Fix compile warning. + 2007-05-14 Thiemo Seufer * mips.igen (ALNV.PS, CEIL.L.fmt, CVT.L.fmt, CVT.PS.S, CVT.S.PL, diff --git a/sim/mips/mips3264r2.igen b/sim/mips/mips3264r2.igen index e0d1326354e..bfd2980f768 100644 --- a/sim/mips/mips3264r2.igen +++ b/sim/mips/mips3264r2.igen @@ -126,8 +126,8 @@ d = GPR[RT]; GPR[RD] = ((d >> 48) | (d << 48) - | ((d & 0x0000ffff00000000) >> 16) - | ((d & 0x00000000ffff0000) << 16)); + | ((d & 0x0000ffff00000000ULL) >> 16) + | ((d & 0x00000000ffff0000ULL) << 16)); TRACE_ALU_RESULT1 (GPR[RD]); }