]> git.proxmox.com Git - mirror_qemu.git/commit - target/arm/helper.c
target/arm: Use el_is_in_host for sve_zcr_len_for_el
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 8 Jun 2022 18:38:56 +0000 (19:38 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jun 2022 18:38:56 +0000 (19:38 +0100)
commitc6225bebc2498e9dd85bdd4de1840925650c7a9f
treea1eddd022c612431bbbcbef525202658308a3eeb
parent19668718ad188e1b6a162bb52357a67fd407c96c
target/arm: Use el_is_in_host for sve_zcr_len_for_el

The ARM pseudocode function NVL uses this predicate now,
and I think it's a bit clearer.  Simplify the pseudocode
condition by noting that IsInHost is always false for EL1.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20220607203306.657998-7-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/helper.c