ref: eb211838b478491ac17ea2cbfa6e2797376e369e
parent: 2d608a5f004b7f86d291a489ed619e3412827c47
author: Henrik Gramner <gramner@twoorioles.com>
date: Sat Dec 14 16:48:19 EST 2019
x86: Disable AVX-512 by default
--- a/src/cpu.c
+++ b/src/cpu.c
@@ -31,7 +31,12 @@
#include "src/cpu.h"
static unsigned flags = 0;
+#if ARCH_X86
+/* Disable AVX-512 by default for the time being */
+static unsigned flags_mask = ~DAV1D_X86_CPU_FLAG_AVX512ICL;
+#else
static unsigned flags_mask = -1;
+#endif
COLD void dav1d_init_cpu(void) {
#if HAVE_ASM