diff options
-rw-r--r-- | METADATA | 14 | ||||
-rw-r--r-- | simd/pf_neon_float.h | 4 |
2 files changed, 9 insertions, 9 deletions
@@ -1,9 +1,5 @@ name: "pffft" -description: - "A pretty fast FFT. " - "This is a fork of Julien Pommier's PFFFT. The original hasn't been " - "maintained since 2016, while this one is actively developed on." - +description: "A pretty fast FFT. This is a fork of Julien Pommier\'s PFFFT. The original hasn\'t been maintained since 2016, while this one is actively developed on." third_party { url { type: HOMEPAGE @@ -13,7 +9,11 @@ third_party { type: GIT value: "https://github.com/marton78/pffft.git" } - version: "eeb17fc8a08078372de542647841750136e1cf85" - last_upgrade_date { year: 2020 month: 6 day: 3 } + version: "7ed5e2a45040ae91c0b2fade901a503c77ccf381" license_type: NOTICE + last_upgrade_date { + year: 2020 + month: 7 + day: 11 + } } 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) |