aboutsummaryrefslogtreecommitdiff
path: root/SingleSource/UnitTests/Vector/CMakeLists.txt
blob: 839bd69af753018708fa63094c2c4d3dd3562aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
if(ARCH STREQUAL "PowerPC")
  add_subdirectory(Altivec)
endif()
if(ARCH STREQUAL "x86")
  add_subdirectory(SSE)
endif()
CHECK_SYMBOL_EXISTS(__ARM_NEON "" NEON_AVAILABLE)
if(NEON_AVAILABLE)
  add_subdirectory(NEON)
endif()
if(ARCH STREQUAL "AArch64")
  add_subdirectory(AArch64)
endif()

if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
  if(ARCH STREQUAL "x86" AND X86CPU_ARCH STREQUAL "skylake-avx512")
    add_subdirectory(AVX512)
  endif()
endif()
llvm_singlesource(PREFIX "Vector-")