This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] gcc.target/i386/cmov4.c regressed but was still passing
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Cc: "Paolo Bonzini" <bonzini at gnu dot org>, "Richard Guenther" <richard dot guenther at gmail dot com>
- Date: Thu, 23 Aug 2007 12:10:14 +0200
- Subject: Re: [PATCH] gcc.target/i386/cmov4.c regressed but was still passing
Hello!
> I tested 4.1 and it works there. I don't have a 4.2 compiler at hand. I'll file the
> bugreport soon; I'd rather avoid *X*FAIL because it is a regression, I'd rather see a
> real FAIL in the logs.
4.2 works OK and produces:
t:
pushl %ebp
movl ARCHnodes, %eax
movl %esp, %ebp
pushl %esi
testl %eax, %eax
pushl %ebx
jle .L8
movl nodekind, %esi
movl nodekindf, %ebx
movl $1, %ecx
.p2align 4,,7
.L4:
movss -4(%ebx,%ecx,4), %xmm0
movl $1, %edx
cvttss2si %xmm0, %eax
cmpl $3, %eax
cmovne %eax, %edx
movl %ecx, %eax
movl %edx, -4(%esi,%ecx,4)
incl %ecx
cmpl %eax, ARCHnodes
jg .L4
.L8:
popl %ebx
popl %esi
leave
ret
Uros.