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.master
parent
835efd321e
commit
bd7ee8c315
Loading…
Reference in New Issue