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

Uroš Bizjak <ubizjak at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ubizjak at gmail dot com

--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Created attachment 47924
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47924&action=edit
Prototype patch

Prototype patch that introduces missing expanders to generate PMOVZX and PMOVSX
packed moves. For the testcase in Comment #0, we generate (-O3 -mavx):

bar:
        vpmovzxbw       (%rsi), %xmm0
        vmovdqa %xmm0, (%rdi)
        ret

foo:
        vpmovzxbw       %xmm0, %xmm0
        vmovdqa %xmm0, (%rdi)
        ret

Reply via email to