Skip to content

Commit

Permalink
workarounds: Fix typo in AVX512VL detection logic
Browse files Browse the repository at this point in the history
  • Loading branch information
p12tic committed Nov 24, 2017
1 parent 83ffc65 commit f1d4519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/SimdppMultiarch.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ endif()
set(SIMDPP_X86_AVX512VL_DEFINE "SIMDPP_ARCH_X86_AVX512VL")
set(SIMDPP_X86_AVX512VL_SUFFIX "-x86_avx512vl")
set(SIMDPP_X86_AVX512VL_TEST_CODE
"#if (!defined(__APPLE__) && (__clang_major__ == 3)
"#if !defined(__APPLE__) && (__clang_major__ == 3)
#error AVX512VL is not supported on clang 3.9 and earlier.
#endif
Expand Down
2 changes: 1 addition & 1 deletion simdpp/detail/workarounds.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#endif

#if SIMDPP_USE_AVX512VL
#if (!defined(__APPLE__) && (__clang_major__ == 3)
#if !defined(__APPLE__) && (__clang_major__ == 3)
// clang 3.9 and older incorrectly compile reduce_{min,max} for int32 and uint32
#error Clang 3.9 and older is not supported on AVX512VL due to compiler bugs.
#endif
Expand Down

0 comments on commit f1d4519

Please sign in to comment.