r/cpp • u/Xadartt • Mar 31 '26
Two studies in compiler optimisations
https://www.hmpcabral.com/2026/03/20/two-studies-in-compiler-optimisations/
28
Upvotes
r/cpp • u/Xadartt • Mar 31 '26
5
u/Tringi github.com/tringi Apr 01 '26
And here I am patiently waiting when will MSVC finally manage to turn inlined
uint64_t rotl64 (uint64_t x, int k) { return (x << k) | (x >> (64 - k)); }intorol rax, cl.3
u/redditSuggestedIt Mar 31 '26
Interesting!