[Base] Disable AVX check on ARM64

This commit is contained in:
Wunkolo 2024-04-27 17:29:06 -07:00
parent b48ec84b3c
commit f25484854c

View file

@ -11,6 +11,8 @@
#include <cstdlib> #include <cstdlib>
#if XE_ARCH_AMD64
// Includes Windows headers, so it goes after platform_win.h. // Includes Windows headers, so it goes after platform_win.h.
#include "third_party/xbyak/xbyak/xbyak_util.h" #include "third_party/xbyak/xbyak/xbyak_util.h"
@ -39,3 +41,5 @@ class StartupAvxCheck {
#pragma warning(suppress : 4073) #pragma warning(suppress : 4073)
#pragma init_seg(lib) #pragma init_seg(lib)
static StartupAvxCheck gStartupAvxCheck; static StartupAvxCheck gStartupAvxCheck;
#endif