* mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
authorJ"orn Rennecke <amylaar@cygnus.co.uk>
Mon, 16 Aug 1999 16:05:47 +0000 (17:05 +0100)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Mon, 16 Aug 1999 16:05:47 +0000 (17:05 +0100)
From-SVN: r28725

gcc/ChangeLog
gcc/config/mips/mips.h

index 833bc07a6b2a560fb7806c4b795bd9211714e386..f9acd6511952cacafb646955f228697028fe328c 100644 (file)
@@ -1,3 +1,7 @@
+Mon Aug 16 17:04:15 1999  Jorn Rennecke <amylaar@cygnus.co.uk>
+
+       * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
+
 Fri Aug 13 15:20:43 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
 
        * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
index 4592c29bf0eb3fa191a51d41080ce425c7343518..409e9c57079ea31fab0598837b8089a4433c7fe3 100644 (file)
@@ -2086,6 +2086,12 @@ extern enum reg_class    mips_secondary_reload_class ();
       : 2 * CLASS_UNITS (MODE, 8))                                     \
    : CLASS_UNITS (MODE, UNITS_PER_WORD))
 
+/* If defined, gives a class of registers that cannot be used as the
+   operand of a SUBREG that changes the size of the object.  */
+
+#define CLASS_CANNOT_CHANGE_SIZE                                       \
+  (TARGET_FLOAT64 && ! TARGET_64BIT ? FP_REGS : NO_REGS)
+
 /* If defined, this is a C expression whose value should be
    nonzero if the insn INSN has the effect of mysteriously
    clobbering the contents of hard register number REGNO.  By