News for hackers. Stuff that matters.
Re:How much your computer can do in a second (2015) by saagarjha on Sunday July 12, 2020 @03:27AM (#23809557)
Clang knows what’s up: https://godbolt.org/z/7zKffz. GCC is adding the numbers four at a time by stuffing 0, 1, 2, 3 in an XMM register, taking a packed addition within the register, and then doing a pairwise packed addition of the register with 4, 4, 4, 4 to get the next four numbers.

There are no comments on this comment yet.