1 $NetBSD: patch-common_cpu.cpp,v 1.2 2019/01/25 09:01:13 adam Exp $
3 Retire detect512, make enable512 a global.
5 --- a/source/common/cpu.cpp.orig 2019-01-23 09:47:18.000000000 +0000
6 +++ a/source/common/cpu.cpp
7 @@ -58,7 +58,7 @@ static void sigill_handler(int sig)
8 #endif // if X265_ARCH_ARM
11 -static bool enable512 = false;
12 +bool enable512 = false;
13 const cpu_name_t cpu_names[] =
16 @@ -123,10 +123,6 @@ uint64_t PFX(cpu_xgetbv)(int xcr);
17 #pragma warning(disable: 4309) // truncation of constant value
25 uint32_t cpu_detect(bool benableavx512 )