diff options
author | Peter Maydell | 2019-06-17 18:01:30 +0200 |
---|---|---|
committer | Peter Maydell | 2019-06-18 15:41:29 +0200 |
commit | 34bea4edb9bbe8edf4b8606276482acdff5ca58b (patch) | |
tree | 5d082984d97954413a7f820e2ff69e96123ea0aa | |
parent | Merge remote-tracking branch 'remotes/armbru/tags/pull-monitor-2019-06-17-v2'... (diff) | |
download | qemu-34bea4edb9bbe8edf4b8606276482acdff5ca58b.tar.gz qemu-34bea4edb9bbe8edf4b8606276482acdff5ca58b.tar.xz qemu-34bea4edb9bbe8edf4b8606276482acdff5ca58b.zip |
target/arm: Check for dp support for dp VFM, not sp
In commit 1120827fa182f0e7622 we accidentally put the
"UNDEF unless FPU has double-precision support" check in
the single-precision VFM function. Put it in the dp
function where it belongs.
Fixes: 1120827fa182f0e7622
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20190617160130.3207-1-peter.maydell@linaro.org
-rw-r--r-- | target/arm/translate-vfp.inc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/arm/translate-vfp.inc.c b/target/arm/translate-vfp.inc.c index 348173d602..deaddb0442 100644 --- a/target/arm/translate-vfp.inc.c +++ b/target/arm/translate-vfp.inc.c @@ -1771,10 +1771,6 @@ static bool trans_VFM_sp(DisasContext *s, arg_VFM_sp *a) return false; } - if (!dc_isar_feature(aa32_fpdp, s)) { - return false; - } - if (!vfp_access_check(s)) { return true; } @@ -1838,6 +1834,10 @@ static bool trans_VFM_dp(DisasContext *s, arg_VFM_dp *a) return false; } + if (!dc_isar_feature(aa32_fpdp, s)) { + return false; + } + if (!vfp_access_check(s)) { return true; } |