dwarf2out.c (expand_builtin_dwarf_reg_size): Look at all ranges when generating the...
authorAndreas Schwab <schwab@issan.cs.uni-dortmund.de>
Wed, 14 Oct 1998 09:43:37 +0000 (09:43 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 14 Oct 1998 09:43:37 +0000 (03:43 -0600)
* dwarf2out.c (expand_builtin_dwarf_reg_size): Look at all ranges
when generating the decision tree for the general case.
* config/m68k/m68k.h (HARD_REGNO_MODE_OK): Don't accept modes
wider that 12 bytes in fpu regs or wider than 8 byte in fpa regs.

From-SVN: r23082

gcc/ChangeLog
gcc/config/m68k/m68k.h

index 5ba13c741de9da1c5bb23a52e55fb562ecde61a7..c568676246483fdbbee1a26bab8bef78df92d918 100644 (file)
@@ -1,3 +1,11 @@
+1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
+
+       * dwarf2out.c (expand_builtin_dwarf_reg_size): Look at all ranges
+       when generating the decision tree for the general case.
+
+       * config/m68k/m68k.h (HARD_REGNO_MODE_OK): Don't accept modes
+       wider that 12 bytes in fpu regs or wider than 8 byte in fpa regs.
+
 Wed Oct 14 11:14:02 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * Makefile.in (sched.o): Depend on recog.h.
index 42eb7939cf9375ca32d7b4c304f0728985326e21..50b0a2f2ff82d793bce98a89c053ba5b2cb5eada 100644 (file)
@@ -475,7 +475,8 @@ extern int target_flags;
    || ((REGNO) >= 16 && (REGNO) < 24                                   \
        && TARGET_68881                                  \
        && (GET_MODE_CLASS (MODE) == MODE_FLOAT         \
-          || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT)))
+          || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT)              \
+       && GET_MODE_UNIT_SIZE (MODE) <= 12))
 
 #else /* defined SUPPORT_SUN_FPA */
 
@@ -499,9 +500,11 @@ extern int target_flags;
        && (REGNO) < 8 && (REGNO) + GET_MODE_SIZE ((MODE)) / 4 > 8      \
        && (REGNO) % (GET_MODE_UNIT_SIZE ((MODE)) / 4) != 0))           \
  || ((REGNO) < 24                                                      \
-     ? TARGET_68881 && (GET_MODE_CLASS (MODE) == MODE_FLOAT            \
-                       || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT) \
-     : ((REGNO) < 56 ? TARGET_FPA : 0)))
+     ? (TARGET_68881                                                   \
+       && (GET_MODE_CLASS (MODE) == MODE_FLOAT                         \
+           || GET_MODE_CLASS (MODE) == MODE_COMPLEX_FLOAT)             \
+       && GET_MODE_UNIT_SIZE (MODE) <= 12)                             \
+     : ((REGNO) < 56 ? TARGET_FPA && GET_MODE_UNIT_SIZE (MODE) <= 8 : 0)))
 
 #endif /* defined SUPPORT_SUN_FPA */