[Bug tree-optimization/98774] gcc -O3 does not vectorize some operations
vanyacpp at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Jan 27 10:24:01 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98774
--- Comment #3 from Ivan Sorokin <vanyacpp at gmail dot com> ---
(In reply to Hongtao.liu from comment #1)
> It's fixed in current trunk https://godbolt.org/z/63576n
I can confirm that now GCC does use packed multiplication mulpd. Although it is
used somewhat inefficiently. The original program contained 8 multiplications
and clang does 4 packed multiplication. GCC trunk does 6 packed
multiplications.
https://godbolt.org/z/EabPxT
More information about the Gcc-bugs
mailing list