Re: [Qemu-devel] AArch64: ZCR and ARM_CP_SVE/ARM_CP_FPU flags

2018-05-25 Thread Richard Henderson
On 05/22/2018 11:49 PM, Laurent Desnogues wrote: > ZCR system registers are both flagged as ARM_CP_SVE and ARM_CP_FPU, > which results in an assertion failure in fp_access_check due to the > check of these flags in handle_sys: > > if ((ri->type & ARM_CP_SVE) && !sve_access_check(s)) { >

[Qemu-devel] AArch64: ZCR and ARM_CP_SVE/ARM_CP_FPU flags

2018-05-22 Thread Laurent Desnogues
Hi, ZCR system registers are both flagged as ARM_CP_SVE and ARM_CP_FPU, which results in an assertion failure in fp_access_check due to the check of these flags in handle_sys: if ((ri->type & ARM_CP_SVE) && !sve_access_check(s)) { return; } if ((ri->type & ARM_CP_FPU) && !fp_a