xdg-user-dirs-gtk: update to 0.12
[oi-userland.git] / components / encumbered / x265-4.0 / patches / common_cpu.patch
blobdf8b72453ab6ca2ea5e597c03b4ef721ca432a95
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
10 namespace X265_NS {
11 -static bool enable512 = false;
12 +bool enable512 = false;
13 const cpu_name_t cpu_names[] =
15 #if X265_ARCH_X86
16 @@ -123,10 +123,6 @@ uint64_t PFX(cpu_xgetbv)(int xcr);
17 #pragma warning(disable: 4309) // truncation of constant value
18 #endif
20 -bool detect512()
22 - return(enable512);
25 uint32_t cpu_detect(bool benableavx512 )