From c31dfe4dc6ff068e92f2a5a65f528e5066e1f41c Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sun, 7 Aug 1994 08:54:28 -0400 Subject: [PATCH] (CLASS_CANNOT_CHANGE_SIZE): New macro. From-SVN: r7870 --- gcc/config/alpha/alpha.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h index d9731a84128..3caf7cc83ba 100644 --- a/gcc/config/alpha/alpha.h +++ b/gcc/config/alpha/alpha.h @@ -584,6 +584,11 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, ALL_REGS, #define CLASS_MAX_NREGS(CLASS, MODE) \ ((GET_MODE_SIZE (MODE) + UNITS_PER_WORD - 1) / 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 FLOAT_REGS + /* Define the cost of moving between registers of various classes. Moving between FLOAT_REGS and anything else except float regs is expensive. In fact, we make it quite expensive because we really don't want to