Commit 81610a0d by Hans-Peter Nilsson Committed by Jeff Law

tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no effect when -O2 and higher.

        * tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no
        effect when -O2 and higher.
        * invoke.texi (Optimize Options): Likewise for -fcaller-saves.

From-SVN: r21848
parent 252f342a
Wed Aug 19 13:51:35 1998 Hans-Peter Nilsson <hp@axis.se>
* tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no
effect when -O2 and higher.
* invoke.texi (Optimize Options): Likewise for -fcaller-saves.
1998-08-19 Michael Hayes <michaelh@ongaonga.chch.cri.nz>
* regclass.c: Changed register set documentation to be consistent
......
......@@ -2397,8 +2397,11 @@ function calls, by emitting extra instructions to save and restore the
registers around such calls. Such allocation is done only when it
seems to result in better code than would otherwise be produced.
This option is enabled by default on certain machines, usually those
which have no call-preserved registers to use instead.
This option is always enabled by default on certain machines, usually
those which have no call-preserved registers to use instead.
For all machines, optimization level 2 and higher enables this flag by
default.
@item -funroll-loops
Perform the optimization of loop unrolling. This is only done for loops
......
......@@ -3150,9 +3150,9 @@ must live across calls.
@item DEFAULT_CALLER_SAVES
Define this macro if function calls on the target machine do not preserve
any registers; in other words, if @code{CALL_USED_REGISTERS} has 1
for all registers. This macro enables @samp{-fcaller-saves} by default.
Eventually that option will be enabled by default on all machines and both
the option and this macro will be eliminated.
for all registers. When defined, this macro enables @samp{-fcaller-saves}
by default for all optimization levels. It has no effect for optimization
levels 2 and higher, where @samp{-fcaller-saves} is the default.
@findex CALLER_SAVE_PROFITABLE
@item CALLER_SAVE_PROFITABLE (@var{refs}, @var{calls})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment