From: Bob Plantz <plantz@cds1.net>
To: Martin Ettl <ettl.martin@gmx.de>
Cc: gcc-help@gcc.gnu.org
Subject: Re: What optimizaton flags should i use (g++-4.3.3,Linux,Core2Duo)?
Date: Wed, 22 Apr 2009 15:34:00 -0000 [thread overview]
Message-ID: <1240414398.3873.18.camel@bob-desktop.local> (raw)
In-Reply-To: <20090419151801.146500@gmx.net>
I don't have any good answers for you and am looking forward to
responses from others.
Meanwhile, it might be good to know if you are using 32-bit or 64-bit
mode. The default for gcc's floating point is x87 in 32-bit and it is
SSE2 in 64-bit. That may affect the performance of your code.
Does your application lend itself to any parallelization? For example,
openMP?
Bob
On Sun, 2009-04-19 at 17:18 +0200, Martin Ettl wrote:
> Hello all,
>
> i am playing around with g++-4.3.3 on Ubuntu Linux. The project i am working does a lot of floating point arithmetic (based on double variables). The testplattform i use, is a intel core 2 duo processor. So what optimization flags are good for this plattform? Currently i am using -O3 -funroll-loops, but there are a plenty other.
>
> Thanks in advance!
>
> Best regards
>
> Ettl Martin
>
>
prev parent reply other threads:[~2009-04-22 15:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-19 15:18 Martin Ettl
2009-04-19 17:50 ` Tim Prince
2009-04-19 20:05 ` Matthew Lai
2009-04-20 19:23 ` Ian Lance Taylor
2009-04-21 6:31 ` Martin Ettl
2009-04-21 6:39 ` Brian Budge
2009-04-22 15:34 ` Bob Plantz [this message]
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=1240414398.3873.18.camel@bob-desktop.local \
--to=plantz@cds1.net \
--cc=ettl.martin@gmx.de \
--cc=gcc-help@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: 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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).