Displaying 1 result from an estimated 1 matches for "cmovbel".
2017 Jan 24
7
[X86][AVX512] RFC: make i1 illegal in the Codegen
...the following with AVX2:
# BB#0: # %entry
cmpl %edi, %esi
sbbl $0, %edx
movl %edx, %eax
retq
While AVX512 produces:
# BB#0: # %entry
xorl %ecx, %ecx
cmpl %esi, %edi
movl $-1, %eax
cmovbel %ecx, %eax
addl %edx, %eax
retq
So we would still end-up with cases where when the AVX-512 feature is enabled, instruction selection for scalar code becomes inferior.
Finally, we suggest to undo the above issues cause by legalizing i1, by making i1 illegal. This would make ins...