This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/72805] AVX512: invalid code generation involving masks


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |5.5

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
For the attached testcase patched gcc now generates:

        vmovdqa64       %zmm0, %zmm1
        vmovdqa64       -112(%rbp), %zmm0
        movl    $-1, %eax
        kmovw   %eax, %k3
        vpcmpd  $1, %zmm1, %zmm0, %k2{%k3}
        kmovw   %k2, %eax
        movzwl  %ax, %eax          <---- changed insn
        addq    $112, %rsp
        popq    %r10

Fixed for all active branches.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]