From: Peter Maydell Date: Thu, 30 Apr 2020 18:09:28 +0000 (+0100) Subject: target/arm/translate-vfp.inc.c: Remove duplicate simd_r32 check X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0d787cf1f3c88fa29477e054f8523f6d82d91c98;p=qemu.git target/arm/translate-vfp.inc.c: Remove duplicate simd_r32 check Somewhere along theline we accidentally added a duplicate "using D16-D31 when they don't exist" check to do_vfm_dp() (probably an artifact of a patchseries rebase). Remove it. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-id: 20200430181003.21682-2-peter.maydell@linaro.org --- diff --git a/target/arm/translate-vfp.inc.c b/target/arm/translate-vfp.inc.c index b087bbd812..e1a9017598 100644 --- a/target/arm/translate-vfp.inc.c +++ b/target/arm/translate-vfp.inc.c @@ -1872,12 +1872,6 @@ static bool do_vfm_dp(DisasContext *s, arg_VFMA_dp *a, bool neg_n, bool neg_d) return false; } - /* UNDEF accesses to D16-D31 if they don't exist. */ - if (!dc_isar_feature(aa32_simd_r32, s) && - ((a->vd | a->vn | a->vm) & 0x10)) { - return false; - } - if (!vfp_access_check(s)) { return true; }