Celeron compiler flags

Tom Jandl tom
Fri Jun 3 19:54:33 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

-march=athlon-xp -mfpmath=sse -msse -mmmx -m3dnow is the output of the
script on my Athlon 2500xp.

-mfpmath=sse -msse2 -mmmx is the only output of the script on the Celeron

Cat /proc/cpuinfo is:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 13
model name      : Intel(R) Celeron(R) M processor         1.40GHz
stepping        : 8
cpu MHz         : 1398.871
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe
bogomips        : 2777.08


Any more ideas on what this thing is?

Thanks to all..........

Tom



More information about the Linux-users mailing list