This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What optimizaton flags should i use (g++-4.3.3,Linux,Core2Duo)?


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
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]