[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH] Added support for AMD Bulldozer CPU



AMD Bulldozer (or Opteron_G4 as called in QEMU) was added to the list
of cpu models, flags were taken from upstream qemu cpu specifications
and should be sorted by bit values (or first occurence in the feature
specification part of cpu_map.xml).

Based on QEMU upstream commit 885bb0369a4f0abe2c0185178f3cb347cb02cdf1.
---
 src/cpu/cpu_map.xml |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 48 insertions(+), 0 deletions(-)

diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index 6a6603b..8f80dd9 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu/cpu_map.xml
@@ -692,5 +692,53 @@
       <feature name='misalignsse'/>
       <feature name='lahf_lm'/>
     </model>
+
+    <model name='Opteron_G4'>
+      <vendor name='AMD'/>
+      <feature name='fpu'/>
+      <feature name='de'/>
+      <feature name='pse'/>
+      <feature name='tsc'/>
+      <feature name='msr'/>
+      <feature name='pae'/>
+      <feature name='mce'/>
+      <feature name='cx8'/>
+      <feature name='apic'/>
+      <feature name='sep'/>
+      <feature name='mtrr'/>
+      <feature name='pge'/>
+      <feature name='mca'/>
+      <feature name='cmov'/>
+      <feature name='pat'/>
+      <feature name='pse36'/>
+      <feature name='clflush'/>
+      <feature name='mmx'/>
+      <feature name='fxsr'/>
+      <feature name='sse'/>
+      <feature name='sse2'/>
+      <feature name='pni'/>
+      <feature name='pclmuldq'/>
+      <feature name='ssse3'/>
+      <feature name='cx16'/>
+      <feature name='sse4.1'/>
+      <feature name='sse4.2'/>
+      <feature name='popcnt'/>
+      <feature name='aes'/>
+      <feature name='xsave'/>
+      <feature name='avx'/>
+      <feature name='syscall'/>
+      <feature name='nx'/>
+      <feature name='pdpe1gb'/>
+      <feature name='rdtscp'/>
+      <feature name='lm'/>
+      <feature name='lahf_lm'/>
+      <feature name='svm'/>
+      <feature name='abm'/>
+      <feature name='sse4a'/>
+      <feature name='misalignsse'/>
+      <feature name='3dnowprefetch'/>
+      <feature name='xop'/>
+      <feature name='fma4'/>
+    </model>
   </arch>
 </cpus>
-- 
1.7.3.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]