cpu_map: Introduce ARM CPU features

The only feature we care about for the moment is SVE, which can
be controlled both with a coarse granularity by turning it on/off
completely and with a finer granularity by enabling/disabling
individual vector lengths.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Tested-by: Andrew Jones <drjones@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Andrea Bolognani 2019-07-22 16:41:45 +02:00
parent 25c52cb32f
commit be03587a34
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<cpus>
<!-- SVE vector lengths -->
<feature name='sve'/>
<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>

View File

@ -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>