mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +08:00
extend ctest script for SSSE3 and above
This commit is contained in:
parent
5887a086cf
commit
aee4e950d3
@ -209,6 +209,12 @@ if(DEFINED EIGEN_EXPLICIT_VECTORIZATION)
|
||||
set(CTEST_CMAKE_COMMAND "${CTEST_CMAKE_COMMAND} -DEIGEN_TEST_SSE2=ON")
|
||||
elseif(EIGEN_EXPLICIT_VECTORIZATION MATCHES SSE3)
|
||||
set(CTEST_CMAKE_COMMAND "${CTEST_CMAKE_COMMAND} -DEIGEN_TEST_SSE2=ON -DEIGEN_TEST_SSE3=ON")
|
||||
elseif(EIGEN_EXPLICIT_VECTORIZATION MATCHES SSSE3)
|
||||
set(CTEST_CMAKE_COMMAND "${CTEST_CMAKE_COMMAND} -DEIGEN_TEST_SSE2=ON -DEIGEN_TEST_SSE3=ON -DEIGEN_TEST_SSSE3=ON")
|
||||
elseif(EIGEN_EXPLICIT_VECTORIZATION MATCHES SSE4_1)
|
||||
set(CTEST_CMAKE_COMMAND "${CTEST_CMAKE_COMMAND} -DEIGEN_TEST_SSE2=ON -DEIGEN_TEST_SSE3=ON -DEIGEN_TEST_SSSE3=ON -DEIGEN_TEST_SSE4_1=ON")
|
||||
elseif(EIGEN_EXPLICIT_VECTORIZATION MATCHES SSE4_2)
|
||||
set(CTEST_CMAKE_COMMAND "${CTEST_CMAKE_COMMAND} -DEIGEN_TEST_SSE2=ON -DEIGEN_TEST_SSE3=ON -DEIGEN_TEST_SSSE3=ON -DEIGEN_TEST_SSE4_1=ON -DEIGEN_TEST_SSE4_2=ON")
|
||||
elseif(EIGEN_EXPLICIT_VECTORIZATION MATCHES Altivec)
|
||||
set(CTEST_CMAKE_COMMAND "${CTEST_CMAKE_COMMAND} -DEIGEN_TEST_ALTIVEC=ON")
|
||||
elseif(EIGEN_EXPLICIT_VECTORIZATION MATCHES novec)
|
||||
|
Loading…
Reference in New Issue
Block a user