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

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 19 11:43:00 GMT 2018


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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |53947

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
>From the webpage you seem to just use -O3 -std=c++17, the assembly shows the
branchless code isn't vectorized.


Referenced Bugs:

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947
[Bug 53947] [meta-bug] vectorizer missed-optimizations


More information about the Gcc-bugs mailing list