summaryrefslogtreecommitdiff
path: root/gcc/config/crx
diff options
context:
space:
mode:
authorM R Swami Reddy <MR.Swami.Reddy@nsc.com>2008-09-08 13:55:05 -0600
committerJeff Law <law@gcc.gnu.org>2008-09-08 13:55:05 -0600
commit37022b7c72c96135c90798684598f39fd1371b40 (patch)
treea61308b4d238d807666684be1f431362be2edf76 /gcc/config/crx
parentc5cac099b7420d4c3df6664edd8e6e2f92909b70 (diff)
downloadgcc-37022b7c72c96135c90798684598f39fd1371b40.tar.gz
crx.h (IRA_COVER_CLASSES): Define.
2008-09-02 M R Swami Reddy <MR.Swami.Reddy@nsc.com> * config/crx/crx.h (IRA_COVER_CLASSES): Define. From-SVN: r140118
Diffstat (limited to 'gcc/config/crx')
-rw-r--r--gcc/config/crx/crx.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/crx/crx.h b/gcc/config/crx/crx.h
index 91c5f31d1e1..505c96fd71d 100644
--- a/gcc/config/crx/crx.h
+++ b/gcc/config/crx/crx.h
@@ -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", \