]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/config/i386/i386.h
[multiple changes]
[thirdparty/gcc.git] / gcc / config / i386 / i386.h
index 238715615443ea957f368857110a207d66683f21..69c7472909f062967e947213b10b153cd56530e4 100644 (file)
@@ -1274,6 +1274,19 @@ enum reg_class
 { 0xffffffff,0x1fffff }                                                        \
 }
 
+/* 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, FLOAT_REGS, MMX_REGS, SSE_REGS, LIM_REG_CLASSES                     \
+}
+
 /* The same information, inverted:
    Return the class number of the smallest class containing
    reg number REGNO.  This could be a conditional expression