Mercurial > vec
diff CMakeLists.txt @ 27:d00b95f95dd1 default tip
impl/arm/neon: it compiles again, but is untested
author | Paper <paper@tflc.us> |
---|---|
date | Mon, 25 Nov 2024 00:33:02 -0500 |
parents | 92156fe32755 |
children |
line wrap: on
line diff
--- a/CMakeLists.txt Mon Nov 25 04:43:22 2024 +0000 +++ b/CMakeLists.txt Mon Nov 25 00:33:02 2024 -0500 @@ -37,10 +37,10 @@ if(COMPILER_HAS_ALTIVEC) set(COMPILER_ALTIVEC_FLAGS "-maltivec") endif() - #check_c_compiler_flag("-mfpu=neon" COMPILER_HAS_NEON) - #if(COMPILER_HAS_NEON) - # set(COMPILER_NEON_FLAGS "-mfpu=neon") - #endif() + check_c_compiler_flag("-mfpu=neon" COMPILER_HAS_NEON) + if(COMPILER_HAS_NEON) + set(COMPILER_NEON_FLAGS "-mfpu=neon") + endif() check_c_compiler_flag("-mmmx" COMPILER_HAS_MMX) if(COMPILER_HAS_MMX) set(COMPILER_MMX_FLAGS "-mmmx")