diff options
Diffstat (limited to 'gcc/regs.h')
-rw-r--r-- | gcc/regs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/regs.h b/gcc/regs.h index 5a953850219..2206fdcdeb7 100644 --- a/gcc/regs.h +++ b/gcc/regs.h @@ -60,7 +60,7 @@ typedef struct reg_info_def int live_length; /* # of instructions (REG n) is live */ int calls_crossed; /* # of calls (REG n) is live across */ int basic_block; /* # of basic blocks (REG n) is used in */ - char changes_mode; /* whether (SUBREG (REG n)) exists and + char changes_mode; /* whether (SUBREG (REG n)) exists and is illegal. */ } reg_info; @@ -76,7 +76,7 @@ extern bitmap_head subregs_of_mode; #define REG_FREQ(N) (VARRAY_REG (reg_n_info, N)->freq) -/* The weights for each insn varries from 0 to REG_FREQ_BASE. +/* The weights for each insn varries from 0 to REG_FREQ_BASE. This constant does not need to be high, as in infrequently executed regions we want to count instructions equivalently to optimize for size instead of speed. */ @@ -213,11 +213,11 @@ extern int caller_save_needed; choose_hard_reg_mode (REGNO, NREGS) #endif -/* Registers that get partially clobbered by a call in a given mode. +/* Registers that get partially clobbered by a call in a given mode. These must not be call used registers. */ #ifndef HARD_REGNO_CALL_PART_CLOBBERED #define HARD_REGNO_CALL_PART_CLOBBERED(REGNO, MODE) 0 #endif /* Allocate reg_n_info tables */ -extern void allocate_reg_info PARAMS ((size_t, int, int)); +extern void allocate_reg_info (size_t, int, int); |