Re: [PATCH, i386] Improve double-word comparisons (PR target/82580)

2017-10-19 Thread Uros Bizjak
On Thu, Oct 19, 2017 at 10:09 AM, Jakub Jelinek wrote: > Hi! > > With the patch you've checked in yesterday we generate e.g. for f2 > cmpq%rdi, %rdx > sbbq%rsi, %rcx > setb%al > movzbl %al, %eax > This is because the peephole2s we

[PATCH, i386] Improve double-word comparisons (PR target/82580)

2017-10-19 Thread Jakub Jelinek
Hi! With the patch you've checked in yesterday we generate e.g. for f2 cmpq%rdi, %rdx sbbq%rsi, %rcx setb%al movzbl %al, %eax This is because the peephole2s we have for setcc + movzbl to xorl + setcc check that the flags register is dead before the