技术标签: linux内核支持i7处理器
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 Safe Cflags#-march=native.
Contents[hide]
1Pentium
2Pentium w/ MMX
3Pentium Pro
4Pentium II
5Celeron (Mendocino), aka Celeron1
6Pentium III/ Mobile Celeron
7Celeron (Coppermine)
8Celeron (Willamette)
9Pentium M(Centrino)/Celeron M
10Mobile Pentium 4-M (Northwood)
11Pentium 4
12Pentium 4 (Prescott) / Celeron D
13Pentium D 8xx / 9xx
14Xeon w/o EM64T
15Xeon w/EM64T (also Pentium 4 P6xx or Celeron M 5xx)
16Intel Core Solo/Duo, Pentium Dual-Core T20xx/T21xx
17Core 2 Duo/Quad, Xeon 51xx/53xx/54xx/3360, Pentium Dual-Core T23xx+/Exxxx, Celeron Dual-Core
18Core i7 and Core i5, Xeon 55xx
19Atom 230, Atom 330, Atom N-Series
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}"
Pentium w/ MMXCHOST="i586-pc-linux-gnu" CFLAGS="-march=pentium-mmx -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
Pentium ProCHOST="i686-pc-linux-gnu" CFLAGS="-march=pentiumpro -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
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
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
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
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}"
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}"
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
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}"
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}"
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}"
Note: You can verify the chip is a Prescott by looking for pni in the flags section of /proc/cpuinfo. This indicates support for SSE3.
In 2004, Intel started branding processors with the Prescott core as Intel Celeron D.
Pentium D 8xx / 9xxvendor_id : GenuineIntel cpu family : 15 model : 4, 6 model name : Intel(R) Pentium(R) D CPU x.xxGHz
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}"
Xeon w/o EM64Tvendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Xeon(TM) CPU 2.80GHzCHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
Xeon w/EM64T (also Pentium 4 P6xx or Celeron M 5xx)vendor_id : GenuineIntel cpu family : 15 model : 4,6 model name : Intel(R) Xeon(R) CPU XXXXMHz model name : Intel(R) Celeron(R) M CPU 5xx @ 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}"
Intel Core Solo/Duo, Pentium Dual-Core T20xx/T21xxvendor_id : GenuineIntel cpu family : 6 model : 14, 22 model name : Genuine Intel(R) CPU TXXXX @ X.XXGHz model name : Intel(R) Celeron(R) CPU 220 @ 1.20GHz model name : Intel(R) Celeron(R) CPU 4X0 @ X.XXGHz model name : Intel(R) Celeron(R) M CPU 4X0 @ X.XXGHzCHOST="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
Notes:
It has been confirmed by [email protected] that prescott is the correct microarchitecture to use with this CPU. http://article.gmane.org/gmane.comp.gcc.devel/83870
The newer (eg. 420) Celeron-M processors are Core Solo based, not Pentium-M based. If your processor's family and model are 6 and 14, then you should use the -march=prescott option.
Both the Celeron 4x0 and 220 run fine with Processor family (Pentium M) selected in the kernel.
Core 2 Duo/Quad, Xeon 51xx/53xx/54xx/3360, Pentium Dual-Core T23xx+/Exxxx, Celeron Dual-Corevendor_id : GenuineIntel cpu family : 6 model : 15, 23 model name : Intel(R) Core(TM)2 CPU XXXX @ XXXGHz model name : Intel(R) Celeron(R) CPU E3400 @ 2.60GHz model name : Intel(R) Pentium(R) Dual CPU T23xx @ XXXGHz model name : Intel(R) Xeon(R) CPU X3360
32 bit profile (x86) for < GCC 4.3:CHOST="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
32 bit profile (x86) for >= GCC 4.3:CHOST="i686-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}"
64 bit profile (amd64) for < GCC 4.3CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CXXFLAGS="${CFLAGS}"
64 bit profile (amd64) for >= GCC 4.3CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CXXFLAGS="${CFLAGS}"
Core i7 and Core i5, Xeon 55xxvendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHzvendor_id : GenuineIntel cpu family : 6 model : 37 model name : Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz / 660 @ 3.33 GHzvendor_id : GenuineIntel cpu family : 6 model : 42 model name : Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz stepping : 7 cpu MHz : 2394.550 cache size : 3072 KBvendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU X5570 @ 2.93GHz
32 bit profile (x86)CHOST="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -fomit-frame-pointer -pipe" CXXFLAGS="${CFLAGS}"
64 bit profile (amd64) for < GCC 4.3CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CXXFLAGS="${CFLAGS}"
64 bit profile (amd64) for GCC 4.3CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -mtune=generic -O2 -pipe" CXXFLAGS="${CFLAGS}"
64 bit profile (amd64) for GCC 4.6CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CXXFLAGS="${CFLAGS}"
Warning: Note that Sandy Bridge CPUs use a march and mtune of corei7-avx not corei7. See the man page for gcc.
Atom 230, Atom 330, Atom N-Seriesvendor_id : GenuineIntel cpu family : 6 model : 28 model name : Intel(R) Atom(TM) CPU 230 @ 1.60GHz stepping : 2 cpu MHz : 1596.175 cache size : 512 KBvendor_id : GenuineIntel cpu family : 6 model : 38 model name : Genuine Intel(R) CPU @ 1.60GHz stepping : 1 cpu MHz : 1600.033 cache size : 512 KB
32 bit profile (x86):CHOST="i686-pc-linux-gnu" CFLAGS="-march=atom -O2 -fomit-frame-pointer -pipe" CXXFLAGS="${CFLAGS}"
32 bit gcc 4.5.3 (x86)CHOST="i686-pc-linux-gnu" CFLAGS="-march=native -O2 -fomit-frame-pointer -pipe -mfpmath=sse" CXXFLAGS="${CFLAGS}"
These more aggressive flags above improve single threaded performance benchmarks (ie nbench) on the atom 330 with GCC 4.5.3 considerably, most notably there is a floating point performance increase of ~20%.
64 bit profile (amd64) for < GCC 4.3:CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" CXXFLAGS="${CFLAGS}"
64 bit profile (amd64) for GCC 4.3 and 4.4:CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -mtune=generic -pipe" CXXFLAGS="${CFLAGS}"
64 bit profile (amd64) for >= GCC 4.5:CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=atom -O2 -pipe" CXXFLAGS="${CFLAGS}"
转自:http://blog.csdn.net/u013256816/article/details/51325246#t6本文主要整理博主遇到的Java多线程的相关知识点,适合速记,故命名为“小抄集”。本文没有特别重点,每一项针对一个多线程知识做一个概要性总结,也有一些会带一点例子,习题方便理解和记忆。1. interrupted与isInterrupted的区别interrupte
公众号 系统之神与我同在本文来自知乎和微信公众号收集综述1.Core techniques of question answering systems over knowledge bases: a survey. Dennis Diefenbach, Vanessa Lopez, Kamal Singh, Pierre Maret. Knowledge and Information Systems(2017). [PDF]2.A Survey of Question Answering over
demo下载地址https://download.csdn.net/download/u010672559/10551901一、概述项目上线之后,经常会临时被告知某个小功能需要被修改,或者说上线了之后才发现某个bug需要紧急修复,于是总能匆匆忙改了段代码又得上线新的版本,极其麻烦,Tinker 是是微信官方的 Android 热修复解决方案,能让用户在没有察觉,没有更新app的情况下实...
百度地图的Demo里有个路线规划的功能,但是,这个功能和Activity耦合性太高,所以需要单独抽离出路径规划功能,进行“解耦”。注:由于项目原因,本文只针对驾车路线规划进行封装。首先,定义RoutePlan类,这个类就是路线规划类,既然是路线规划,所以要实现OnGetRoutePlanResultListener接口,路线规划需要的三个参数作为它的成员,即城市city、起点st...
最近碰到一个需求,需要在web中采集人脸和录音。没有摄像头麦克风的话可以用手机代替测试,网上搜DroidCam,检查是否连上摄像头和麦克风,可以在qq设置里试一下1、人脸采集,js调用摄像头并且拍照,打开页面时要选择允许效果:代码:只有一个html&lt;!DOCTYPE html&gt;&lt;html lang="ZH-CN"&gt;&lt;head&gt; &l...
概要这个示例是众多的变体。它展示了一个简单的实现Model-View-Presenter模式与体系结构框架。它使用人工依赖注入为存储库提供本地和远程数据源。异步任务处理回调。Note: in a MVP context, the term “view” is overloaded:The class android.view.View will be referred to a
tiny4412学习者,在ubuntu12.04下编译android4.1.2添加JNI层出现问题: (虚心请教解决方法)trouble writing output: Too many methods:65540; max is65536. By package: 26 android 145 android.accessibilityservice...
题目题意:已知p1,p2,p3三点求抛物线和直线围成的面积。核心代码就一行,结果够推两个小时了。#include &lt;iostream&gt;#include &lt;cstdio&gt;#include &lt;math.h&gt;using namespace std;int main(){ double x1,x2,x3,y1,y2,y3; ...
版权声明:本文为博主原创文章,未经博主允许不得转载。https://www.jianshu.com/p/21ca5bbeff11转载请标明出处:https://www.jianshu.com/p/21ca5bbeff11本文出自 AWeiLoveAndroid的博客Android开发的书籍有很多,下面...
欢迎大家来到 “飞剑神” 的博客,在这里有很多需要我们来学习的东西,无论是大神,还是一览无余的小白,都可以随意的评论和探索. 有很多人喜欢写博客,我也来说说为何我要在这个csdn写属于自己的东西.因为可以静心,然后可以和大家分享属于 我的世界,不过大多都是属于计算机领域的知识. 我们生活在这个世界上,本属于不易,整个宇宙中,我们所了解的唯独有我们人类.每一天都要生活的惬意,不要
【问题解决方案】从 Anaconda Prompt 或 Jupyter Notebook 终端进入Python后重新退出到命令状态
原标题:魔兽世界:仅三天时间正式服人口减少20万,怀旧服人口超越正式服魔兽世界:仅三天时间正式服人口减少20万,怀旧服人口超越正式服今天是魔兽世界怀旧服正式开放的第三天,在这段时间怀旧服的消息铺天盖地,反而正式服变得越来越无人问津,其实怀旧服最正式服的影响不仅仅是表面热度上,在玩家人数上,更是给正式服带来了“致命”的打击。 进入2019年以来魔兽世界正式服的玩家人口一直不断的下降,19年第一季度正...