diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-12-05 23:16:52 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-12-05 23:16:52 +0000 |
commit | 957b2bdc14598dcb7bfbcc757d876b295bc2e946 (patch) | |
tree | 7daa076305a95e822e50b52025fa432bc497750f /gcc/regs.h | |
parent | 55ce3e896d5f96a31b01e1c1a9691b5282d23f2c (diff) | |
download | gcc-957b2bdc14598dcb7bfbcc757d876b295bc2e946.tar.gz |
* doc/tm.texi.in (TARGET_CLASS_LIKELY_SPILLED_P): Update documentation.
* doc/tm.texi: Regenerate.
* regs.h (REG_LIVE_LENGTH): Update comments to not refer to no longer
existing files global.c and local-alloc.c.
* regmove.c (copy_src_to_dest): Likewise.
* function.h (struct rtl_data): Likewise.
* ira-color.c (allocno_priority_compare_func): Likewise.
* regstat.c (regstat_compute_ri): Likewise.
* config/epiphany/epiphany.h, config/vax/vax.h, config/cris/cris.h,
config/h8300/h8300.h, config/alpha/alpha.h, config/sparc/sparc.h,
config/rs6000/rs6000.h, config/pdp11/pdp11.h, config/pa/pa.h,
config/v850/v850.h, config/mn10300/mn10300.h, config/m32r/m32r.h,
config/i386/i386.h, config/mcore/mcore.h, config/sh/sh.h,
config/arm/arm.h (REGNO_OK_FOR_BASE_P): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194229 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/regs.h')
-rw-r--r-- | gcc/regs.h | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/gcc/regs.h b/gcc/regs.h index 4c9d7a6ce42..adc9384b62e 100644 --- a/gcc/regs.h +++ b/gcc/regs.h @@ -176,21 +176,17 @@ extern size_t reg_info_p_size; #define REG_N_THROWING_CALLS_CROSSED(N) (reg_info_p[N].throw_calls_crossed) -/* Total number of instructions at which (REG n) is live. The larger - this is, the less priority (REG n) gets for allocation in a hard - register (in global-alloc). This is set in df-problems.c whenever - register info is requested and remains valid for the rest of the - compilation of the function; it is used to control register - allocation. - - local-alloc.c may alter this number to change the priority. - - Negative values are special. - -1 is used to mark a pseudo reg which has a constant or memory equivalent - and is used infrequently enough that it should not get a hard register. - -2 is used to mark a pseudo reg for a parameter, when a frame pointer - is not required. global.c makes an allocno for this but does - not try to assign a hard register to it. */ +/* Total number of instructions at which (REG n) is live. + + This is set in regstat.c whenever register info is requested and + remains valid for the rest of the compilation of the function; it is + used to control register allocation. The larger this is, the less + priority (REG n) gets for allocation in a hard register (in IRA in + priority-coloring mode). + + Negative values are special: -1 is used to mark a pseudo reg that + should not be allocated to a hard register, because it crosses a + setjmp call. */ #define REG_LIVE_LENGTH(N) (reg_info_p[N].live_length) |