From 88933caf102935b57d4ef35451198b95030db5ab Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 30 Sep 2024 21:09:10 -0700 Subject: [PATCH] Fix defining LIBDEFLATE_ASSEMBLER_DOES_NOT_SUPPORT_AVX512VNNI --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1563f0f..198bcc7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,7 +119,7 @@ if(UNIX AND CMAKE_C_COMPILER_ID STREQUAL "GNU") if(${machine} MATCHES "^(x86_64|i[3-6]86)") if(${CMAKE_C_COMPILER_VERSION} VERSION_GREATER_EQUAL 8.1) # Set LIBDEFLATE_ASSEMBLER_DOES_NOT_SUPPORT_AVX512VNNI if needed. - check_assembler_support(AVX512_VNNI "vpdpbusd %zmm0, %zmm0, %zmm0") + check_assembler_support(AVX512VNNI "vpdpbusd %zmm0, %zmm0, %zmm0") # Set LIBDEFLATE_ASSEMBLER_DOES_NOT_SUPPORT_VPCLMULQDQ if needed. check_assembler_support(VPCLMULQDQ "vpclmulqdq $0, %zmm0, %zmm0, %zmm0") endif()