Celeron compiler flags

Tom Jandl tom
Fri Jun 3 20:43:43 PDT 2005


Kurt Wall wrote:
> On Friday 03 June 2005 11:00, Tom Jandl enlightened us thusly:
> 
>>Recently I bought a Toshiba notebook with a 1.4 GHZ Celeron M
>>processor. For the purpose of gcc compiler flags, is this considered
>>a Pentium 3 or a Pentium 4?
> 
> 
> Have I got a (borrowed) script for you:
> 
> http://www.kurtwerks.com/pubs/gcc_book.html
> http://www.kurtwerks.com/pubs/gcccpuopt
> 
> Kurt

Update: A newer version of the script from www.pixelbeat.org
identifies the cpu as:
-march=pentium-m -mfpmath=sse on gcc 3.3.5 (Suse 9.3)
-march=pentium4 -mfpmath=sse on gcc 3.3.5 (Gentoo)

Looks like I will try pentium4 optimizations on Gentoo.

Thanks, everyone.

Tom






More information about the Linux-users mailing list