Re: [PATCH 37/71] target/arm: Add cpu properties for SME

2022-06-07 Thread Richard Henderson
On 6/7/22 02:47, Peter Maydell wrote: +void arm_cpu_sme_finalize(ARMCPU *cpu, Error **errp) +{ +uint32_t vq_map = cpu->sme_vq.map; +uint32_t vq_init = cpu->sme_vq.init; +uint32_t vq_supported = cpu->sme_vq.supported; +uint32_t vq; + +if (vq_map == 0) { +if (!cpu_isar_f

Re: [PATCH 37/71] target/arm: Add cpu properties for SME

2022-06-07 Thread Peter Maydell
On Thu, 2 Jun 2022 at 23:33, Richard Henderson wrote: > > Mirror the properties for SVE. The main difference is > that any arbitrary set of powers of 2 may be supported, > and not the stricter constraints that apply to SVE. > > Include a property to control FEAT_SME_FA64, as failing > to restrict

[PATCH 37/71] target/arm: Add cpu properties for SME

2022-06-02 Thread Richard Henderson
Mirror the properties for SVE. The main difference is that any arbitrary set of powers of 2 may be supported, and not the stricter constraints that apply to SVE. Include a property to control FEAT_SME_FA64, as failing to restrict the runtime to the proper subset of insns could be a major point fo