This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/46837] induct compiled with -ffast-math -fschedule-insns -fsched-pressure -O3 ~30% slower
- From: "steven at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 8 Dec 2010 00:35:53 +0000
- Subject: [Bug middle-end/46837] induct compiled with -ffast-math -fschedule-insns -fsched-pressure -O3 ~30% slower
- Auto-submitted: auto-generated
- References: <bug-46837-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46837
Steven Bosscher <steven at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2010.12.08 00:35:39
CC| |steven at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #4 from Steven Bosscher <steven at gcc dot gnu.org> 2010-12-08 00:35:39 UTC ---
Re. comment #2: For the i386 backends -fschedule-insns is disabled even at -O2
and -O3. See gcc/config/i386/i386.c:ix86_option_optimization_table:
static const struct default_options ix86_option_optimization_table[] =
{
/* Turn off -fschedule-insns by default. It tends to make the
problem with not enough registers even worse. */
#ifdef INSN_SCHEDULING
{ OPT_LEVELS_ALL, OPT_fschedule_insns, NULL, 0 },
#endif