diff options
author | Chris Robinson <[email protected]> | 2020-04-03 02:57:51 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-03 02:57:51 -0700 |
commit | 236564b54ace15b940ca5e97f44e2e7e0a8f4846 (patch) | |
tree | dc379f12bdb66400a471d5063ece7da12831b43e /alc/mixer/mixer_neon.cpp | |
parent | 8adbde90f5f1384c6ae2b75eb96e5ec6c14842de (diff) |
Another small cleanup
Diffstat (limited to 'alc/mixer/mixer_neon.cpp')
-rw-r--r-- | alc/mixer/mixer_neon.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/alc/mixer/mixer_neon.cpp b/alc/mixer/mixer_neon.cpp index 9048e30b..e44a3dbe 100644 --- a/alc/mixer/mixer_neon.cpp +++ b/alc/mixer/mixer_neon.cpp @@ -236,12 +236,11 @@ void Mix_<NEONTag>(const al::span<const float> InSamples, const al::span<FloatBu const float32x4_t four4{vdupq_n_f32(4.0f)}; const float32x4_t step4{vdupq_n_f32(step)}; const float32x4_t gain4{vdupq_n_f32(gain)}; - float32x4_t step_count4{vsetq_lane_f32(0.0f, - vsetq_lane_f32(1.0f, - vsetq_lane_f32(2.0f, - vsetq_lane_f32(3.0f, vdupq_n_f32(0.0f), 3), - 2), 1), 0 - )}; + float32x4_t step_count4{vdupq_n_f32(0.0f)}; + step_count4 = vsetq_lane_f32(1.0f, step_count4, 1); + step_count4 = vsetq_lane_f32(2.0f, step_count4, 2); + step_count4 = vsetq_lane_f32(3.0f, step_count4, 3); + do { const float32x4_t val4 = vld1q_f32(in_iter); float32x4_t dry4 = vld1q_f32(dst); |