[Bug target/92953] Undesired if-conversion with overflow builtins
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Dec 16 14:42:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92953
--- Comment #4 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
At least then GCC should try to use cmovno instead of seto-test-cmove for
if-conversion:
foo:
movl %edi, %eax
subl %esi, %eax
notl %eax
orl $1, %eax
subl %esi, %edi
cmovno %edi, %eax
ret
More information about the Gcc-bugs
mailing list