public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "lucier at math dot purdue dot edu" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug regression/39914] 96% performance regression in floating point code; part of the problem started 2009/03/12-13 Date: Mon, 27 Apr 2009 15:11:00 -0000 [thread overview] Message-ID: <20090427151136.25776.qmail@sourceware.org> (raw) In-Reply-To: <bug-39914-271@http.gcc.gnu.org/bugzilla/> ------- Comment #4 from lucier at math dot purdue dot edu 2009-04-27 15:11 ------- Subject: Re: 96% performance regression in floating point code; part of the problem started 2009/03/12-13 On Mon, 2009-04-27 at 08:16 +0000, ubizjak at gmail dot com wrote: > > > ------- Comment #2 from ubizjak at gmail dot com 2009-04-27 08:16 ------- > (In reply to comment #0) > > > (same .i file, same instructions for reproducing, same compiler options, same > > everything) > > I guess that this is direct.i compiled with -O1? > Yes, the compile flags are -Wall -W -Wno-unused -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fPIC -fno-common -mieee-fp > It is not clear from your report, if -O1 flag is problematic, -O2 code looks > good to me. Yes, the -O2 code looks good to me, too. I've used the above list of options (starting with -O1) on this code instead of -O2 because the above list (a) has generally given faster performance, and (b) has required much less compile time and memory to compile the C code generated by the Gambit Scheme->C compiler. I have not yet seen any evidence that -O2 generates better code (overall) than those set of options above. Brad -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39914
next prev parent reply other threads:[~2009-04-27 15:11 UTC|newest] Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-04-26 18:24 [Bug regression/39914] New: " lucier at math dot purdue dot edu 2009-04-26 18:43 ` [Bug regression/39914] " ubizjak at gmail dot com 2009-04-27 8:16 ` ubizjak at gmail dot com 2009-04-27 15:07 ` lucier at math dot purdue dot edu 2009-04-27 15:11 ` lucier at math dot purdue dot edu [this message] 2009-04-27 15:26 ` pinskia at gcc dot gnu dot org 2009-04-27 15:32 ` lucier at math dot purdue dot edu 2009-04-27 15:35 ` lucier at math dot purdue dot edu 2009-04-27 16:29 ` lucier at math dot purdue dot edu 2009-04-27 18:21 ` ubizjak at gmail dot com 2009-04-27 19:04 ` [Bug regression/39914] [4.4/4.5 Regression] " bonzini at gnu dot org 2009-04-27 20:38 ` lucier at math dot purdue dot edu 2009-04-28 1:40 ` lucier at math dot purdue dot edu 2009-04-28 16:18 ` uros at gcc dot gnu dot org 2009-04-28 16:19 ` [Bug rtl-optimization/39914] [4.4 " ubizjak at gmail dot com 2009-05-03 19:40 ` uros at gcc dot gnu dot org 2009-05-03 19:41 ` ubizjak at gmail dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20090427151136.25776.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).