diff options
author | hayati ayguen <h_ayguen@web.de> | 2020-06-12 00:12:57 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 00:12:57 +0200 |
commit | 7ed5e2a45040ae91c0b2fade901a503c77ccf381 (patch) | |
tree | 5ced0d2cde17dfa8db3afdb3b9ddeb4252cb3483 | |
parent | eeb17fc8a08078372de542647841750136e1cf85 (diff) | |
parent | dfc0a036d01cefede3e1d3c4b107041e512f4c88 (diff) | |
download | pffft-7ed5e2a45040ae91c0b2fade901a503c77ccf381.tar.gz |
Merge pull request #15 from hayguen/master
fixed compile error in NEON implementation - missed SSE 2 NEON transl…
-rw-r--r-- | simd/pf_neon_float.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simd/pf_neon_float.h b/simd/pf_neon_float.h index 8c31fcd..1bdd370 100644 --- a/simd/pf_neon_float.h +++ b/simd/pf_neon_float.h @@ -73,9 +73,9 @@ typedef union v4sf_union { # define VSWAPHL(a,b) vcombine_f32(vget_low_f32(b), vget_high_f32(a)) /* reverse/flip all floats */ -# define VREV_S(a) _mm_shuffle_ps(a, a, _MM_SHUFFLE(0,1,2,3)) +# define VREV_S(a) vcombine_f32(vrev64_f32(vget_high_f32(a)), vrev64_f32(vget_low_f32(a))) /* reverse/flip complex floats */ -# define VREV_C(a) _mm_shuffle_ps(a, a, _MM_SHUFFLE(1,0,3,2)) +# define VREV_C(a) vextq_f32(a, a, 2) # define VALIGNED(ptr) ((((uintptr_t)(ptr)) & 0x3) == 0) |