diff options
author | Michael Hayes <m.hayes@elec.canterbury.ac.nz> | 1998-09-30 18:09:47 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-09-30 12:09:47 -0600 |
commit | 1e326708e83b2e03807c689f14ed3772cd346efc (patch) | |
tree | 4cad448709fc0bd1befbe6fec3245d112509581d /gcc/regs.h | |
parent | b8c08e043a09a5e0ccb342bc89ffe5d39d206635 (diff) | |
download | gcc-1e326708e83b2e03807c689f14ed3772cd346efc.zip gcc-1e326708e83b2e03807c689f14ed3772cd346efc.tar.gz gcc-1e326708e83b2e03807c689f14ed3772cd346efc.tar.bz2 |
regs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.
* regs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.
* local-alloc.c (find_free_reg): Use it.
* global.c (find_reg): Likewise.
* tm.texi: Document HARD_REGNO_CALL_PART_CLOBBERED.
From-SVN: r22688
Diffstat (limited to 'gcc/regs.h')
-rw-r--r-- | gcc/regs.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -217,6 +217,12 @@ extern int caller_save_needed; choose_hard_reg_mode (REGNO, NREGS) #endif +/* 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 + /* Allocated in local_alloc. */ /* A list of SCRATCH rtl allocated by local-alloc. */ |