------- Comment #14 from rguenth at gcc dot gnu dot org  2007-07-20 11:48 
-------
For current mainline I get (-O2)

foo:
        pushl   %ebp
        movl    %esp, %ebp
        movl    8(%ebp), %ecx
        movl    12(%ebp), %edx
        popl    %ebp
        movl    8(%ecx,%edx,4), %eax
        addl    4(%ecx,%edx,4), %eax
        addl    12(%ecx,%edx,4), %eax
        ret

Can you be more specific about what processor tuning you are using?  That is,
can you provide the output of adding -v to the gcc commandline that produces
the mainline results in the last comment?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32698

Reply via email to