Vero4k doesn't report its NEON support - so check for underlying Arm Cortex-A53.

This commit is contained in:
hissingshark committed 2022-04-25 23:39:17 +01:00
1 parent 6227537949
commit b9c7181808
1 file changed
+3
+3
View File
@@ -324,6 +324,9 @@ void CPUInfo::Detect()
unsigned short CPUPart = GetCPUPart();
if (GetCPUImplementer() == 0x51 && (CPUPart == 0x4D || CPUPart == 0x6F))
bIDIVa = bIDIVt = true;
// Vero4k supports NEON but doesn't report it. Check for Arm Cortex-A53.
if (GetCPUImplementer() == 0x41 && CPUPart == 0xd03)
bNEON = true;
// These two require ARMv8 or higher
bFP = CheckCPUFeature("fp");
bASIMD = CheckCPUFeature("asimd");