This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]