CFLAGS -mcpu value for Celeron 2.00GHz

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

CFLAGS -mcpu value for Celeron 2.00GHz

sempsteen
Hi, I was reading about CFLAGS to set it best for my system. I've searched for the -mcpu value that fits my Intel Celeron 2.00GHz processor but couldn't find it. By looking cpu family and model from Gentoo Wiki Safe Cflags article "pentium4" value seems the best but i've a celeron?. In make.conf file its default value is i686:

CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

Please give me a hand, which value should i use for my processor?

# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Celeron(R) CPU 2.00GHz
stepping        : 9
cpu MHz         : 2020.343
cache size      : 128 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 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr
bogomips        : 4046.07
Reply | Threaded
Open this post in threaded view
|

Re: CFLAGS -mcpu value for Celeron 2.00GHz

Marko Kocić-2
pentium4

--
[hidden email] mailing list

Reply | Threaded
Open this post in threaded view
|

Re: CFLAGS -mcpu value for Celeron 2.00GHz

sempsteen
thanks a lot Marko.