Skip to content

Commit

Permalink
Fix defining LIBDEFLATE_ASSEMBLER_DOES_NOT_SUPPORT_AVX512VNNI
Browse files Browse the repository at this point in the history
  • Loading branch information
ebiggers committed Oct 1, 2024
1 parent ced051e commit 88933ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 88933ca

Please sign in to comment.