From 2c609fee57800383b2ddf25f633472a10ebb8b1a Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 8 Apr 1993 21:35:57 -0400 Subject: [PATCH] (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new register class GEN_AND_FLOAT_REGS. From-SVN: r4048 --- gcc/config/ns32k/ns32k.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gcc/config/ns32k/ns32k.h b/gcc/config/ns32k/ns32k.h index 0aca24930dd..12b8fa11031 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 -- 2.30.2