This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/23525] inefficient parameter passing on x86
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Aug 2005 11:17:00 -0000
- Subject: [Bug target/23525] inefficient parameter passing on x86
- References: <20050823062933.23525.dann@godzilla.ics.uci.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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