The new model supports following features in addition to those supported
by SandyBridge:
fma, movbe, fsgsbase, bmi1, hle, avx2, smep, bmi2, erms, invpcid, rtm
---
Based on:
https://lists.gnu.org/archive/html/qemu-devel/2012-11/msg01328.html
---
src/cpu/cpu_map.xml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
index 7ff91be..eb69a34 100644
--- a/src/cpu/cpu_map.xml
+++ b/src/cpu/cpu_map.xml
@@ -495,6 +495,22 @@
<feature name='rdtscp'/>
</model>
+ <model name='Haswell'>
+ <model name='SandyBridge'/>
+ <feature name='fma'/>
+ <feature name='pcid'/>
+ <feature name='movbe'/>
+ <feature name='fsgsbase'/>
+ <feature name='bmi1'/>
+ <feature name='hle'/>
+ <feature name='avx2'/>
+ <feature name='smep'/>
+ <feature name='bmi2'/>
+ <feature name='erms'/>
+ <feature name='invpcid'/>
+ <feature name='rtm'/>
+ </model>
+
<!-- AMD CPUs -->
<model name='athlon'>
<model name='pentiumpro'/>
--
1.8.0