From 3875fb05aaa019c700d68b074e61471a96c85b36 Mon Sep 17 00:00:00 2001 From: Alexey Frunze Date: Fri, 6 Jul 2018 16:04:30 -0700 Subject: Add support for MIPS SIMD (MSA) --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 91545bdb0..0547ee681 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- cgit v1.2.3