diff options
| author | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-03-14 01:50:38 +0000 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@Gmail.com> | 2013-03-14 01:50:38 +0000 |
| commit | c93f7760ce185e7ba120a2fb51090ab3732e0807 (patch) | |
| tree | aa7b1c898044d938087a98a594410a6fb28f4bc2 /Source/Core/Common/Src/ArmCPUDetect.cpp | |
| parent | 202e2fa5c84280b345c65f1fbac9925ed18788a4 (diff) | |
Really clean up all the emitter loadstores on ARM. If a ARM device supports VFPv4, then it supports IDIVA, so handle that in CPUDetect.
Diffstat (limited to 'Source/Core/Common/Src/ArmCPUDetect.cpp')
| -rw-r--r-- | Source/Core/Common/Src/ArmCPUDetect.cpp | 6 |
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; } |
