Gentoo Linux安装–Intel型号CPU的CFlags设置(包括intel core i7 i5)

Warning:GCC 4.2 and above support -march=native, which automatically detects the optimum settings to use based on your processor. -march=native also detects and applies additional settings beyond -march specific to your CPU, (eg. -msse4). Unless you have a specific reason not to (e.g. distcc cross-compiling), you should probably be using -march=native rather than anything listed below. To find out what -march=native actually picks on the local hardware see.

Contents[hide]

[edit]Pentiumvendor_id: GenuineIntel cpu family: 5 model: 2 model name: Pentium 75 – 200CHOST=”i586-pc-linux-gnu” CFLAGS=”-march=pentium -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”[edit]Pentium w/ MMXCHOST=”i586-pc-linux-gnu” CFLAGS=”-march=pentium-mmx -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”[edit]Pentium ProCHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentiumpro -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”[edit]Pentium IIvendor_id: GenuineIntel cpu family: 6 model: 3, 5CHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentium2 -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 6 model name : Mobile Pentium II stepping : 10 cpu MHz : 397.082 cache size : 256 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 pse36 mmx fxsr bogomips : 794.75 clflush size : 32[edit]Celeron (Mendocino), aka Celeron1vendor_id: GenuineIntel cpu family: 6 model: 6 stepping: 0CHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentium2 -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 6 model name : Celeron (Mendocino) stepping : 0 cpu MHz : 334.108 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 sep mtrr pge mca cmov pat pse36 mmx fxsr up bogomips : 686.94 clflush size : 32[edit]Pentium III/ Mobile Celeronvendor_id: GenuineIntel cpu family: 6 model: 7, 8, 11CHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentium3 -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 6 cpu MHz : 863.934 cache size : 256 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 mmx fxsr sse bogomips : 1728.97 clflush size : 32[edit]Celeron (Coppermine)vendor_id : GenuineIntel cpu family : 6 model : 8 stepping : 10CHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentium3 -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”[edit]Celeron (Willamette)vendor_id : GenuineIntel cpu family : 15 model : 1 model name : Intel(R) Celeron(R) CPU XXXXGHz stepping : 3CHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentium4 -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”[edit]Pentium M(Centrino)/Celeron Mvendor_id : GenuineIntel cpu family : 6 model : 9 or 13 model name : Intel(R) Pentium(R) M processor XXXXMHz

For gcc 3.3 or older:

CHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentium3 -msse2 -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”

For gcc 3.4 and later:

CHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentium-m -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”

The Celeron M is based on the Pentium M but it has half the L2 cache and does not support the SpeedStep technology.

processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 13 model name : Intel(R) Pentium(R) M processor 2.00GHz stepping : 8 cpu MHz : 800.000 cache size : 2048 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 clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2 bogomips : 1597.70 clflush size : 64[edit]Mobile Pentium 4-M (Northwood)vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Mobile Intel(R) Pentium(R) 4 – M CPU X.XXGHzCHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentium4 -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”[edit]Pentium 4vendor_id : GenuineIntel cpu family : 15 model : 0 or 1 or 2 model name : Intel(R) Pentium(R) 4 CPU 1.70GHzCHOST=”i686-pc-linux-gnu” CFLAGS=”-march=pentium4 -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”[edit]Pentium 4 (Prescott) / Celeron Dvendor_id: GenuineIntel cpu family: 15 model: 3 or 4 model name : Intel(R) Pentium(R) 4 CPU XXXGHz -or- Intel(R) Celeron(R) CPU XXXGHz

32-bit profile (x86):

CHOST=”i686-pc-linux-gnu” CFLAGS=”-march=prescott -O2 -pipe -fomit-frame-pointer” CXXFLAGS=”${CFLAGS}”

64-bit profile (amd64):

CHOST=”x86_64-pc-linux-gnu” CFLAGS=”-march=nocona -O2 -pipe” CXXFLAGS=”${CFLAGS}”我没有值得分享的感伤爱情故事,

Gentoo Linux安装–Intel型号CPU的CFlags设置(包括intel core i7 i5)

相关文章:

你感兴趣的文章:

标签云: