diff options
author | Chris Robinson <[email protected]> | 2020-05-02 16:42:24 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-05-02 16:42:24 -0700 |
commit | 6823fa2de211e57bca9fb73b90ae04b7edc5f484 (patch) | |
tree | c974195fc11df38aaf4b759cbbca25a5aa765da5 /alc/effects/autowah.cpp | |
parent | 3898b77dd6b3d0bd9fad6b4f65f15b3c5b44c39b (diff) |
Improve the leftover and realignment mixing loops
Using a mask helps the compiler recognize that the leftover (any remaining non-
multiple-of-4) and realignment loops will only have 3 iterations at most, which
it can unroll or otherwise make more meaningful optimizations for. Previously
it would try to vectorize and partially unroll the loops, which is wasteful
when there would never be enough to vectorize.
Diffstat (limited to 'alc/effects/autowah.cpp')
0 files changed, 0 insertions, 0 deletions