mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-09 16:01:19 +01:00
This brings rev 1.2 (reality check and document profiling extensions)
into GCC 2.95.2.
This commit is contained in:
parent
145b487463
commit
7429eb627b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52769
@ -2206,10 +2206,10 @@ perform loop unrolling or function inlining when you specify @samp{-O2}.
|
||||
As compared to @samp{-O}, this option increases both compilation time
|
||||
and the performance of the generated code.
|
||||
|
||||
@samp{-O2} turns on all optional optimizations except for loop unrolling
|
||||
and function inlining. It also turns on the @samp{-fforce-mem} option
|
||||
on all machines and frame pointer elimination on machines where doing so
|
||||
does not interfere with debugging.
|
||||
@samp{-O2} turns on all optional optimizations except for loop unrolling,
|
||||
function inlining, and strict aliasing optimizations. It also turns on the
|
||||
@samp{-fforce-mem} option on all machines and frame pointer elimination on
|
||||
machines where doing so does not interfere with debugging.
|
||||
|
||||
@item -O3
|
||||
Optimize yet more. @samp{-O3} turns on all optimizations specified by
|
||||
@ -2367,9 +2367,9 @@ math functions.
|
||||
@c --mew 26jan93
|
||||
The following options control specific optimizations. The @samp{-O2}
|
||||
option turns on all of these optimizations except @samp{-funroll-loops}
|
||||
and @samp{-funroll-all-loops}. On most machines, the @samp{-O} option
|
||||
turns on the @samp{-fthread-jumps} and @samp{-fdelayed-branch} options,
|
||||
but specific machines may handle it differently.
|
||||
@samp{-funroll-all-loops}, and @samp{-fstrict-aliasing}. On most machines, the
|
||||
@samp{-O} option turns on the @samp{-fthread-jumps} and @samp{-fdelayed-branch}
|
||||
options, but specific machines may handle it differently.
|
||||
|
||||
You can use the following flags in the rare cases when ``fine-tuning''
|
||||
of optimizations to be performed is desired.
|
||||
|
Loading…
Reference in New Issue
Block a user