From 87d9d860597828189e825447568ae3a76f279b82 Mon Sep 17 00:00:00 2001 From: "J\"orn Rennecke" Date: Mon, 16 Aug 1999 17:05:47 +0100 Subject: [PATCH] * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define. From-SVN: r28725 --- gcc/ChangeLog | 4 ++++ gcc/config/mips/mips.h | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 833bc07a6b2..f9acd651195 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Aug 16 17:04:15 1999 Jorn Rennecke + + * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define. + Fri Aug 13 15:20:43 1999 Gerald Pfeifer * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define. diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index 4592c29bf0e..409e9c57079 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -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