[Bug tree-optimization/117379] Failure to vectorize multi add + mulit sub

avinashd at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 11 07:06:54 GMT 2026


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

Avinash Jayakar <avinashd at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |avinashd at gcc dot gnu.org

--- Comment #3 from Avinash Jayakar <avinashd at gcc dot gnu.org> ---
I can take a look at this one. I see that even if the operations are not mixed,
the vectorization does not happen in powerpc

https://godbolt.org/z/YEM1q4bM8

but it does in x86, although clang seems to generate smaller code:

https://godbolt.org/z/zTacs4Khj


More information about the Gcc-bugs mailing list