From 37022b7c72c96135c90798684598f39fd1371b40 Mon Sep 17 00:00:00 2001 From: M R Swami Reddy Date: Mon, 8 Sep 2008 13:55:05 -0600 Subject: [PATCH] crx.h (IRA_COVER_CLASSES): Define. 2008-09-02 M R Swami Reddy * config/crx/crx.h (IRA_COVER_CLASSES): Define. From-SVN: r140118 --- gcc/ChangeLog | 6 +++++- gcc/config/crx/crx.h | 13 +++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 493ecad381f..abf03fd15f3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-09-08 M R Swami Reddy + + * crx/crx.h (IRA_COVER_CLASSES): Define. + 2008-09-08 Jakub Jelinek PR middle-end/37337 @@ -50,7 +54,7 @@ 2008-09-06 Jeff Law - * h8300.h (IRA_COVER_CLASSES): Define. + * h8300/h8300.h (IRA_COVER_CLASSES): Define. 2008-09-06 Jan Hubicka 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", \ -- 2.11.4.GIT