summaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorGravatar Marshall Mohror2020-07-07 16:39:23 -0500
committerGravatar FearlessTobi2020-07-11 18:39:00 +0200
commita4306b9e5662fca74f65f0b657e7002fda7f1829 (patch)
treecbd176cf7b3dd85cde0b8fb65f8df38727d1c9a5 /src/core/frontend/framebuffer_layout.cpp
parentMerge pull request #4203 from VolcaEM/services (diff)
downloadyuzu-a4306b9e5662fca74f65f0b657e7002fda7f1829.tar.gz
yuzu-a4306b9e5662fca74f65f0b657e7002fda7f1829.tar.xz
yuzu-a4306b9e5662fca74f65f0b657e7002fda7f1829.zip
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/core/frontend/framebuffer_layout.cpp')
0 files changed, 0 insertions, 0 deletions