Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/gcc/gcc/config/mips Fix 64LPism. Use 1L instead of...
details: https://anonhg.NetBSD.org/src/rev/b8c87495e067
branches: trunk
changeset: 554183:b8c87495e067
user: matt <matt%NetBSD.org@localhost>
date: Sat Oct 25 21:55:37 2003 +0000
description:
Fix 64LPism. Use 1L instead of 1 so that sign extension doesn't happen on
bit 31.
diffstat:
gnu/dist/gcc/gcc/config/mips/mips.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 72b0dd109916 -r b8c87495e067 gnu/dist/gcc/gcc/config/mips/mips.c
--- a/gnu/dist/gcc/gcc/config/mips/mips.c Sat Oct 25 21:54:30 2003 +0000
+++ b/gnu/dist/gcc/gcc/config/mips/mips.c Sat Oct 25 21:55:37 2003 +0000
@@ -6731,7 +6731,7 @@
if (regs_ever_live[regno] && !call_used_regs[regno])
{
fp_reg_size += FP_INC * UNITS_PER_FPREG;
- fmask |= ((1 << FP_INC) - 1) << (regno - FP_REG_FIRST);
+ fmask |= ((1L << FP_INC) - 1) << (regno - FP_REG_FIRST);
}
}
Home |
Main Index |
Thread Index |
Old Index