mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-02-02 06:31:00 +00:00
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. Backports commit 34bea4edb9bbe8edf4b8606276482acdff5ca58b from qemu
This commit is contained in:
parent
dc1f2247ec
commit
fa19f96e8c
|
@ -1793,10 +1793,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;
|
||||
}
|
||||
|
@ -1861,6 +1857,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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue