ARM NEON supports multiply-accumulate instruction vmla, use that in pmadd().

This commit is contained in:
kmargar
2012-05-28 14:55:23 +03:00
parent b202c5ed2f
commit 97cdf6ce9e
2 changed files with 3 additions and 2 deletions

View File

@@ -164,7 +164,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
option(EIGEN_TEST_NEON "Enable/Disable Neon in tests/examples" OFF)
if(EIGEN_TEST_NEON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfloat-abi=softfp -mfpu=neon -mcpu=cortex-a8")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mfpu=neon -mcpu=cortex-a8")
message(STATUS "Enabling NEON in tests/examples")
endif()