[Bug target/23525] inefficient parameter passing on x86

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Aug 23 11:26:00 GMT 2005


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-08-23 11:16 -------
I don't think this is inefficient at all for the pentium Pro and above because they don't like the complex 
instructions as the older processors do.

And if you want to optimize for size (which gets what you want) use -Os:
        pushl   cp_pipe
        call    close
        pushl   cp_pipe+4
        call    close
        popl    %eax
        movl    $0, waiting_for_initial_map
        popl    %edx
        ret

-- 


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



More information about the Gcc-bugs mailing list