aboutsummaryrefslogtreecommitdiffstats
path: root/alc/effects/compressor.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-05-02 16:42:24 -0700
committerChris Robinson <[email protected]>2020-05-02 16:42:24 -0700
commit6823fa2de211e57bca9fb73b90ae04b7edc5f484 (patch)
treec974195fc11df38aaf4b759cbbca25a5aa765da5 /alc/effects/compressor.cpp
parent3898b77dd6b3d0bd9fad6b4f65f15b3c5b44c39b (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/compressor.cpp')
0 files changed, 0 insertions, 0 deletions