https://bugs.llvm.org/show_bug.cgi?id=46200
Bug ID: 46200
Summary: Failure to use vpmovmskb instead of vpmovb2m+kmovd
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
int f(__m256i mask)
{
return _mm256_movemask_epi8(mask);
}
With -O3 -mavx512bw, GCC outputs this :
f(long long __vector(4)):
vpmovmskb eax, ymm0
ret
LLVM outputs this :
f(long long __vector(4)): # @f(long long __vector(4))
vpmovb2m k0, zmm0
kmovd eax, k0
vzeroupper
ret
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs