mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-09 12:16:42 -04:00
Test for __ARM_NEON, not __ARM_NEON__
This commit is contained in:
parent
81e45b86e2
commit
2dafb65f28
@ -36,7 +36,7 @@ typedef s16 mf_pos_t;
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __ARM_NEON__
|
#ifdef __ARM_NEON
|
||||||
# include "matchfinder_neon.h"
|
# include "matchfinder_neon.h"
|
||||||
# if MATCHFINDER_ALIGNMENT < 16
|
# if MATCHFINDER_ALIGNMENT < 16
|
||||||
# undef MATCHFINDER_ALIGNMENT
|
# undef MATCHFINDER_ALIGNMENT
|
||||||
@ -66,7 +66,7 @@ matchfinder_init(mf_pos_t *data, size_t num_entries)
|
|||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__ARM_NEON__) && defined(_aligned_attribute)
|
#if defined(__ARM_NEON) && defined(_aligned_attribute)
|
||||||
if (matchfinder_init_neon(data, num_entries * sizeof(data[0])))
|
if (matchfinder_init_neon(data, num_entries * sizeof(data[0])))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
@ -111,7 +111,7 @@ matchfinder_rebase(mf_pos_t *data, size_t num_entries)
|
|||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__ARM_NEON__) && defined(_aligned_attribute)
|
#if defined(__ARM_NEON) && defined(_aligned_attribute)
|
||||||
if (matchfinder_rebase_neon(data, num_entries * sizeof(data[0])))
|
if (matchfinder_rebase_neon(data, num_entries * sizeof(data[0])))
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user