diff --git a/src/ClassiCube.vcxproj b/src/ClassiCube.vcxproj index 80aa3886a..7682f5336 100644 --- a/src/ClassiCube.vcxproj +++ b/src/ClassiCube.vcxproj @@ -599,7 +599,6 @@ - @@ -668,4 +667,4 @@ - \ No newline at end of file + diff --git a/third_party/bearssl/chacha20_sse2.c b/third_party/bearssl/chacha20_sse2.c index 92b4a4a83..2905d09b4 100644 --- a/third_party/bearssl/chacha20_sse2.c +++ b/third_party/bearssl/chacha20_sse2.c @@ -40,21 +40,13 @@ br_chacha20_sse2_get(void) * If using 64-bit mode, then SSE2 opcodes should be automatically * available, since they are part of the ABI. * - * In 32-bit mode, we use CPUID to detect the SSE2 feature. + * In 32-bit mode, not used due anymore to hitting an obscure possible compiler bug. */ #if BR_amd64 return &br_chacha20_sse2_run; #else - - /* - * SSE2 support is indicated by bit 26 in EDX. - */ - if (br_cpuid(0, 0, 0, 0x04000000)) { - return &br_chacha20_sse2_run; - } else { - return 0; - } + return 0; #endif }