Add support for MIPS SIMD (MSA)

This commit is contained in:
Alexey Frunze
2018-07-06 16:04:30 -07:00
parent 44ea5f7623
commit 3875fb05aa
7 changed files with 2481 additions and 1 deletions

View File

@@ -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)