LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 10: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



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 03:47 AM
Best Optimization Flags for a 512mb (ddr) equipped Athlon XP 1.8 ghz? haimeltjnfg Linux - Software 4 08-30-2004 12:52 AM
optimization flags and kernel compiling kpachopoulos Linux - Newbie 2 08-26-2004 07:29 AM
gcc optimization flags: rules of thumb elyk Linux - Software 3 08-04-2004 11:49 PM
GCC Processor Optimization ? Tomasfuego Programming 1 12-20-2003 02:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:15 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
Open Source Consulting | Domain Registration