News for hackers. Stuff that matters.
Re:Std: Clamp generates less efficient assembly than std:min... by x1f604 on Thursday January 18, 2024 @04:06AM (#39039609)
Even with -march=znver1 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/WMKbeq5TY

There are no comments on this comment yet.