Mercurial > vec
comparison 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 |
comparison
equal
deleted
inserted
replaced
26:6c91cd9a2f2d | 27:d00b95f95dd1 |
---|---|
35 else() | 35 else() |
36 check_c_compiler_flag("-maltivec" COMPILER_HAS_ALTIVEC) | 36 check_c_compiler_flag("-maltivec" COMPILER_HAS_ALTIVEC) |
37 if(COMPILER_HAS_ALTIVEC) | 37 if(COMPILER_HAS_ALTIVEC) |
38 set(COMPILER_ALTIVEC_FLAGS "-maltivec") | 38 set(COMPILER_ALTIVEC_FLAGS "-maltivec") |
39 endif() | 39 endif() |
40 #check_c_compiler_flag("-mfpu=neon" COMPILER_HAS_NEON) | 40 check_c_compiler_flag("-mfpu=neon" COMPILER_HAS_NEON) |
41 #if(COMPILER_HAS_NEON) | 41 if(COMPILER_HAS_NEON) |
42 # set(COMPILER_NEON_FLAGS "-mfpu=neon") | 42 set(COMPILER_NEON_FLAGS "-mfpu=neon") |
43 #endif() | 43 endif() |
44 check_c_compiler_flag("-mmmx" COMPILER_HAS_MMX) | 44 check_c_compiler_flag("-mmmx" COMPILER_HAS_MMX) |
45 if(COMPILER_HAS_MMX) | 45 if(COMPILER_HAS_MMX) |
46 set(COMPILER_MMX_FLAGS "-mmmx") | 46 set(COMPILER_MMX_FLAGS "-mmmx") |
47 endif() | 47 endif() |
48 check_c_compiler_flag("-msse2" COMPILER_HAS_SSE2) | 48 check_c_compiler_flag("-msse2" COMPILER_HAS_SSE2) |