diff options
author | Haibo Huang <hhb@google.com> | 2020-07-11 01:08:01 -0700 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2020-07-11 01:08:01 -0700 |
commit | 651d7f074901b683784bf148646229d4b218fa27 (patch) | |
tree | 21917a7c468ab2439b54aded32362552fce09873 /simd/pf_neon_float.h | |
parent | f620dccfa6cf5c15904cb7d90d37038e9132216d (diff) | |
parent | 7ed5e2a45040ae91c0b2fade901a503c77ccf381 (diff) | |
download | pffft-651d7f074901b683784bf148646229d4b218fa27.tar.gz |
Upgrade pffft to 7ed5e2a45040ae91c0b2fade901a503c77ccf381platform-tools-30.0.4
Change-Id: I95e92d9aef0b696db269454f3890629342f82360
Diffstat (limited to 'simd/pf_neon_float.h')
-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) |