News for hackers. Stuff that matters.
Re:Std: Clamp generates less efficient assembly than std:min... by gpderetta on Tuesday January 16, 2024 @08:48AM (#39013222)
The additional "movapd xmm0, xmm2" is mostly free as it is handled by renaming, but yes, it seems a quirk of the register allocator. It wouldn't be the first time I see GCC trying to move stuff around without obvious reasons.

There are no comments on this comment yet.