diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-30 18:09:47 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-30 18:09:47 +0000 |
commit | fc51ca3b0a90f92662c19e8d4d908f8bc6106006 (patch) | |
tree | 4cad448709fc0bd1befbe6fec3245d112509581d /gcc/tm.texi | |
parent | fbb85fa33447b43ea56f4b4bb9c80d86092ef696 (diff) | |
download | gcc-fc51ca3b0a90f92662c19e8d4d908f8bc6106006.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22688 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tm.texi')
-rw-r--r-- | gcc/tm.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/tm.texi b/gcc/tm.texi index a42eb67a619..463ae8ef6c0 100644 --- a/gcc/tm.texi +++ b/gcc/tm.texi @@ -1333,6 +1333,17 @@ If a register has 0 in @code{CALL_USED_REGISTERS}, the compiler automatically saves it on function entry and restores it on function exit, if the register is used within the function. +@findex HARD_REGNO_CALL_PART_CLOBBERED +@item HARD_REGNO_CALL_PART_CLOBBERED (@var{regno}, @var{mode}) +@cindex call-used register +@cindex call-clobbered register +@cindex call-saved register +A C expression that is non-zero if it is not permissible to store a +value of mode @var{mode} in hard register number @var{regno} across a +call without some part of it being clobbered. For most machines this +macro need not be defined. It is only required for machines that do not +preserve the entire contents of a register across a call. + @findex CONDITIONAL_REGISTER_USAGE @findex fixed_regs @findex call_used_regs |