* config/pdp11/pdp11.h (IRA_COVER_CLASSES): Define.
authorpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Oct 2010 19:53:48 +0000 (19:53 +0000)
committerpkoning <pkoning@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Oct 2010 19:53:48 +0000 (19:53 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165858 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/pdp11/pdp11.h

index 54939bc..d4114d3 100644 (file)
@@ -1,3 +1,7 @@
+2010-10-22  Paul Koning  <ni1d@arrl.net>
+
+       * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Define.
+
 2010-10-22  Richard Henderson  <rth@redhat.com>
 
        * config/i386/i386.c (ix86_builtin_vectorized_function): Add
index 7a26eb0..81180eb 100644 (file)
@@ -320,6 +320,16 @@ enum reg_class { NO_REGS, MUL_REGS, GENERAL_REGS, LOAD_FPU_REGS, NO_LOAD_FPU_REG
 #define INDEX_REG_CLASS GENERAL_REGS
 #define BASE_REG_CLASS GENERAL_REGS
 
+/* 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, FPU_REGS, LIM_REG_CLASSES }
+
 /* Given an rtx X being reloaded into a reg required to be
    in class CLASS, return the class of reg to actually use.
    In general this is just CLASS; but on some machines