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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|tree-optimization           |target
            Summary|missed vectorization when   |_march=x86_64 uses rep
                   |an array of type 'long' is  |instead of see to do the
                   |initialized to 0            |zeroing

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is not exactly a missed optimization. Rather the default settings for the
generic x86_64 is to use rep stosq for the memset of 0 rather than use the
vector registers to do the zeroing.

If you use different-march= you see that.

Reply via email to