[Bug tree-optimization/81038] [8 regression] test case g++.dg/vect/slp-pr56812.cc fails starting with r248678

acsawdey at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 10 00:29:00 GMT 2018


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

acsawdey at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |acsawdey at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |acsawdey at gcc dot gnu.org

--- Comment #4 from acsawdey at gcc dot gnu.org ---
At present trunk is vectorizing this in the vect pass not unrolling and
vectorizing in slp.

Code generated for mydata::Set is:

_ZN6mydata3SetEf:
.LFB4:
        .cfi_startproc
        xscvdpspn 1,1
        li 9,16
        xxspltw 0,1,0
        stxvd2x 0,0,3
        stxvd2x 0,3,9
        blr

It seems like the test case should be looking for this alternative, I can't see
how a loop with a single stxvd2x that runs two iterations would be better.


More information about the Gcc-bugs mailing list