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

@@ -256,6 +256,12 @@ if(NOT MSVC)
message(STATUS "Enabling VSX in tests/examples")
endif()
option(EIGEN_TEST_MSA "Enable/Disable MSA in tests/examples" OFF)
if(EIGEN_TEST_MSA)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mmsa")
message(STATUS "Enabling MSA in tests/examples")
endif()
option(EIGEN_TEST_NEON "Enable/Disable Neon in tests/examples" OFF)
if(EIGEN_TEST_NEON)
if(EIGEN_TEST_FMA)