aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-04-08 21:35:57 -0400
committerRichard Kenner <kenner@gcc.gnu.org>1993-04-08 21:35:57 -0400
commit2c609fee57800383b2ddf25f633472a10ebb8b1a (patch)
treefef613b48a18fcbc6b531ae6c6d43549a84d9563 /gcc
parent260958680b9e892634b6984bbc7771f17c18837f (diff)
downloadgcc-2c609fee57800383b2ddf25f633472a10ebb8b1a.zip
gcc-2c609fee57800383b2ddf25f633472a10ebb8b1a.tar.gz
gcc-2c609fee57800383b2ddf25f633472a10ebb8b1a.tar.bz2
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
register class GEN_AND_FLOAT_REGS. From-SVN: r4048
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/ns32k/ns32k.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/config/ns32k/ns32k.h b/gcc/config/ns32k/ns32k.h
index 0aca249..12b8fa1 100644
--- a/gcc/config/ns32k/ns32k.h
+++ b/gcc/config/ns32k/ns32k.h
@@ -258,7 +258,8 @@ extern int target_flags;
For any two classes, it is very desirable that there be another
class that represents their union. */
-enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, FRAME_POINTER_REG, STACK_POINTER_REG,
+enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, GEN_AND_FP_REGS,
+ FRAME_POINTER_REG, STACK_POINTER_REG,
GEN_AND_MEM_REGS, ALL_REGS, LIM_REG_CLASSES };
#define N_REG_CLASSES (int) LIM_REG_CLASSES
@@ -266,13 +267,15 @@ enum reg_class { NO_REGS, GENERAL_REGS, FLOAT_REGS, FRAME_POINTER_REG, STACK_POI
/* Give names of register classes as strings for dump file. */
#define REG_CLASS_NAMES \
- {"NO_REGS", "GENERAL_REGS", "FLOAT_REGS", "FRAME_POINTER_REG", "STACK_POINTER_REG", "GEN_AND_MEM_REGS", "ALL_REGS" }
+ {"NO_REGS", "GENERAL_REGS", "FLOAT_REGS", "GEN_AND_FP_REGS", \
+ "FRAME_POINTER_REG", "STACK_POINTER_REG", "GEN_AND_MEM_REGS", "ALL_REGS" }
/* Define which registers fit in which classes.
This is an initializer for a vector of HARD_REG_SET
of length N_REG_CLASSES. */
-#define REG_CLASS_CONTENTS {0, 0x00ff, 0xff00, 0x10000, 0x20000, 0x300ff, 0x3ffff }
+#define REG_CLASS_CONTENTS {0, 0x00ff, 0xff00, 0xffff, \
+ 0x10000, 0x20000, 0x300ff, 0x3ffff }
/* The same information, inverted:
Return the class number of the smallest class containing