http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56812



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



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |WAITING

   Last reconfirmed|                            |2013-04-02

     Ever Confirmed|0                           |1



--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-02 
13:20:47 UTC ---

It should not make a difference ... I see that vectorization is determined

to be not profitable though:



t.C:11: note: === vect_update_slp_costs_according_to_vf ===cost model: prologue

peel iters set to vf/2.cost model: epilogue peel iters set to vf/2 because

peeling for alignment is unknown.

t.C:11: note: Cost model analysis:

  Vector inside of loop cost: 1

  Vector prologue cost: 11

  Vector epilogue cost: 2

  Scalar iteration cost: 1

  Scalar outside cost: 0

  Vector outside cost: 13

  prologue iterations: 2

  epilogue iterations: 2

  Calculated minimum iters for profitability: 17



but it's not vectorized with 4.8 either.  -fno-vect-cost-model fixes this.



Are you sure you attached the correct testcase?

Reply via email to