aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhayati ayguen <h_ayguen@web.de>2020-06-12 00:12:57 +0200
committerGitHub <noreply@github.com>2020-06-12 00:12:57 +0200
commit7ed5e2a45040ae91c0b2fade901a503c77ccf381 (patch)
tree5ced0d2cde17dfa8db3afdb3b9ddeb4252cb3483
parenteeb17fc8a08078372de542647841750136e1cf85 (diff)
parentdfc0a036d01cefede3e1d3c4b107041e512f4c88 (diff)
downloadpffft-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.h4
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)