summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/ArmCPUDetect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/ArmCPUDetect.cpp')
-rw-r--r--Source/Core/Common/Src/ArmCPUDetect.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/ArmCPUDetect.cpp b/Source/Core/Common/Src/ArmCPUDetect.cpp
index 8b5cbf9b79..db1c967ec3 100644
--- a/Source/Core/Common/Src/ArmCPUDetect.cpp
+++ b/Source/Core/Common/Src/ArmCPUDetect.cpp
@@ -154,8 +154,10 @@ std::string CPUInfo::Summarize()
if (bVFPv3) sum += ", VFPv3";
if (bTLS) sum += ", TLS";
if (bVFPv4) sum += ", VFPv4";
- if (bIDIVa) sum += ", IDIVa";
- if (bIDIVt) sum += ", IDIVt";
+ // On some buggy kernels(Qualcomm) they show that they support VFPv4 but not IDIVa
+ // All VFPv4 CPUs will support IDIVa
+ if (bIDIVa || bVFPv4) sum += ", IDIVa";
+ if (bIDIVt || bVFPv4) sum += ", IDIVt";
return sum;
}