aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-08-08 16:32:28 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1994-08-08 16:32:28 -0400
commit580d3230435c471a2f45d7d7e0789b6373f167c2 (patch)
tree0c67e25a4efe6d2c99636347f4337842779eee2c
parent899d4140a30fe68457a1e978249e6fc882276577 (diff)
downloadgcc-580d3230435c471a2f45d7d7e0789b6373f167c2.zip
gcc-580d3230435c471a2f45d7d7e0789b6373f167c2.tar.gz
gcc-580d3230435c471a2f45d7d7e0789b6373f167c2.tar.bz2
(CLASS_CANNOT_CHANGE_SIZE): New macro.
From-SVN: r7872
-rw-r--r--gcc/config/rs6000/rs6000.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index ad550a7..c7cd68a 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -715,6 +715,11 @@ enum reg_class { NO_REGS, BASE_REGS, GENERAL_REGS, FLOAT_REGS,
((CLASS) == FLOAT_REGS \
? ((GET_MODE_SIZE (MODE) + 2 * UNITS_PER_WORD - 1) / (2 * UNITS_PER_WORD)) \
: ((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
/* Stack layout; function entry, exit and calling. */