This is the mail archive of the gcc@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: will multi-register returns get fixed?


Hi,

On Fri, 6 Jun 2003, David Mosberger wrote:

>                                                 platform
>  compiler:                      x86                     ia64
>  gcc                            atrocious code          atrocious code

What exactly is atrocious with that code:

foo:
        movl    4(%esp), %ecx
        xorl    %edx, %edx
        testl   %ecx, %ecx
        movl    $-13, %eax
        jle     .L1
        movl    %ecx, %eax
        xorl    %edx, %edx
.L1:
        ret

???


Ciao,
Michael.


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