diff --git a/libraries/audio/src/AudioHRTF.cpp b/libraries/audio/src/AudioHRTF.cpp index 19f89dd271..d31aefc9bb 100644 --- a/libraries/audio/src/AudioHRTF.cpp +++ b/libraries/audio/src/AudioHRTF.cpp @@ -141,42 +141,18 @@ static bool cpuSupportsAVX() { return result; } -//static bool cpuSupportsAVX2() { -// int info[4]; -// int mask = (1 << 5); // AVX2 -// -// bool result = false; -// if (cpuSupportsAVX()) { -// -// __cpuidex(info, 0x7, 0); -// -// if ((info[1] & mask) == mask) { -// result = true; -// } -// } -// return result; -//} - #elif defined(__GNU__) static bool cpuSupportsAVX() { return __builtin_cpu_supports("avx"); } -//static bool cpuSupportsAVX2() { -// return __builtin_cpu_supports("avx2"); -//} - #else static bool cpuSupportsAVX() { return false; } -//static bool cpuSupportsAVX2() { -// return false; -//} - #endif //