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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #49668|0                           |1
        is obsolete|                            |

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Created attachment 49669
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49669&action=edit
patch

Needs -mavx512vpopcntdq for x86.  The attached is a completed patch, costing
still (as for CTORs) fails to account the root stmts in the scalar cost part.

The testcase is probably going to FAIL too much, there's no effective target
keyword for popcntsi vectorization.

I've made it a non-loop as well since on x86 loop vectorization handles it
otherwise.

Reply via email to