[Bug tree-optimization/98774] gcc -O3 does not vectorize some operations

vanyacpp at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 14 18:21:19 GMT 2021


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

--- Comment #4 from Ivan Sorokin <vanyacpp at gmail dot com> ---
I retested the sample on GCC 11.2.

https://godbolt.org/z/xrarP3zbY

Compared to Clang 12.0.1 GCC still generates 6 more instructions in total and
does 6 mulpd against Clang's 4 mulpd.


More information about the Gcc-bugs mailing list