diff options
author | Chris Robinson <[email protected]> | 2019-09-29 23:39:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-09-29 23:39:04 -0700 |
commit | c833af9ecd6ed51fcfacc42bbdad16175b882279 (patch) | |
tree | ab44421401840d66e6dda07f6aa69de880c592a8 /alc/mixer/mixer_neon.cpp | |
parent | fb56b020412eb090d9ce4e2ffcc691766e5214b2 (diff) |
Repack the bsinc resamplers coefficients
This puts the base coefficients and the phase deltas next to each other. This
improves caching, as the base and phase deltas are always used together while
the scales are only used for the non-fast versions.
Diffstat (limited to 'alc/mixer/mixer_neon.cpp')
-rw-r--r-- | alc/mixer/mixer_neon.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/alc/mixer/mixer_neon.cpp b/alc/mixer/mixer_neon.cpp index 178c7d6e..75faa61f 100644 --- a/alc/mixer/mixer_neon.cpp +++ b/alc/mixer/mixer_neon.cpp @@ -91,9 +91,9 @@ const ALfloat *Resample_<BSincTag,NEONTag>(const InterpState *state, const ALflo { const float32x4_t pf4{vdupq_n_f32(pf)}; const float *fil{filter + m*pi*4}; - const float *scd{fil + m}; - const float *phd{scd + m}; - const float *spd{phd + m}; + const float *phd{fil + m}; + const float *scd{phd + m}; + const float *spd{scd + m}; size_t td{m >> 2}; size_t j{0u}; @@ -140,7 +140,7 @@ const ALfloat *Resample_<FastBSincTag,NEONTag>(const InterpState *state, { const float32x4_t pf4{vdupq_n_f32(pf)}; const float *fil{filter + m*pi*4}; - const float *phd{fil + m*2}; + const float *phd{fil + m}; size_t td{m >> 2}; size_t j{0u}; |