]> gcc.gnu.org Git - gcc.git/commitdiff
Fix wrong sign
authorMichael Meissner <meissner@gcc.gnu.org>
Thu, 1 Apr 1993 01:07:04 +0000 (01:07 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Thu, 1 Apr 1993 01:07:04 +0000 (01:07 +0000)
From-SVN: r3983

gcc/config/mips/mips.h

index 9101fc3a7dda50f70808166cbf66e91c6bbb3a4d..a888803f772558752edfe62cc8026bf954767120 100644 (file)
@@ -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)                              \
This page took 0.069456 seconds and 5 git commands to generate.