[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 07/14] target/arm: Fix svep width in arm_gen_dynamic_svereg_xm
From: |
Richard Henderson |
Subject: |
[PATCH v3 07/14] target/arm: Fix svep width in arm_gen_dynamic_svereg_xml |
Date: |
Mon, 27 Feb 2023 11:33:22 -1000 |
Define svep based on the size of the predicates,
not the primary vector registers.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/arm/gdbstub64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/arm/gdbstub64.c b/target/arm/gdbstub64.c
index 895e19f084..d0e1305f6f 100644
--- a/target/arm/gdbstub64.c
+++ b/target/arm/gdbstub64.c
@@ -297,7 +297,7 @@ int arm_gen_dynamic_svereg_xml(CPUState *cs, int
orig_base_reg)
/* Create the predicate vector type. */
g_string_append_printf(s,
"<vector id=\"svep\" type=\"uint8\" count=\"%d\"/>",
- reg_width / 8);
+ pred_width / 8);
/* Define the vector registers. */
for (i = 0; i < 32; i++) {
--
2.34.1
- [PATCH v3 00/14] target/arm: gdbstub cleanups and additions, Richard Henderson, 2023/02/27
- [PATCH v3 01/14] target/arm: Normalize aarch64 gdbstub get/set function names, Richard Henderson, 2023/02/27
- [PATCH v3 02/14] target/arm: Unexport arm_gen_dynamic_sysreg_xml, Richard Henderson, 2023/02/27
- [PATCH v3 03/14] target/arm: Move arm_gen_dynamic_svereg_xml to gdbstub64.c, Richard Henderson, 2023/02/27
- [PATCH v3 04/14] target/arm: Split out output_vector_union_type, Richard Henderson, 2023/02/27
- [PATCH v3 05/14] target/arm: Simplify register counting in arm_gen_dynamic_svereg_xml, Richard Henderson, 2023/02/27
- [PATCH v3 06/14] target/arm: Hoist pred_width in arm_gen_dynamic_svereg_xml, Richard Henderson, 2023/02/27
- [PATCH v3 07/14] target/arm: Fix svep width in arm_gen_dynamic_svereg_xml,
Richard Henderson <=
- [PATCH v3 08/14] target/arm: Add name argument to output_vector_union_type, Richard Henderson, 2023/02/27
- [PATCH v3 09/14] target/arm: Simplify iteration over bit widths, Richard Henderson, 2023/02/27
- [PATCH v3 10/14] target/arm: Create pauth_ptr_mask, Richard Henderson, 2023/02/27
- [PATCH v3 11/14] target/arm: Implement gdbstub pauth extension, Richard Henderson, 2023/02/27
- [PATCH v3 12/14] target/arm: Export arm_v7m_mrs_control, Richard Henderson, 2023/02/27
- [PATCH v3 13/14] target/arm: Export arm_v7m_get_sp_ptr, Richard Henderson, 2023/02/27
- [PATCH v3 14/14] target/arm: Implement gdbstub m-profile systemreg and secext, Richard Henderson, 2023/02/27