diff options
author | Jeff Law <law@redhat.com> | 2008-09-06 15:00:02 -0600 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2008-09-06 15:00:02 -0600 |
commit | f8505a3616606b8fa52c8256050f999fa207fc52 (patch) | |
tree | b2471bd8448fb8fc8f9f09681cf85fe3025fe18b | |
parent | 6ad9475ec8db59f3baf1433d28b558238ce2d332 (diff) | |
download | gcc-f8505a3616606b8fa52c8256050f999fa207fc52.zip gcc-f8505a3616606b8fa52c8256050f999fa207fc52.tar.gz gcc-f8505a3616606b8fa52c8256050f999fa207fc52.tar.bz2 |
h8300.h (IRA_COVER_CLASSES): Define.
* h8300.h (IRA_COVER_CLASSES): Define.
From-SVN: r140074
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.h | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ead7b5a..baa5ec5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-09-06 Jeff Law <law@redhat.com> + + * h8300.h (IRA_COVER_CLASSES): Define. + 2008-09-06 Jan Hubicka <jh@suse.cz> PR tree-optimization/14703 diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 4edbb2f..bc45169 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -354,6 +354,19 @@ enum reg_class { { "NO_REGS", "COUNTER_REGS", "SOURCE_REGS", "DESTINATION_REGS", \ "GENERAL_REGS", "MAC_REGS", "ALL_REGS", "LIM_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, MAC_REGS, LIM_REG_CLASSES \ +} + /* Define which registers fit in which classes. This is an initializer for a vector of HARD_REG_SET of length N_REG_CLASSES. */ |