News for hackers. Stuff that matters.
Re:Std: Clamp generates less efficient assembly than std:min... by x1f604 on Thursday January 18, 2024 @04:07AM (#39039616)
Even with -march=x86-64-v4 at -O3 the compiler still generates fewer lines of assembly for the incorrect clamp compared to the correct clamp for this "realistic" code:

https://godbolt.org/z/hd44KjMMn

There are no comments on this comment yet.