This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: disabling branch probability guessing (patch)
- To: Richard Henderson <rth at redhat dot com>
- Subject: Re: disabling branch probability guessing (patch)
- From: Aldy Hernandez <aldyh at redhat dot com>
- Date: Mon, 15 Jan 2001 19:07:04 -0400
- Cc: gcc-patches at gcc dot gnu dot org, wilson at redhat dot com
- References: <20010115181006.A8129@redhat.com> <20010115144519.F26349@redhat.com>
On Mon, Jan 15, 2001 at 02:45:19PM -0800, Richard Henderson wrote:
> Oh, you've also forgotten the appropriate invoke.texi changes.
doh!!!
Is this ok?
aldy
Index: invoke.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/invoke.texi,v
retrieving revision 1.262
diff -c -r1.262 invoke.texi
*** invoke.texi 2001/01/11 18:37:17 1.262
--- invoke.texi 2001/01/15 23:04:36
***************
*** 258,263 ****
--- 258,264 ----
-fsingle-precision-constant -fssa
-fstrength-reduce -fstrict-aliasing -fthread-jumps -ftrapv
-funroll-all-loops -funroll-loops
+ -fguess-branch-probability
-O -O0 -O1 -O2 -O3 -Os
@end smallexample
***************
*** 3045,3050 ****
--- 3046,3054 ----
Perform the optimization of loop unrolling. This is done for all loops
and usually makes programs run more slowly. @samp{-funroll-all-loops}
implies @samp{-fstrength-reduce} as well as @samp{-frerun-cse-after-loop}.
+
+ @item -fguess-branch-probability
+ Enable guessing of branch probabilities.
@item -fmove-all-movables
Forces all invariant computations in loops to be moved