From: pkoning Date: Fri, 22 Oct 2010 19:53:48 +0000 (+0000) Subject: * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Define. X-Git-Tag: upstream/4.9.2~25501 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=168439113625f6a34bb9b874512bf2fa08ec68cb;p=platform%2Fupstream%2Flinaro-gcc.git * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165858 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 54939bc..d4114d3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2010-10-22 Paul Koning + + * config/pdp11/pdp11.h (IRA_COVER_CLASSES): Define. + 2010-10-22 Richard Henderson * config/i386/i386.c (ix86_builtin_vectorized_function): Add diff --git a/gcc/config/pdp11/pdp11.h b/gcc/config/pdp11/pdp11.h index 7a26eb0..81180eb 100644 --- a/gcc/config/pdp11/pdp11.h +++ b/gcc/config/pdp11/pdp11.h @@ -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