mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target/arm: Add isar_feature_aa32_vfp_simd
Use this in the places that were checking ARM_FEATURE_VFP, and are obviously testing for the existance of the register set as opposed to testing for some particular instruction extension. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20200224222232.13807-2-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
25f1d9f38b
commit
7fbc6a403a
7 changed files with 37 additions and 26 deletions
|
@ -346,7 +346,7 @@ static void setup_sigframe_v2(struct target_ucontext_v2 *uc,
|
|||
setup_sigcontext(&uc->tuc_mcontext, env, set->sig[0]);
|
||||
/* Save coprocessor signal frame. */
|
||||
regspace = uc->tuc_regspace;
|
||||
if (arm_feature(env, ARM_FEATURE_VFP)) {
|
||||
if (cpu_isar_feature(aa32_vfp_simd, env_archcpu(env))) {
|
||||
regspace = setup_sigframe_v2_vfp(regspace, env);
|
||||
}
|
||||
if (arm_feature(env, ARM_FEATURE_IWMMXT)) {
|
||||
|
@ -671,7 +671,7 @@ static int do_sigframe_return_v2(CPUARMState *env,
|
|||
|
||||
/* Restore coprocessor signal frame */
|
||||
regspace = uc->tuc_regspace;
|
||||
if (arm_feature(env, ARM_FEATURE_VFP)) {
|
||||
if (cpu_isar_feature(aa32_vfp_simd, env_archcpu(env))) {
|
||||
regspace = restore_sigframe_v2_vfp(env, regspace);
|
||||
if (!regspace) {
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue