[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v5 24/48] target/arm/helper: remove remaining TARGET_AARCH64
From: |
Pierrick Bouvier |
Subject: |
[PATCH v5 24/48] target/arm/helper: remove remaining TARGET_AARCH64 |
Date: |
Sun, 4 May 2025 18:51:59 -0700 |
They were hiding aarch64_sve_narrow_vq and aarch64_sve_change_el, which
we can expose safely.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
target/arm/helper.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/target/arm/helper.c b/target/arm/helper.c
index 7e07ed04a5b..ef9594eec29 100644
--- a/target/arm/helper.c
+++ b/target/arm/helper.c
@@ -6565,9 +6565,7 @@ static void zcr_write(CPUARMState *env, const
ARMCPRegInfo *ri,
*/
new_len = sve_vqm1_for_el(env, cur_el);
if (new_len < old_len) {
-#ifdef TARGET_AARCH64
aarch64_sve_narrow_vq(env, new_len + 1);
-#endif
}
}
@@ -10625,9 +10623,7 @@ static void arm_cpu_do_interrupt_aarch64(CPUState *cs)
* Note that new_el can never be 0. If cur_el is 0, then
* el0_a64 is is_a64(), else el0_a64 is ignored.
*/
-#ifdef TARGET_AARCH64
aarch64_sve_change_el(env, cur_el, new_el, is_a64(env));
-#endif
}
if (cur_el < new_el) {
@@ -11527,7 +11523,6 @@ void cpu_get_tb_cpu_state(CPUARMState *env, vaddr *pc,
*cs_base = flags.flags2;
}
-#ifdef TARGET_AARCH64
/*
* The manual says that when SVE is enabled and VQ is widened the
* implementation is allowed to zero the previously inaccessible
@@ -11639,12 +11634,9 @@ void aarch64_sve_change_el(CPUARMState *env, int
old_el,
/* When changing vector length, clear inaccessible state. */
if (new_len < old_len) {
-#ifdef TARGET_AARCH64
aarch64_sve_narrow_vq(env, new_len + 1);
-#endif
}
}
-#endif
#ifndef CONFIG_USER_ONLY
ARMSecuritySpace arm_security_space(CPUARMState *env)
--
2.47.2
- [PATCH v5 30/48] target/arm/cortex-regs: compile file once (system), (continued)
- [PATCH v5 30/48] target/arm/cortex-regs: compile file once (system), Pierrick Bouvier, 2025/05/04
- [PATCH v5 23/48] target/arm/helper: expose aarch64 cpu registration, Pierrick Bouvier, 2025/05/04
- [PATCH v5 22/48] target/arm/helper: replace target_ulong by vaddr, Pierrick Bouvier, 2025/05/04
- [PATCH v5 33/48] target/arm/ptw: compile file once (system), Pierrick Bouvier, 2025/05/04
- [PATCH v5 32/48] target/arm/ptw: replace TARGET_AARCH64 by CONFIG_ATOMIC64 from arm_casq_ptw, Pierrick Bouvier, 2025/05/04
- [PATCH v5 20/48] target/arm/debug_helper: compile file twice (user, system), Pierrick Bouvier, 2025/05/04
- [PATCH v5 36/48] target/arm/machine: reduce migration include to avoid target specific definitions, Pierrick Bouvier, 2025/05/04
- [PATCH v5 35/48] target/arm/kvm-stub: compile file once (system), Pierrick Bouvier, 2025/05/04
- [PATCH v5 38/48] target/arm/machine: move cpu_post_load kvm bits to kvm_arm_cpu_post_load function, Pierrick Bouvier, 2025/05/04
- [PATCH v5 26/48] target/arm/vfp_fpscr: compile file twice (user, system), Pierrick Bouvier, 2025/05/04
- [PATCH v5 24/48] target/arm/helper: remove remaining TARGET_AARCH64,
Pierrick Bouvier <=
- [PATCH v5 25/48] target/arm/helper: compile file twice (user, system), Pierrick Bouvier, 2025/05/04
- [PATCH v5 27/48] target/arm/arch_dump: remove TARGET_AARCH64 conditionals, Pierrick Bouvier, 2025/05/04
- [PATCH v5 29/48] target/arm/arm-powerctl: compile file once (system), Pierrick Bouvier, 2025/05/04
- [PATCH v5 31/48] target/arm/ptw: replace target_ulong with int64_t, Pierrick Bouvier, 2025/05/04
- [PATCH v5 39/48] target/arm/kvm-stub: add missing stubs, Pierrick Bouvier, 2025/05/04
- [PATCH v5 21/48] target/arm/helper: restrict include to common helpers, Pierrick Bouvier, 2025/05/04
- [PATCH v5 17/48] target/arm/helper: extract common helpers, Pierrick Bouvier, 2025/05/04
- [PATCH v5 28/48] target/arm/arch_dump: compile file once (system), Pierrick Bouvier, 2025/05/04
- [PATCH v5 34/48] target/arm/meson: accelerator files are not needed in user mode, Pierrick Bouvier, 2025/05/04
- [PATCH v5 37/48] target/arm/machine: remove TARGET_AARCH64 from migration state, Pierrick Bouvier, 2025/05/04