[Bug libstdc++/85466] Performance is slow when doing 'branchless' conditional style math operations

cpphackster at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 20 01:52:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85466

--- Comment #14 from Daniel Elliott <cpphackster at gmail dot com> ---
I had a response from chandler carruth on twitter, who informed me that the
benchark was hoisting the computation out of the loop. So thats why clang was
faster. but also he said that the noconditional version was not vectorized.


More information about the Gcc-bugs mailing list