LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 10-28-2004, 11:48 AM   #1
monohouse
Member
 
Registered: Oct 2004
Distribution: Arch
Posts: 206

Rep: Reputation: 30
GCC 3.4/3.3 Optimization Flags


I need to optimize some CPU-Intensive Real-Time software I have running, but I have a few optimization flags missing, those would be :

-falign-functions
-falign-labels
-falign-loops
-falign-jumps

I have the correct optimization flags for my Athlon-XP which are :

-falign-functions=16
-falign-labels=1
-falign-loops=16
-falign-jumps=16

wrc1944 wrote :

"The =16 values set things to corelate precisely with the athlon-xp's design
parameters, which I would think are pretty important. This is said to allow
the on-die cache to be fully utilized and filled with 16 byte segments."

it's true enough to get my doom3 performance up by about 3 FPS.
however I need to know the same stuff (if available) for the other processors
but I can't find any similar data for the Pentium 3 and the Pentium-MMX.
I need to know their architecture-specific optimization parametrs to tell gcc to compile with.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC 3.3.3 SMP optimization spaceman27 Linux - General 2 04-14-2005 04:47 AM
Best Optimization Flags for a 512mb (ddr) equipped Athlon XP 1.8 ghz? haimeltjnfg Linux - Software 4 08-30-2004 01:52 AM
optimization flags and kernel compiling kpachopoulos Linux - Newbie 2 08-26-2004 08:29 AM
gcc optimization flags: rules of thumb elyk Linux - Software 3 08-05-2004 12:49 AM
GCC Processor Optimization ? Tomasfuego Programming 1 12-20-2003 03:59 PM


All times are GMT -5. The time now is 10:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration