-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcpu_model_definition.txt
74 lines (37 loc) · 1.46 KB
/
cpu_model_definition.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
- AMD & Intel:
Opteron_G4: avx,xsave,aes,sse4.2,sse4.1,cx16,ssse3,sse4a
Opteron_G3: cx16,sse4a
Opteron_G2: cx16
Opteron_G1: no cx16
Sandy Bridge: avx,xsave,aes,sse4_2|sse4.2,sse4.1|sse4_1,cx16,ssse3
Westmere: aes,sse4.2|sse4_2,sse4.1|sse4_1,cx16,ssse3
Nehalem: sse4.2|sse4_2,sse4.1|sse4_1,cx16,ssse3
Penryn: sse4.1|sse4_1,cx16,ssse3
Conroe: ssse3
Node: you can get the definition for every cpu model with qemu-kvm -cpu ?dump
e.g /usr/libexec/qemu-kvm -cpu ?dump
x86 Opteron_G3 AMD Opteron 23xx (Gen 3 Class Opteron) family 15 model 6 stepping 1 level 5 xlevel 0x80000008 vendor "AuthenticAMD" feature_edx 078bfbfd (sse2 sse fxsr mmx clflush pse36 pat cmov mca pge mtrr sep apic cx8 mce pae msr tsc pse de fpu) feature_ecx 00a02009 (popcnt x2apic cx16 monitor pni|sse3) extfeature_edx 2993fbfd (lm|i64 rdtscp fxsr mmx nx|xd pse36 pat cmov mca pge mtrr syscall apic cx8 mce pae msr tsc pse de fpu) extfeature_ecx 000000e5 (misalignsse sse4a abm svm lahf_lm)
* The special flag for Opteron_G3 is "sse4a"
- The following is the summary of special flag for every cpu model.
Intel:
* Sandy Bridge
XSAVE/XRSTOR, avx
* Westmere
aes
* Nehalem
sse4.2
* Penryn
sse4.1
* Conroe
no sse4.2, sse4.1
AMD:
* Opteron_G1
Opteron_G1 doesn't support VT, pls use 1216 to replace it.
amd-1216-8-1 amd-1216-8-2
* Opteron_G2
no sse4a
* Opteron_G3
sse4a
* Opteron_G4
no Bulldozer in our office, need to bollow it from beaker
sse4.2, xsave, avx