This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/72805] AVX512: invalid code generation involving masks
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 04 Aug 2016 21:29:48 +0000
- Subject: [Bug target/72805] AVX512: invalid code generation involving masks
- Auto-submitted: auto-generated
- References: <bug-72805-4@http.gcc.gnu.org/bugzilla/>
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.