jina.nahias added inline comments.

================
Comment at: test/CodeGen/avx512f-builtins.c:6231
+  // CHECK: bitcast <16 x i1> %{{.*}} to i16
+  // CHECK: and i32 %{{.*}}, 255
+  // CHECK: shl i32 %{{.*}}, 8
----------------
craig.topper wrote:
> Does this really produce kunpackb in the backend? The type promotion here 
> makes me skeptic
yes,
the code we get: 
        vpcmpneqd       %zmm1, %zmm0, %k0
        vpcmpneqd       %zmm3, %zmm2, %k1
        kunpckbw        %k1, %k0, %k1
        vpcmpneqd       %zmm5, %zmm4, %k0 {%k1}
        kmovd   %k0, %eax
                                        # kill: %AX<def> %AX<kill> %EAX<kill>
        vzeroupper



https://reviews.llvm.org/D39719



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to