diff options
author | Thiemo Seufer <ths@networkno.de> | 2007-05-15 12:20:32 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2007-05-15 12:20:32 +0000 |
commit | f532a3561cb446a84aa035c217abf841876bb44d (patch) | |
tree | 77baca651307e0aa050dae22f2ff7e234f289bcc /sim/mips | |
parent | 5c18022ec57b2c4ad4d94a76d8d9c8424253954a (diff) | |
download | gdb-f532a3561cb446a84aa035c217abf841876bb44d.zip gdb-f532a3561cb446a84aa035c217abf841876bb44d.tar.gz gdb-f532a3561cb446a84aa035c217abf841876bb44d.tar.bz2 |
* mips3264r2.igen (DSHD): Fix compile warning.
Diffstat (limited to 'sim/mips')
-rw-r--r-- | sim/mips/ChangeLog | 4 | ||||
-rw-r--r-- | sim/mips/mips3264r2.igen | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 9914daf..c1a1677 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2007-05-15 Thiemo Seufer <ths@mips.com> + + * mips3264r2.igen (DSHD): Fix compile warning. + 2007-05-14 Thiemo Seufer <ths@mips.com> * 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 e0d1326..bfd2980 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]); } |