diff options
author | Alexey Frunze <afrunze@wavecomp.com> | 2018-07-06 16:04:30 -0700 |
---|---|---|
committer | Alexey Frunze <afrunze@wavecomp.com> | 2018-07-06 16:04:30 -0700 |
commit | 3875fb05aaa019c700d68b074e61471a96c85b36 (patch) | |
tree | a3ca21891fb7f07bb4b8f521939b4d382e8ae4f8 /cmake | |
parent | 44ea5f7623d1d5211de753b4ea719b63d55b228a (diff) |
Add support for MIPS SIMD (MSA)
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/EigenTesting.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/EigenTesting.cmake b/cmake/EigenTesting.cmake index 1d4486c05..7712f109a 100644 --- a/cmake/EigenTesting.cmake +++ b/cmake/EigenTesting.cmake @@ -452,6 +452,12 @@ macro(ei_testing_print_summary) message(STATUS "VSX: Using architecture defaults") endif() + if(EIGEN_TEST_MSA) + message(STATUS "MIPS MSA: ON") + else() + message(STATUS "MIPS MSA: Using architecture defaults") + endif() + if(EIGEN_TEST_NEON) message(STATUS "ARM NEON: ON") else() @@ -655,6 +661,8 @@ macro(ei_get_cxxflags VAR) set(${VAR} SSE3) elseif(EIGEN_TEST_SSE2 OR IS_64BIT_ENV) set(${VAR} SSE2) + elseif(EIGEN_TEST_MSA) + set(${VAR} MSA) endif() if(EIGEN_TEST_OPENMP) |