parent
cfa67723a8
commit
b96da33fdb
2 changed files with 18 additions and 7 deletions
@ -0,0 +1,16 @@ |
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c3062e2..47443d1 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -194,9 +194,9 @@ int main() {
|
||||
check_cxx_source_compiles("
|
||||
#include <arm_neon.h>
|
||||
int main() {
|
||||
- uint8_t val = 3, dup[8];
|
||||
+ uint8_t val = 3;
|
||||
uint8x16_t v = vld1q_dup_u8(&val);
|
||||
- vst1q_u8(dup, v);
|
||||
+ val = vmaxvq_u8(v);
|
||||
return 0;
|
||||
}" SNAPPY_HAVE_NEON)
|
||||
|
Loading…
Reference in new issue