mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 17:23:40 +01:00
ARM: Check for VFPv4 before using CVT.F32.F16 (vh2f).
Issue #4730 might be fixed by this.
This commit is contained in:
1 parent
7e86907923
commit
245aeecbc0
1 file changed
+7
-1
@@ -974,7 +974,13 @@ namespace MIPSComp
|
||||
DISABLE;
|
||||
}
|
||||
|
||||
if (!cpu_info.bNEON || !cpu_info.bHalf) {
|
||||
if (!cpu_info.bNEON) {
|
||||
DISABLE;
|
||||
}
|
||||
|
||||
// This multi-VCVT.F32.F16 is only available in the VFPv4 extension.
|
||||
// The VFPv3 one is VCVTB, VCVTT which we don't yet have support for.
|
||||
if (!(cpu_info.bHalf && cpu_info.bVFPv4)) {
|
||||
// No hardware support for half-to-float, fallback to interpreter
|
||||
// TODO: Translate the fast SSE solution to standard integer/VFP stuff
|
||||
// for the weaker CPUs.
|
||||
|
||||
Reference in new issue
Block a user