diff options
author | Andrew MacLeod <amacleod@redhat.com> | 2001-08-01 21:40:43 +0000 |
---|---|---|
committer | Andrew Macleod <amacleod@gcc.gnu.org> | 2001-08-01 21:40:43 +0000 |
commit | fc1296b77aae81ca5df45cd699c23e80b6e5e1fd (patch) | |
tree | 12aceb7d22a94c9c2c37a7ffda9fa08b77c49f3b /gcc/doc | |
parent | b38b083acf3d71c9a05858a5e5d9bde14ee7e9ef (diff) | |
download | gcc-fc1296b77aae81ca5df45cd699c23e80b6e5e1fd.zip gcc-fc1296b77aae81ca5df45cd699c23e80b6e5e1fd.tar.gz gcc-fc1296b77aae81ca5df45cd699c23e80b6e5e1fd.tar.bz2 |
regclass.c (call_really_used_regs): New array for registers which are actually used by a call.
2001-08-01 Andrew MacLeod <amacleod@redhat.com>
* regclass.c (call_really_used_regs): New array for registers which
are actually used by a call.
(init_reg_sets_1): Initialize regs_invalidated_by_call with the
new array.
(fix_register): Set call_really_used too.
* config/ia64/ia64.h (CALL_REALLY_USED_REGISTERS): Initialize.
* doc/tm.texi (CALL_REALLY_USED_REGISTERS): Document.
From-SVN: r44558
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/tm.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index ee621ae..34bea56 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -1700,6 +1700,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 CALL_REALLY_USED_REGISTERS +@item CALL_REALLY_USED_REGISTERS +@cindex call-used register +@cindex call-clobbered register +@cindex call-saved register +Like @code{CALL_USED_REGISTERS} except this macro doesn't require +that the entire set of @code{FIXED_REGISTERS} be included. +(@code{CALL_USED_REGISTERS} must be a superset of @code{FIXED_REGISTERS}). +This macro is optional. If not specified, it defaults to the value +of @code{CALL_USED_REGISTERS}. + @findex HARD_REGNO_CALL_PART_CLOBBERED @item HARD_REGNO_CALL_PART_CLOBBERED (@var{regno}, @var{mode}) @cindex call-used register |