aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMichael Meissner <meissner@gcc.gnu.org>1993-04-01 01:07:04 +0000
committerMichael Meissner <meissner@gcc.gnu.org>1993-04-01 01:07:04 +0000
commitec253d27e0aea21a8f7f5e557e7b5f944cfa57fe (patch)
tree152d01e85ac881b807384dc3f4378262aa8b4d46 /gcc
parent57dc9016ecc152ee82f18ca85acd6923961becbb (diff)
downloadgcc-ec253d27e0aea21a8f7f5e557e7b5f944cfa57fe.zip
gcc-ec253d27e0aea21a8f7f5e557e7b5f944cfa57fe.tar.gz
gcc-ec253d27e0aea21a8f7f5e557e7b5f944cfa57fe.tar.bz2
Fix wrong sign
From-SVN: r3983
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/mips/mips.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 9101fc3..a888803 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -1455,7 +1455,7 @@ extern enum reg_class mips_char_to_class[];
needed to represent mode MODE in a register of class CLASS. */
#define CLASS_UNITS(mode, num) \
- ((GET_MODE_SIZE (mode) + ((num) * UNITS_PER_WORD) + 1) / ((num) * UNITS_PER_WORD))
+ ((GET_MODE_SIZE (mode) + ((num) * UNITS_PER_WORD) - 1) / ((num) * UNITS_PER_WORD))
#define CLASS_MAX_NREGS(CLASS, MODE) \
(((CLASS) == FP_REGS && TARGET_FLOAT64) \