OSDN Git Service

2008-09-02 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / crx / crx.h
index 91c5f31..505c96f 100644 (file)
@@ -182,6 +182,19 @@ enum reg_class
 
 #define N_REG_CLASSES (int) LIM_REG_CLASSES
 
+/* The following macro defines cover classes for Integrated Register
+   Allocator.  Cover classes is a set of non-intersected register
+   classes covering all hard registers used for register allocation
+   purpose.  Any move between two registers of a cover class should be
+   cheaper than load or store of the registers.  The macro value is
+   array of register classes with LIM_REG_CLASSES used as the end
+   marker.  */
+
+#define IRA_COVER_CLASSES         \
+{                                 \
+   GENERAL_REGS, LIM_REG_CLASSES  \
+} 
+
 #define REG_CLASS_NAMES \
   {                    \
     "NO_REGS",         \