aboutsummaryrefslogtreecommitdiff
path: root/target/arm/translate.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2022-06-08 19:38:54 +0100
committerPeter Maydell <peter.maydell@linaro.org>2022-06-08 19:38:54 +0100
commitf45ce4c35f5e0873bbbc3119eff8539610233b7e (patch)
tree28e00c540fdb80e6ea4bafe0619ee783a4a28315 /target/arm/translate.h
parent5e79887ba67e22bfd890b72f94c482176a200fbc (diff)
downloadqemu-f45ce4c35f5e0873bbbc3119eff8539610233b7e.zip
qemu-f45ce4c35f5e0873bbbc3119eff8539610233b7e.tar.gz
qemu-f45ce4c35f5e0873bbbc3119eff8539610233b7e.tar.bz2
target/arm: Rename TBFLAG_A64 ZCR_LEN to VL
With SME, the vector length does not only come from ZCR_ELx. Comment that this is either NVL or SVL, like the pseudocode. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220607203306.657998-2-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/translate.h')
-rw-r--r--target/arm/translate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/translate.h b/target/arm/translate.h
index 9f0bb27..f473a21 100644
--- a/target/arm/translate.h
+++ b/target/arm/translate.h
@@ -42,7 +42,7 @@ typedef struct DisasContext {
bool ns; /* Use non-secure CPREG bank on access */
int fp_excp_el; /* FP exception EL or 0 if enabled */
int sve_excp_el; /* SVE exception EL or 0 if enabled */
- int sve_len; /* SVE vector length in bytes */
+ int vl; /* current vector length in bytes */
/* Flag indicating that exceptions from secure mode are routed to EL3. */
bool secure_routed_to_el3;
bool vfp_enabled; /* FP enabled via FPSCR.EN */