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() | |
llvm_singlesource(PREFIX "Vector-") |