The only feature we care about for the moment is SVE vector
lengths.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
src/cpu_map/arm_features.xml | 21 +++++++++++++++++++++
src/cpu_map/index.xml | 4 ++++
2 files changed, 25 insertions(+)
create mode 100644 src/cpu_map/arm_features.xml
diff --git a/src/cpu_map/arm_features.xml b/src/cpu_map/arm_features.xml
new file mode 100644
index 0000000000..94f9e4176d
--- /dev/null
+++ b/src/cpu_map/arm_features.xml
@@ -0,0 +1,21 @@
+<cpus>
+
+ <!-- SVE vector lengths -->
+ <feature name='sve128'/>
+ <feature name='sve256'/>
+ <feature name='sve384'/>
+ <feature name='sve512'/>
+ <feature name='sve640'/>
+ <feature name='sve768'/>
+ <feature name='sve896'/>
+ <feature name='sve1024'/>
+ <feature name='sve1152'/>
+ <feature name='sve1280'/>
+ <feature name='sve1408'/>
+ <feature name='sve1536'/>
+ <feature name='sve1664'/>
+ <feature name='sve1792'/>
+ <feature name='sve1920'/>
+ <feature name='sve2048'/>
+
+</cpus>
diff --git a/src/cpu_map/index.xml b/src/cpu_map/index.xml
index 3c6885f60c..ed45083dca 100644
--- a/src/cpu_map/index.xml
+++ b/src/cpu_map/index.xml
@@ -75,4 +75,8 @@
<include filename="ppc64_POWERPC_e5500.xml"/>
<include filename="ppc64_POWERPC_e6500.xml"/>
</arch>
+
+ <arch name='arm'>
+ <include filename='arm_features.xml'/>
+ </arch>
</cpus>
--
2.21.0