From f7bada252611102e7d04b09e45aed5238ddcf5d0 Mon Sep 17 00:00:00 2001 From: Parakoopa Date: Thu, 14 May 2020 03:28:03 +0200 Subject: [PATCH] Flag to disable AVX512 --- desmume/src/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desmume/src/types.h b/desmume/src/types.h index d3bf54f42..0a7929b01 100644 --- a/desmume/src/types.h +++ b/desmume/src/types.h @@ -96,7 +96,7 @@ #define ENABLE_AVX512_0 #endif - #if defined(ENABLE_AVX512_0) && defined(__AVX512BW__) && defined(__AVX512DQ__) + #if defined(ENABLE_AVX512_0) && defined(__AVX512BW__) && defined(__AVX512DQ__) && !defined(FORCE_AVX512_0) #define ENABLE_AVX512_1 #endif