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
a0ee597b19
commit
a4306b9e56
Loading…
Reference in New Issue