Re:Popcount CPU instruction
by saagarjha on Sunday September 08, 2019 @11:48PM
(#20915080)
SPEC is full of undefined behavior, so as far as I know many compiler engineers dislike it because it “breaks” when compilers get better.
[ Parent
| on HN ]
That’s the wrong attitude. If it has undefined behavior, then a valid response is to inject malware to cause the benchmark to return a fast result.