cpu_map.xml 16.0 KB
Newer Older
1 2
<cpus>
  <arch name='x86'>
J
Jiri Denemark 已提交
3 4 5 6
    <!-- vendor definitions -->
    <vendor name='Intel' string='GenuineIntel'/>
    <vendor name='AMD' string='AuthenticAMD'/>

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 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
    <!-- standard features, EDX -->
    <feature name='fpu'> <!-- CPUID_FP87 -->
      <cpuid function='0x00000001' edx='0x00000001'/>
    </feature>
    <feature name='vme'> <!-- CPUID_VME -->
      <cpuid function='0x00000001' edx='0x00000002'/>
    </feature>
    <feature name='de'> <!-- CPUID_DE -->
      <cpuid function='0x00000001' edx='0x00000004'/>
    </feature>
    <feature name='pse'> <!-- CPUID_PSE -->
      <cpuid function='0x00000001' edx='0x00000008'/>
    </feature>
    <feature name='tsc'> <!-- CPUID_TSC -->
      <cpuid function='0x00000001' edx='0x00000010'/>
    </feature>
    <feature name='msr'> <!-- CPUID_MSR -->
      <cpuid function='0x00000001' edx='0x00000020'/>
    </feature>
    <feature name='pae'> <!-- CPUID_PAE -->
      <cpuid function='0x00000001' edx='0x00000040'/>
    </feature>
    <feature name='mce'> <!-- CPUID_MCE -->
      <cpuid function='0x00000001' edx='0x00000080'/>
    </feature>
    <feature name='cx8'> <!-- CPUID_CX8 -->
      <cpuid function='0x00000001' edx='0x00000100'/>
    </feature>
    <feature name='apic'> <!-- CPUID_APIC -->
      <cpuid function='0x00000001' edx='0x00000200'/>
    </feature>
    <feature name='sep'> <!-- CPUID_SEP -->
      <cpuid function='0x00000001' edx='0x00000800'/>
    </feature>
    <feature name='mtrr'> <!-- CPUID_MTRR -->
      <cpuid function='0x00000001' edx='0x00001000'/>
    </feature>
    <feature name='pge'> <!-- CPUID_PGE -->
      <cpuid function='0x00000001' edx='0x00002000'/>
    </feature>
    <feature name='mca'> <!-- CPUID_MCA -->
      <cpuid function='0x00000001' edx='0x00004000'/>
    </feature>
    <feature name='cmov'> <!-- CPUID_CMOV -->
      <cpuid function='0x00000001' edx='0x00008000'/>
    </feature>
    <feature name='pat'> <!-- CPUID_PAT -->
      <cpuid function='0x00000001' edx='0x00010000'/>
    </feature>
    <feature name='pse36'> <!-- CPUID_PSE36 -->
      <cpuid function='0x00000001' edx='0x00020000'/>
    </feature>
    <feature name='pn'> <!-- CPUID_PN -->
      <cpuid function='0x00000001' edx='0x00040000'/>
    </feature>
    <feature name='clflush'> <!-- CPUID_CLFLUSH -->
      <cpuid function='0x00000001' edx='0x00080000'/>
    </feature>
    <feature name='ds'> <!-- CPUID_DTS -->
      <cpuid function='0x00000001' edx='0x00200000'/>
    </feature>
    <feature name='acpi'> <!-- CPUID_ACPI -->
      <cpuid function='0x00000001' edx='0x00400000'/>
    </feature>
    <feature name='mmx'> <!-- CPUID_MMX -->
      <cpuid function='0x00000001' edx='0x00800000'/>
    </feature>
    <feature name='fxsr'> <!-- CPUID_FXSR -->
      <cpuid function='0x00000001' edx='0x01000000'/>
    </feature>
    <feature name='sse'> <!-- CPUID_SSE -->
      <cpuid function='0x00000001' edx='0x02000000'/>
    </feature>
    <feature name='sse2'> <!-- CPUID_SSE2 -->
      <cpuid function='0x00000001' edx='0x04000000'/>
    </feature>
    <feature name='ss'> <!-- CPUID_SS -->
      <cpuid function='0x00000001' edx='0x08000000'/>
    </feature>
    <feature name='ht'> <!-- CPUID_HT -->
      <cpuid function='0x00000001' edx='0x10000000'/>
    </feature>
    <feature name='tm'> <!-- CPUID_TM -->
      <cpuid function='0x00000001' edx='0x20000000'/>
    </feature>
    <feature name='ia64'> <!-- CPUID_IA64 -->
      <cpuid function='0x00000001' edx='0x40000000'/>
    </feature>
    <feature name='pbe'> <!-- CPUID_PBE -->
      <cpuid function='0x00000001' edx='0x80000000'/>
    </feature>

    <!-- standard features, ECX -->
    <feature name='pni'> <!-- CPUID_EXT_SSE3 -->
      <cpuid function='0x00000001' ecx='0x00000001'/>
    </feature>
103 104 105 106 107 108
    <feature name='pclmuldq'>
      <cpuid function='0x00000001' ecx='0x00000002'/>
    </feature>
    <feature name='dtes64'>
      <cpuid function='0x00000001' ecx='0x00000004'/>
    </feature>
109 110 111 112 113 114 115 116
    <feature name='monitor'> <!-- CPUID_EXT_MONITOR -->
      <cpuid function='0x00000001' ecx='0x00000008'/>
    </feature>
    <feature name='ds_cpl'> <!-- CPUID_EXT_DSCPL -->
      <cpuid function='0x00000001' ecx='0x00000010'/>
    </feature>
    <feature name='vmx'> <!-- CPUID_EXT_VMX -->
      <cpuid function='0x00000001' ecx='0x00000020'/>
117 118 119
    </feature>
     <feature name='smx'>
      <cpuid function='0x00000001' ecx='0x00000040'/>
120 121 122 123 124 125 126 127 128 129 130 131 132
    </feature>
    <feature name='est'> <!-- CPUID_EXT_EST -->
      <cpuid function='0x00000001' ecx='0x00000080'/>
    </feature>
    <feature name='tm2'> <!-- CPUID_EXT_TM2 -->
      <cpuid function='0x00000001' ecx='0x00000100'/>
    </feature>
    <feature name='ssse3'> <!-- CPUID_EXT_SSSE3 -->
      <cpuid function='0x00000001' ecx='0x00000200'/>
    </feature>
    <feature name='cid'> <!-- CPUID_EXT_CID -->
      <cpuid function='0x00000001' ecx='0x00000400'/>
    </feature>
133 134 135
    <feature name='fma'>
      <cpuid function='0x00000001' ecx='0x00001000'/>
    </feature>
136 137 138 139 140 141
    <feature name='cx16'> <!-- CPUID_EXT_CX16 -->
      <cpuid function='0x00000001' ecx='0x00002000'/>
    </feature>
    <feature name='xtpr'> <!-- CPUID_EXT_XTPR -->
      <cpuid function='0x00000001' ecx='0x00004000'/>
    </feature>
142 143 144
    <feature name='pdcm'>
      <cpuid function='0x00000001' ecx='0x00008000'/>
    </feature>
145 146 147
    <feature name='pcid'>
      <cpuid function='0x00000001' ecx='0x00020000'/>
    </feature>
148 149 150
    <feature name='dca'> <!-- CPUID_EXT_DCA -->
      <cpuid function='0x00000001' ecx='0x00040000'/>
    </feature>
151 152 153 154 155 156
    <feature name='sse4.1'> <!-- CPUID_EXT_SSE41 -->
      <cpuid function='0x00000001' ecx='0x00080000'/>
    </feature>
    <feature name='sse4.2'> <!-- CPUID_EXT_SSE42 -->
      <cpuid function='0x00000001' ecx='0x00100000'/>
    </feature>
157 158 159
    <feature name='x2apic'> <!-- CPUID_EXT_X2APIC -->
      <cpuid function='0x00000001' ecx='0x00200000'/>
    </feature>
160 161 162
    <feature name='movbe'>
      <cpuid function='0x00000001' ecx='0x00400000'/>
    </feature>
163 164 165
    <feature name='popcnt'> <!-- CPUID_EXT_POPCNT -->
      <cpuid function='0x00000001' ecx='0x00800000'/>
    </feature>
166 167 168
    <feature name='tsc-deadline'>
      <cpuid function='0x00000001' ecx='0x01000000'/>
    </feature>
169 170 171
    <feature name='aes'>
      <cpuid function='0x00000001' ecx='0x02000000'/>
    </feature>
172 173 174 175 176 177 178 179 180
    <feature name='xsave'>
      <cpuid function='0x00000001' ecx='0x04000000'/>
    </feature>
    <feature name='osxsave'>
      <cpuid function='0x00000001' ecx='0x08000000'/>
    </feature>
    <feature name='avx'>
      <cpuid function='0x00000001' ecx='0x10000000'/>
    </feature>
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244
    <feature name='hypervisor'> <!-- CPUID_EXT_HYPERVISOR -->
      <cpuid function='0x00000001' ecx='0x80000000'/>
    </feature>

    <!-- extended features, EDX -->
    <feature name='syscall'> <!-- CPUID_EXT2_SYSCALL -->
      <cpuid function='0x80000001' edx='0x00000800'/>
    </feature>
    <feature name='nx'> <!-- CPUID_EXT2_NX -->
      <cpuid function='0x80000001' edx='0x00100000'/>
    </feature>
    <feature name='mmxext'> <!-- CPUID_EXT2_MMXEXT -->
      <cpuid function='0x80000001' edx='0x00400000'/>
    </feature>
    <feature name='fxsr_opt'> <!-- CPUID_EXT2_FFXSR -->
      <cpuid function='0x80000001' edx='0x02000000'/>
    </feature>
    <feature name='pdpe1gb'> <!-- CPUID_EXT2_PDPE1GB -->
      <cpuid function='0x80000001' edx='0x04000000'/>
    </feature>
    <feature name='rdtscp'> <!-- CPUID_EXT2_RDTSCP -->
      <cpuid function='0x80000001' edx='0x08000000'/>
    </feature>
    <feature name='lm'> <!-- CPUID_EXT2_LM -->
      <cpuid function='0x80000001' edx='0x20000000'/>
    </feature>
    <feature name='3dnowext'> <!-- CPUID_EXT2_3DNOWEXT -->
      <cpuid function='0x80000001' edx='0x40000000'/>
    </feature>
    <feature name='3dnow'> <!-- CPUID_EXT2_3DNOW -->
      <cpuid function='0x80000001' edx='0x80000000'/>
    </feature>

    <!-- extended features, ECX -->
    <feature name='lahf_lm'> <!-- CPUID_EXT3_LAHF_LM -->
      <cpuid function='0x80000001' ecx='0x00000001'/>
    </feature>
    <feature name='cmp_legacy'> <!-- CPUID_EXT3_CMP_LEG -->
      <cpuid function='0x80000001' ecx='0x00000002'/>
    </feature>
    <feature name='svm'> <!-- CPUID_EXT3_SVM -->
      <cpuid function='0x80000001' ecx='0x00000004'/>
    </feature>
    <feature name='extapic'> <!-- CPUID_EXT3_EXTAPIC -->
      <cpuid function='0x80000001' ecx='0x00000008'/>
    </feature>
    <feature name='cr8legacy'> <!-- CPUID_EXT3_CR8LEG -->
      <cpuid function='0x80000001' ecx='0x00000010'/>
    </feature>
    <feature name='abm'> <!-- CPUID_EXT3_ABM -->
      <cpuid function='0x80000001' ecx='0x00000020'/>
    </feature>
    <feature name='sse4a'> <!-- CPUID_EXT3_SSE4A -->
      <cpuid function='0x80000001' ecx='0x00000040'/>
    </feature>
    <feature name='misalignsse'> <!-- CPUID_EXT3_MISALIGNSSE -->
      <cpuid function='0x80000001' ecx='0x00000080'/>
    </feature>
    <feature name='3dnowprefetch'> <!-- CPUID_EXT3_3DNOWPREFETCH -->
      <cpuid function='0x80000001' ecx='0x00000100'/>
    </feature>
    <feature name='osvw'> <!-- CPUID_EXT3_OSVW -->
      <cpuid function='0x80000001' ecx='0x00000200'/>
    </feature>
245 246 247 248 249 250
    <feature name='ibs'>
      <cpuid function='0x80000001' ecx='0x00000400'/>
    </feature>
    <feature name='xop'>
      <cpuid function='0x80000001' ecx='0x00000800'/>
    </feature>
251 252 253 254 255 256
    <feature name='skinit'> <!-- CPUID_EXT3_SKINIT -->
      <cpuid function='0x80000001' ecx='0x00001000'/>
    </feature>
    <feature name='wdt'>
      <cpuid function='0x80000001' ecx='0x00002000'/>
    </feature>
257 258 259 260 261 262 263 264 265
    <feature name='fma4'>
      <cpuid function='0x80000001' ecx='0x00010000'/>
    </feature>
    <feature name='cvt16'>
      <cpuid function='0x80000001' ecx='0x00040000'/>
    </feature>
    <feature name='nodeid_msr'>
      <cpuid function='0x80000001' ecx='0x00080000'/>
    </feature>
266

267 268 269 270 271 272
    <!-- cpuid function 0x7 ecx 0x0 features -->
    <!-- We support only ecx 0x0 now as it's done by a workaround -->
    <feature name='smep'>
      <cpuid function='0x00000007' ebx='0x00000080'/>
    </feature>
    <feature name='smap'>
P
Peter Krempa 已提交
273
      <cpuid function='0x00000007' ebx='0x00100000'/>
274 275
    </feature>

276 277 278 279 280 281 282
    <!-- models -->
    <model name='486'>
      <feature name='fpu'/>
      <feature name='vme'/>
      <feature name='pse'/>
    </model>

M
Martin Kletzander 已提交
283
    <!-- Intel-based QEMU generic CPU models -->
284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
    <model name='pentium'>
      <model name='486'/>
      <feature name='de'/>
      <feature name='tsc'/>
      <feature name='msr'/>
      <feature name='mce'/>
      <feature name='cx8'/>
      <feature name='mmx'/>
    </model>

    <model name='pentium2'>
      <model name='pentium'/>
      <feature name='pae'/>
      <feature name='sep'/>
      <feature name='mtrr'/>
      <feature name='pge'/>
      <feature name='mca'/>
      <feature name='cmov'/>
      <feature name='pat'/>
      <feature name='pse36'/>
      <feature name='fxsr'/>
    </model>

    <model name='pentium3'>
      <model name='pentium2'/>
      <feature name='sse'/>
    </model>

    <model name='pentiumpro'>
      <feature name='fpu'/>
      <feature name='de'/>
      <feature name='pse'/>
      <feature name='tsc'/>
      <feature name='msr'/>
M
Martin Kletzander 已提交
318
      <feature name='pae'/>
319 320
      <feature name='mce'/>
      <feature name='cx8'/>
M
Martin Kletzander 已提交
321 322
      <feature name='apic'/>
      <feature name='sep'/>
323 324 325 326
      <feature name='pge'/>
      <feature name='cmov'/>
      <feature name='pat'/>
      <feature name='mmx'/>
327 328 329
      <feature name='fxsr'/>
      <feature name='sse'/>
      <feature name='sse2'/>
330 331
    </model>

332 333
    <model name='coreduo'>
      <model name='pentiumpro'/>
M
Martin Kletzander 已提交
334
      <vendor name='Intel'/>
335 336 337
      <feature name='vme'/>
      <feature name='mtrr'/>
      <feature name='mca'/>
M
Martin Kletzander 已提交
338
      <feature name='clflush'/>
339 340 341 342 343
      <feature name='pni'/>
      <feature name='monitor'/>
      <feature name='nx'/>
    </model>

M
Martin Kletzander 已提交
344 345 346
    <model name='n270'>
      <model name='coreduo'/>
      <feature name='ssse3'/>
347 348
    </model>

M
Martin Kletzander 已提交
349 350
    <model name='core2duo'>
      <model name='n270'/>
351 352
      <feature name='pse36'/>
      <feature name='syscall'/>
M
Martin Kletzander 已提交
353
      <feature name='lm'/>
354 355
    </model>

M
Martin Kletzander 已提交
356 357
    <!-- Generic QEMU CPU models -->
    <model name='qemu32'>
358 359 360 361
      <model name='pentiumpro'/>
      <feature name='pni'/>
    </model>

M
Martin Kletzander 已提交
362 363
    <model name='kvm32'>
      <model name='qemu32'/>
364 365 366
      <feature name='mtrr'/>
      <feature name='mca'/>
      <feature name='pse36'/>
M
Martin Kletzander 已提交
367 368 369 370 371
      <feature name='clflush'/>
    </model>

    <model name='cpu64-rhel5'>
      <model name='kvm32'/>
372 373
      <feature name='syscall'/>
      <feature name='nx'/>
M
Martin Kletzander 已提交
374
      <feature name='lm'/>
375 376
    </model>

M
Martin Kletzander 已提交
377 378 379 380
    <model name='cpu64-rhel6'>
      <model name='cpu64-rhel5'/>
      <feature name='cx16'/>
      <feature name='lahf_lm'/>
381 382
    </model>

M
Martin Kletzander 已提交
383 384 385
    <model name='kvm64'>
      <model name='cpu64-rhel5'/>
      <feature name='cx16'/>
386
    </model>
387

M
Martin Kletzander 已提交
388 389 390 391 392 393 394 395 396 397 398 399 400 401
    <model name='qemu64'>
      <model name='kvm64'/>
      <!-- These are supported only by TCG.  KVM supports them only if the
           host does.  So we leave them out:

           <feature name='popcnt'/>
           <feature name='lahf_lm'/>
           <feature name='sse4a'/>
           <feature name='abm'/>
      -->
      <feature name='svm'/>
    </model>

    <!-- Intel CPU models -->
402
    <model name='Conroe'>
M
Martin Kletzander 已提交
403
      <model name='pentiumpro'/>
404
      <vendor name='Intel'/>
405 406 407
      <feature name='mtrr'/>
      <feature name='mca'/>
      <feature name='pse36'/>
M
Martin Kletzander 已提交
408
      <feature name='clflush'/>
409 410 411 412
      <feature name='pni'/>
      <feature name='ssse3'/>
      <feature name='syscall'/>
      <feature name='nx'/>
M
Martin Kletzander 已提交
413
      <feature name='lm'/>
414 415 416 417
      <feature name='lahf_lm'/>
    </model>

    <model name='Penryn'>
M
Martin Kletzander 已提交
418
      <model name='Conroe'/>
419 420 421 422 423
      <feature name='cx16'/>
      <feature name='sse4.1'/>
    </model>

    <model name='Nehalem'>
M
Martin Kletzander 已提交
424
      <model name='Penryn'/>
425 426 427 428
      <feature name='sse4.2'/>
      <feature name='popcnt'/>
    </model>

429 430 431 432 433
    <model name='Westmere'>
      <model name='Nehalem'/>
      <feature name='aes'/>
    </model>

434
    <model name='SandyBridge'>
M
Martin Kletzander 已提交
435
      <model name='Westmere'/>
436 437
      <feature name='pclmuldq'/>
      <feature name='x2apic'/>
M
Martin Kletzander 已提交
438
      <feature name='tsc-deadline'/>
439
      <feature name='xsave'/>
M
Martin Kletzander 已提交
440 441
      <feature name='avx'/>
      <feature name='rdtscp'/>
442 443
    </model>

M
Martin Kletzander 已提交
444 445 446
    <!-- AMD CPUs -->
    <model name='athlon'>
      <model name='pentiumpro'/>
447
      <vendor name='AMD'/>
M
Martin Kletzander 已提交
448
      <feature name='vme'/>
449 450
      <feature name='mtrr'/>
      <feature name='pse36'/>
M
Martin Kletzander 已提交
451 452 453
      <feature name='mmxext'/>
      <feature name='3dnowext'/>
      <feature name='3dnow'/>
454 455
    </model>

M
Martin Kletzander 已提交
456 457
    <model name='phenom'>
      <model name='cpu64-rhel5'/>
458
      <vendor name='AMD'/>
M
Martin Kletzander 已提交
459 460 461 462 463 464 465 466 467 468 469 470 471 472 473
      <feature name='monitor'/>
      <feature name='mmxext'/>
      <feature name='fxsr_opt'/>
      <feature name='3dnowext'/>
      <feature name='3dnow'/>
      <feature name='svm'/>
    </model>

    <model name='Opteron_G1'>
      <model name='cpu64-rhel5'/>
      <vendor name='AMD'/>
    </model>

    <model name='Opteron_G2'>
      <model name='Opteron_G1'/>
474 475 476
      <feature name='cx16'/>
      <feature name='rdtscp'/>
      <feature name='lahf_lm'/>
M
Martin Kletzander 已提交
477
      <feature name='svm'/>
478 479 480
    </model>

    <model name='Opteron_G3'>
M
Martin Kletzander 已提交
481
      <model name='Opteron_G2'/>
482 483 484
      <feature name='monitor'/>
      <feature name='popcnt'/>
      <feature name='abm'/>
M
Martin Kletzander 已提交
485
      <feature name='sse4a'/>
486 487
      <feature name='misalignsse'/>
    </model>
488 489

    <model name='Opteron_G4'>
M
Martin Kletzander 已提交
490 491 492
      <model name='Opteron_G2'/>
      <!-- Can't inherit from G3 because of missing "monitor"
           feature -->
493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508
      <feature name='pclmuldq'/>
      <feature name='ssse3'/>
      <feature name='sse4.1'/>
      <feature name='sse4.2'/>
      <feature name='popcnt'/>
      <feature name='aes'/>
      <feature name='xsave'/>
      <feature name='avx'/>
      <feature name='pdpe1gb'/>
      <feature name='abm'/>
      <feature name='sse4a'/>
      <feature name='misalignsse'/>
      <feature name='3dnowprefetch'/>
      <feature name='xop'/>
      <feature name='fma4'/>
    </model>
509
  </arch>
L
Li Zhang 已提交
510 511 512 513 514 515 516 517 518 519 520 521 522 523
  <arch name='ppc64'>
   <!-- vendor definitions -->
    <vendor name='IBM' string='PowerPC'/>
   <!-- IBM-based CPU models -->
    <model name='POWER7'>
      <vendor name='IBM'/>
    </model>
    <model name='POWER7_v2.1'>
      <vendor name='IBM'/>
    </model>
    <model name='POWER7_v2.3'>
      <vendor name='IBM'/>
    </model>
  </arch>
524
</cpus>