http://llvm.org/bugs/show_bug.cgi?id=20703
Bug ID: 20703
Summary: [AVX512] add support for ktest
Product: new-bugs
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
It would be quite useful to have the ktest instructions available as an
intrinsics.
Alternatively (or in addition?) it would be nice if avx512 codegen matched
patterns along the lines of
%0 = bitcast <16 x i1> %mask to i16
%c = icmp eq i16 %0, 0
And generated a ktest (rather than a kmovw to a scalar register and then a test
instruction as it does now).
Even better, detecting
%mask = and <16 x i1> %mask1, %mask2
%0 = bitcast <16 x i1> %mask to i16
%c = icmp eq i16 %0, 0
And also turning that into a single ktest taking %mask1 and %mask2 would be
great as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs