Browse Source

Fixed a typo in the SSE 4.1/4.2 detection logic

tags/2021-05-28
hogliux 9 years ago
parent
commit
01380b12d6
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_core/native/juce_mac_SystemStats.mm

+ 2
- 2
modules/juce_core/native/juce_mac_SystemStats.mm View File

@@ -81,8 +81,8 @@ void CPUInformation::initialise() noexcept
has3DNow = (b & (1u << 31)) != 0;
hasSSE3 = (c & (1u << 0)) != 0;
hasSSSE3 = (c & (1u << 9)) != 0;
hasSSE41 = (c & (1u << 20)) != 0;
hasSSE42 = (c & (1u << 19)) != 0;
hasSSE41 = (c & (1u << 19)) != 0;
hasSSE42 = (c & (1u << 20)) != 0;
hasAVX = (c & (1u << 28)) != 0;
SystemStatsHelpers::doCPUID (a, b, c, d, 7);


Loading…
Cancel
Save