This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: option to control code straightening
- From: Jeff Law <law at redhat dot com>
- To: tprince at computer dot org
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 13 Jul 2009 23:23:29 -0600
- Subject: Re: option to control code straightening
- References: <4A597717.6020508@sbcglobal.net>
Tim Prince wrote:
Is there an option in gcc 4.4 or 4.5 to avoid code straightening in
loops with conditionals or select? Intel Core i7 Loop Stream Detector
seems to give up when the code path has more than minimum number of
branches.
Under what circumstances is code straightening introducing more
branches? The whole point of code straightening is to decrease the
number of branches!
jeff