All pastes #557957 Raw Edit

Something

public text v1 · immutable
·published 2007-06-11 05:37 UTC
rendered paste body
in "configuring the compile options" of the gentoo install guide.  I was confused about what to set -march to for the CFLAGS variable.  arcoding to kinfocenter my processor is "Intel(R) Pentium 4 CPU 2.20GHZ".  acording to make.conf.example

# CPU types supported by gcc version:
# (Higher versions include the targets from older ones,
# those listed on the same line are equivalent.)
...
...
# pentium4              Intel Pentium4 with MMX, SSE and SSE2.
...
...
# prescott              Intel Pentium4 with MMX, SSE, SSE2 and SSE3.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

so should i use some thing like:
CFLAGS="-march=pentium4 -O2 -pipe"
or
CFLAGS="-march=prescott -O2 -pipe"

I guess my question is what is the difference between pentium4 and prescott?






~-> grep sse3 /proc/cpuinfo
~-> cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 2.20GHz
stepping        : 4
cpu MHz         : 2193.451
cache size      : 512 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 up
bogomips        : 4390.85
clflush size    : 64