From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] cpu flags / USE flags / compiler flags
Date: Sun, 4 Sep 2005 05:45:01 -0700 [thread overview]
Message-ID: <5bdc1c8b05090405451583cf0a@mail.gmail.com> (raw)
In-Reply-To: <200509040821.47958.volker.armin.hemmann@tu-clausthal.de>
I agree with Ellotheth that it seems like there's an opportunity to
come up with a good optimization doc but the paper is interesting. The
answers might not be the same for P4 vs. AMD vs. sparc vs. Apple.
Maybe a suite of files that get compiled, generate the numbers and
instruct you what might work best?
Interesting info. thanks.
- Mark
On 9/3/05, Volker Armin Hemmann <volker.armin.hemmann@tu-clausthal.de> wrote:
> On Sunday 04 September 2005 05:27, waltdnes@waltdnes.org wrote:
>
> >
> > That list shows pentium4, mmx, sse, and sse2. Also, if you have *ANY*
> > version of sse available, you can improve performance by running floating
> > point math via sse, rather than 387 instructions. I recommend...
> >
> > CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium4 -mmmx -msse -msse2
> > -mfpmath=sse"
> >
> >
>
> emm. I would not do this.
>
>
> -mfpmath=sse seems to be slower than -fpmath=387
>
> http://www.anandtech.com/mac/showdoc.aspx?i=2436&p=5
>
> has the numbers/made the experience.
>
> It seems, that gcc is not he best optimizer in the world ;)
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-09-04 12:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-31 16:04 [gentoo-user] cpu flags / USE flags / compiler flags Mark Knecht
2005-08-31 16:52 ` Volker Armin Hemmann
2005-08-31 17:21 ` Mark Knecht
2005-08-31 18:44 ` Volker Armin Hemmann
2005-08-31 19:07 ` capsel
2005-09-04 3:27 ` waltdnes
2005-09-04 5:18 ` Mark Knecht
2005-09-04 6:11 ` ellotheth rimmwen
2005-09-04 6:21 ` Volker Armin Hemmann
2005-09-04 12:45 ` Mark Knecht [this message]
2005-09-05 1:59 ` waltdnes
2005-09-06 3:25 ` Bob Sanders
2005-09-06 3:35 ` Mark Knecht
2005-09-06 4:04 ` Bob Sanders
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=5bdc1c8b05090405451583cf0a@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-user@lists.gentoo.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: link
Be 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