package An official xmake package repository
https://xrepo.xmake.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
383 B
17 lines
383 B
11 months ago
|
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)
|
||
|
|