aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-08-07 08:54:28 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-08-07 08:54:28 -0400
commitc31dfe4dc6ff068e92f2a5a65f528e5066e1f41c (patch)
tree07ea4a5ead4bde466bce3b22be4a164fe8d9380c /gcc
parent59e2c378c2f9319e9dea14b09a9d3cdd29d2c0cc (diff)
downloadgcc-c31dfe4dc6ff068e92f2a5a65f528e5066e1f41c.zip
gcc-c31dfe4dc6ff068e92f2a5a65f528e5066e1f41c.tar.gz
gcc-c31dfe4dc6ff068e92f2a5a65f528e5066e1f41c.tar.bz2
(CLASS_CANNOT_CHANGE_SIZE): New macro.
From-SVN: r7870
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/alpha/alpha.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index d9731a8..3caf7cc 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