cpu_map.xml 29.8 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>
P
Peter Krempa 已提交
181 182 183 184 185 186
    <feature name='f16c'>
      <cpuid function='0x00000001' ecx='0x20000000'/>
    </feature>
    <feature name='rdrand'>
      <cpuid function='0x00000001' ecx='0x40000000'/>
    </feature>
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 245 246 247 248 249 250
    <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>
251 252 253 254 255 256
    <feature name='ibs'>
      <cpuid function='0x80000001' ecx='0x00000400'/>
    </feature>
    <feature name='xop'>
      <cpuid function='0x80000001' ecx='0x00000800'/>
    </feature>
257 258 259 260 261 262
    <feature name='skinit'> <!-- CPUID_EXT3_SKINIT -->
      <cpuid function='0x80000001' ecx='0x00001000'/>
    </feature>
    <feature name='wdt'>
      <cpuid function='0x80000001' ecx='0x00002000'/>
    </feature>
P
Peter Krempa 已提交
263 264 265
    <feature name='lwp'>
      <cpuid function='0x80000001' ecx='0x00008000'/>
    </feature>
266 267 268
    <feature name='fma4'>
      <cpuid function='0x80000001' ecx='0x00010000'/>
    </feature>
P
Peter Krempa 已提交
269 270 271
    <feature name='tce'>
      <cpuid function='0x80000001' ecx='0x00020000'/>
    </feature>
272 273 274 275 276 277
    <feature name='cvt16'>
      <cpuid function='0x80000001' ecx='0x00040000'/>
    </feature>
    <feature name='nodeid_msr'>
      <cpuid function='0x80000001' ecx='0x00080000'/>
    </feature>
P
Peter Krempa 已提交
278 279 280 281 282 283 284 285 286 287 288 289
    <feature name='tbm'>
      <cpuid function='0x80000001' ecx='0x00200000'/>
    </feature>
    <feature name='topoext'>
      <cpuid function='0x80000001' ecx='0x00400000'/>
    </feature>
    <feature name='perfctr_core'>
      <cpuid function='0x80000001' ecx='0x00800000'/>
    </feature>
    <feature name='perfctr_nb'>
      <cpuid function='0x80000001' ecx='0x01000000'/>
    </feature>
290

291 292
    <!-- cpuid function 0x7 ecx 0x0 features -->
    <!-- We support only ecx 0x0 now as it's done by a workaround -->
P
Peter Krempa 已提交
293 294 295 296 297 298 299 300 301 302 303 304
    <feature name='fsgsbase'>
      <cpuid function='0x00000007' ebx='0x00000001'/>
    </feature>
    <feature name='bmi1'>
      <cpuid function='0x00000007' ebx='0x00000008'/>
    </feature>
    <feature name='hle'>
      <cpuid function='0x00000007' ebx='0x00000010'/>
    </feature>
    <feature name='avx2'>
      <cpuid function='0x00000007' ebx='0x00000020'/>
    </feature>
305 306 307
    <feature name='smep'>
      <cpuid function='0x00000007' ebx='0x00000080'/>
    </feature>
P
Peter Krempa 已提交
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325
    <feature name='bmi2'>
      <cpuid function='0x00000007' ebx='0x00000100'/>
    </feature>
    <feature name='erms'>
      <cpuid function='0x00000007' ebx='0x00000200'/>
    </feature>
    <feature name='invpcid'>
      <cpuid function='0x00000007' ebx='0x00000400'/>
    </feature>
    <feature name='rtm'>
      <cpuid function='0x00000007' ebx='0x00000800'/>
    </feature>
    <feature name='rdseed'>
      <cpuid function='0x00000007' ebx='0x00040000'/>
    </feature>
    <feature name='adx'>
      <cpuid function='0x00000007' ebx='0x00080000'/>
    </feature>
326
    <feature name='smap'>
P
Peter Krempa 已提交
327
      <cpuid function='0x00000007' ebx='0x00100000'/>
328 329
    </feature>

J
Ján Tomko 已提交
330
    <!-- Advanced Power Management edx features -->
331
    <feature name='invtsc' migratable='no'>
J
Ján Tomko 已提交
332 333 334
      <cpuid function='0x80000007' edx='0x00000100'/>
    </feature>

335 336 337 338
    <!-- models -->
    <model name='486'>
      <feature name='fpu'/>
      <feature name='pse'/>
339
      <feature name='vme'/>
340 341
    </model>

M
Martin Kletzander 已提交
342
    <!-- Intel-based QEMU generic CPU models -->
343
    <model name='pentium'>
344
      <feature name='cx8'/>
345
      <feature name='de'/>
346
      <feature name='fpu'/>
347 348
      <feature name='mce'/>
      <feature name='mmx'/>
349
      <feature name='msr'/>
350
      <feature name='pse'/>
351
      <feature name='tsc'/>
352
      <feature name='vme'/>
353 354 355 356
    </model>

    <model name='pentium2'>
      <feature name='cmov'/>
357 358 359
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
360 361
      <feature name='fxsr'/>
      <feature name='mca'/>
362 363 364
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
365 366
      <feature name='mtrr'/>
      <feature name='pae'/>
367
      <feature name='pat'/>
368
      <feature name='pge'/>
369
      <feature name='pse'/>
370
      <feature name='pse36'/>
371
      <feature name='sep'/>
372 373
      <feature name='tsc'/>
      <feature name='vme'/>
374 375 376
    </model>

    <model name='pentium3'>
377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pse'/>
      <feature name='pse36'/>
      <feature name='sep'/>
393
      <feature name='sse'/>
394 395
      <feature name='tsc'/>
      <feature name='vme'/>
396 397 398
    </model>

    <model name='pentiumpro'>
399 400 401
      <feature name='apic'/>
      <feature name='cmov'/>
      <feature name='cx8'/>
402
      <feature name='de'/>
403 404 405 406
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='mce'/>
      <feature name='mmx'/>
407
      <feature name='msr'/>
M
Martin Kletzander 已提交
408
      <feature name='pae'/>
409
      <feature name='pat'/>
410 411 412
      <feature name='pge'/>
      <feature name='pse'/>
      <feature name='sep'/>
413 414
      <feature name='sse'/>
      <feature name='sse2'/>
415
      <feature name='tsc'/>
416 417
    </model>

418
    <model name='coreduo'>
M
Martin Kletzander 已提交
419
      <vendor name='Intel'/>
420
      <feature name='apic'/>
M
Martin Kletzander 已提交
421
      <feature name='clflush'/>
422 423 424 425 426
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
427
      <feature name='mca'/>
428 429
      <feature name='mce'/>
      <feature name='mmx'/>
430
      <feature name='monitor'/>
431
      <feature name='msr'/>
432
      <feature name='mtrr'/>
433
      <feature name='nx'/>
434 435 436
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
437
      <feature name='pni'/>
438 439 440 441 442
      <feature name='pse'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
      <feature name='tsc'/>
443
      <feature name='vme'/>
444 445
    </model>

M
Martin Kletzander 已提交
446
    <model name='n270'>
447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
      <vendor name='Intel'/>
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='monitor'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='nx'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
M
Martin Kletzander 已提交
470
      <feature name='ssse3'/>
471 472
      <feature name='tsc'/>
      <feature name='vme'/>
473 474
    </model>

M
Martin Kletzander 已提交
475
    <model name='core2duo'>
476 477 478 479 480 481 482 483
      <vendor name='Intel'/>
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
484
      <feature name='lm'/>
485 486 487 488 489 490 491 492 493 494 495 496
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='monitor'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='nx'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
497
      <feature name='pse36'/>
498 499 500 501
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
      <feature name='ssse3'/>
502
      <feature name='syscall'/>
503 504
      <feature name='tsc'/>
      <feature name='vme'/>
505 506
    </model>

M
Martin Kletzander 已提交
507 508
    <!-- Generic QEMU CPU models -->
    <model name='qemu32'>
509 510 511 512 513 514 515 516 517 518 519 520
      <feature name='apic'/>
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
521
      <feature name='pni'/>
522 523 524 525 526
      <feature name='pse'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
      <feature name='tsc'/>
527 528
    </model>

M
Martin Kletzander 已提交
529
    <model name='kvm32'>
530
      <feature name='apic'/>
531
      <feature name='clflush'/>
532 533 534 535 536
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
537
      <feature name='mca'/>
538 539 540
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
541
      <feature name='mtrr'/>
542 543 544 545 546
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
547
      <feature name='pse36'/>
548 549 550 551
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
      <feature name='tsc'/>
M
Martin Kletzander 已提交
552 553 554
    </model>

    <model name='cpu64-rhel5'>
555 556 557 558 559 560 561
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
M
Martin Kletzander 已提交
562
      <feature name='lm'/>
563 564 565 566 567
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
568
      <feature name='nx'/>
569 570 571 572 573 574 575 576 577
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
      <feature name='pse36'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
578
      <feature name='syscall'/>
579
      <feature name='tsc'/>
580 581
    </model>

M
Martin Kletzander 已提交
582
    <model name='cpu64-rhel6'>
583 584 585
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
M
Martin Kletzander 已提交
586
      <feature name='cx16'/>
587 588 589 590
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
M
Martin Kletzander 已提交
591
      <feature name='lahf_lm'/>
592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609
      <feature name='lm'/>
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='nx'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
      <feature name='pse36'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
      <feature name='syscall'/>
      <feature name='tsc'/>
610 611
    </model>

M
Martin Kletzander 已提交
612
    <model name='kvm64'>
613 614 615
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
M
Martin Kletzander 已提交
616
      <feature name='cx16'/>
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='lm'/>
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='nx'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
      <feature name='pse36'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
      <feature name='syscall'/>
      <feature name='tsc'/>
639
    </model>
640

M
Martin Kletzander 已提交
641 642 643 644
    <model name='qemu64'>
      <!-- These are supported only by TCG.  KVM supports them only if the
           host does.  So we leave them out:

645
           <feature name='abm'/>
M
Martin Kletzander 已提交
646
           <feature name='lahf_lm'/>
647
           <feature name='popcnt'/>
M
Martin Kletzander 已提交
648 649
           <feature name='sse4a'/>
      -->
650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
      <feature name='cx16'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='lm'/>
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='nx'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
      <feature name='pse36'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
M
Martin Kletzander 已提交
674
      <feature name='svm'/>
675 676
      <feature name='syscall'/>
      <feature name='tsc'/>
M
Martin Kletzander 已提交
677 678 679
    </model>

    <!-- Intel CPU models -->
680
    <model name='Conroe'>
681
      <vendor name='Intel'/>
682
      <feature name='apic'/>
M
Martin Kletzander 已提交
683
      <feature name='clflush'/>
684 685 686 687 688
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
689 690 691
      <feature name='lahf_lm'/>
      <feature name='lm'/>
      <feature name='mca'/>
692 693 694
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
695 696
      <feature name='mtrr'/>
      <feature name='nx'/>
697 698 699
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
700
      <feature name='pni'/>
701
      <feature name='pse'/>
702
      <feature name='pse36'/>
703 704 705
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
706 707
      <feature name='ssse3'/>
      <feature name='syscall'/>
708
      <feature name='tsc'/>
709 710 711
    </model>

    <model name='Penryn'>
712 713 714 715
      <vendor name='Intel'/>
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
716
      <feature name='cx16'/>
717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='lahf_lm'/>
      <feature name='lm'/>
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='nx'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
      <feature name='pse36'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
738
      <feature name='sse4.1'/>
739 740 741
      <feature name='ssse3'/>
      <feature name='syscall'/>
      <feature name='tsc'/>
742 743 744
    </model>

    <model name='Nehalem'>
745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765
      <vendor name='Intel'/>
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
      <feature name='cx16'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='lahf_lm'/>
      <feature name='lm'/>
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='nx'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
766
      <feature name='popcnt'/>
767 768 769 770 771 772
      <feature name='pse'/>
      <feature name='pse36'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
      <feature name='sse4.1'/>
773
      <feature name='sse4.2'/>
774 775 776
      <feature name='ssse3'/>
      <feature name='syscall'/>
      <feature name='tsc'/>
777 778
    </model>

779 780 781 782 783
    <model name='Westmere'>
      <model name='Nehalem'/>
      <feature name='aes'/>
    </model>

784
    <model name='SandyBridge'>
M
Martin Kletzander 已提交
785
      <model name='Westmere'/>
786
      <feature name='avx'/>
787
      <feature name='pclmuldq'/>
788
      <feature name='rdtscp'/>
M
Martin Kletzander 已提交
789
      <feature name='tsc-deadline'/>
790
      <feature name='x2apic'/>
791 792 793
      <feature name='xsave'/>
    </model>

794
    <model name='Haswell-noTSX'>
P
Peter Krempa 已提交
795 796
      <model name='SandyBridge'/>
      <feature name='avx2'/>
797
      <feature name='bmi1'/>
P
Peter Krempa 已提交
798 799
      <feature name='bmi2'/>
      <feature name='erms'/>
800 801
      <feature name='fma'/>
      <feature name='fsgsbase'/>
P
Peter Krempa 已提交
802
      <feature name='invpcid'/>
803 804 805
      <feature name='movbe'/>
      <feature name='pcid'/>
      <feature name='smep'/>
806 807 808 809 810
    </model>

    <model name='Haswell'>
      <model name='Haswell-noTSX'/>
      <feature name='hle'/>
P
Peter Krempa 已提交
811 812 813
      <feature name='rtm'/>
    </model>

814 815
    <model name='Broadwell-noTSX'>
      <model name='Haswell-noTSX'/>
J
Jiri Denemark 已提交
816 817
      <feature name='3dnowprefetch'/>
      <feature name='adx'/>
818
      <feature name='rdseed'/>
J
Jiri Denemark 已提交
819 820 821
      <feature name='smap'/>
    </model>

822 823 824 825 826 827
    <model name='Broadwell'>
      <model name='Broadwell-noTSX'/>
      <feature name='hle'/>
      <feature name='rtm'/>
    </model>

M
Martin Kletzander 已提交
828 829
    <!-- AMD CPUs -->
    <model name='athlon'>
830
      <vendor name='AMD'/>
831 832
      <feature name='3dnow'/>
      <feature name='3dnowext'/>
833 834 835 836 837 838 839 840
      <feature name='apic'/>
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='mce'/>
      <feature name='mmx'/>
841
      <feature name='mmxext'/>
842
      <feature name='msr'/>
843
      <feature name='mtrr'/>
844 845 846 847
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pse'/>
848
      <feature name='pse36'/>
849 850 851 852
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
      <feature name='tsc'/>
853
      <feature name='vme'/>
854 855
    </model>

M
Martin Kletzander 已提交
856
    <model name='phenom'>
857
      <vendor name='AMD'/>
M
Martin Kletzander 已提交
858
      <feature name='3dnow'/>
859
      <feature name='3dnowext'/>
860 861 862 863 864 865 866
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
867
      <feature name='fxsr_opt'/>
868 869 870 871
      <feature name='lm'/>
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
872 873
      <feature name='mmxext'/>
      <feature name='monitor'/>
874 875 876 877 878 879 880 881 882 883 884 885
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='nx'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
      <feature name='pse36'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
M
Martin Kletzander 已提交
886
      <feature name='svm'/>
887 888
      <feature name='syscall'/>
      <feature name='tsc'/>
M
Martin Kletzander 已提交
889 890 891 892
    </model>

    <model name='Opteron_G1'>
      <vendor name='AMD'/>
893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917
      <feature name='apic'/>
      <feature name='clflush'/>
      <feature name='cmov'/>
      <feature name='cx8'/>
      <feature name='de'/>
      <feature name='fpu'/>
      <feature name='fxsr'/>
      <feature name='lm'/>
      <feature name='mca'/>
      <feature name='mce'/>
      <feature name='mmx'/>
      <feature name='msr'/>
      <feature name='mtrr'/>
      <feature name='nx'/>
      <feature name='pae'/>
      <feature name='pat'/>
      <feature name='pge'/>
      <feature name='pni'/>
      <feature name='pse'/>
      <feature name='pse36'/>
      <feature name='sep'/>
      <feature name='sse'/>
      <feature name='sse2'/>
      <feature name='syscall'/>
      <feature name='tsc'/>
M
Martin Kletzander 已提交
918 919 920 921
    </model>

    <model name='Opteron_G2'>
      <model name='Opteron_G1'/>
922 923
      <feature name='cx16'/>
      <feature name='lahf_lm'/>
924
      <feature name='rdtscp'/>
M
Martin Kletzander 已提交
925
      <feature name='svm'/>
926 927 928
    </model>

    <model name='Opteron_G3'>
M
Martin Kletzander 已提交
929
      <model name='Opteron_G2'/>
930 931
      <feature name='abm'/>
      <feature name='misalignsse'/>
932 933
      <feature name='monitor'/>
      <feature name='popcnt'/>
M
Martin Kletzander 已提交
934
      <feature name='sse4a'/>
935
    </model>
936 937

    <model name='Opteron_G4'>
M
Martin Kletzander 已提交
938 939 940
      <model name='Opteron_G2'/>
      <!-- Can't inherit from G3 because of missing "monitor"
           feature -->
941 942
      <feature name='3dnowprefetch'/>
      <feature name='abm'/>
943 944
      <feature name='aes'/>
      <feature name='avx'/>
945 946 947
      <feature name='fma4'/>
      <feature name='misalignsse'/>
      <feature name='pclmuldq'/>
948
      <feature name='pdpe1gb'/>
949 950 951
      <feature name='popcnt'/>
      <feature name='sse4.1'/>
      <feature name='sse4.2'/>
952
      <feature name='sse4a'/>
953
      <feature name='ssse3'/>
954
      <feature name='xop'/>
955
      <feature name='xsave'/>
956
    </model>
P
Peter Krempa 已提交
957 958 959 960 961 962 963

    <model name='Opteron_G5'>
      <model name='Opteron_G4'/>
      <feature name='f16c'/>
      <feature name='fma'/>
      <feature name='tbm'/>
    </model>
964
  </arch>
965

L
Li Zhang 已提交
966
  <arch name='ppc64'>
967 968
    <!-- vendor definitions -->
    <vendor name='IBM'/>
O
Olivia Yin 已提交
969
    <vendor name='Freescale'/>
970 971

    <!-- IBM-based CPU models -->
L
Li Zhang 已提交
972 973
    <model name='POWER7'>
      <vendor name='IBM'/>
974
      <pvr value='0x003f0200'/>
L
Li Zhang 已提交
975
    </model>
976

L
Li Zhang 已提交
977 978
    <model name='POWER7_v2.1'>
      <vendor name='IBM'/>
979
      <pvr value='0x003f0201'/>
L
Li Zhang 已提交
980
    </model>
981

L
Li Zhang 已提交
982 983
    <model name='POWER7_v2.3'>
      <vendor name='IBM'/>
984
      <pvr value='0x003f0203'/>
L
Li Zhang 已提交
985
    </model>
986 987 988 989 990 991 992 993 994 995 996

    <model name='POWER7+_v2.1'>
      <vendor name='IBM'/>
      <pvr value='0x004a0201'/>
    </model>

    <model name='POWER8_v1.0'>
      <vendor name='IBM'/>
      <pvr value='0x004b0100'/>
    </model>

997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026
    <model name='power6'>
      <vendor name='IBM'/>
      <compat isa='2.05'/>
      <pvr value='0x003e0000'/>
    </model>

    <model name='power7'>
      <vendor name='IBM'/>
      <compat isa='2.06'/>
      <pvr value='0x003f0000'/>
    </model>

    <model name='power7+'>
      <vendor name='IBM'/>
      <compat isa='2.06B'/>
      <pvr value='0x004a0000'/>
    </model>

    <model name='power8e'>
      <vendor name='IBM'/>
      <compat isa='2.07'/>
      <pvr value='0x004b0000'/>
    </model>

    <model name='power8'>
      <vendor name='IBM'/>
      <compat isa='2.07'/>
      <pvr value='0x004d0000'/>
    </model>

1027
    <!-- Freescale-based CPU models -->
O
Olivia Yin 已提交
1028 1029 1030 1031 1032 1033 1034 1035 1036
    <model name='POWERPC_e5500'>
      <vendor name='Freescale'/>
      <pvr value='0x80240000'/>
    </model>

    <model name='POWERPC_e6500'>
      <vendor name='Freescale'/>
      <pvr value='0x80400000'/>
    </model>
L
Li Zhang 已提交
1037
  </arch>
1038
</cpus>