target/arm/translate-vfp.inc.c: Remove duplicate simd_r32 check
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Apr 2020 18:09:28 +0000 (19:09 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 4 May 2020 11:57:56 +0000 (12:57 +0100)
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 <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20200430181003.21682-2-peter.maydell@linaro.org

target/arm/translate-vfp.inc.c

index b087bbd812e2f888ce77896cf412e8b60cd42f56..e1a90175983d0f7a2c0f16248df5423eada2ec55 100644 (file)
@@ -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;
     }