diff options
| author | Marshall Mohror <mohror64@gmail.com> | 2020-07-07 16:39:23 -0500 |
|---|---|---|
| committer | FearlessTobi <thm.frey@gmail.com> | 2020-07-11 18:39:00 +0200 |
| commit | ebab55ab8f0b5257fbd431fc9575f06e57247b68 (patch) | |
| tree | cbd176cf7b3dd85cde0b8fb65f8df38727d1c9a5 /src/audio_core/command_generator.cpp | |
| parent | 12834a1c449bc027dd73f9d404602bb8a6ba37fa (diff) | |
Common: remove a mod from AlignUp (#5441)
In cases where the size is not a known constant when inlining, AlignUp<std::size_t> currently generates two 64-bit div instructions.
This generates one div and a cmov which is significantly cheaper.
Diffstat (limited to 'src/audio_core/command_generator.cpp')
0 files changed, 0 insertions, 0 deletions
