This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16355] Duplicate function epilog
- 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: 4 Jul 2004 07:54:31 -0000
- Subject: [Bug c/16355] Duplicate function epilog
- References: <20040704051035.16355.anton@samba.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-07-04 07:54 -------
Give the full example, instead of the cut down one then because right now the cut down one is faster
with the duplication, and yes the branch can be free but usually is not. Oh and if you do something
werid like a lot of sib calling, you would consider that a huge hit also when in fact it can save you a
couple of cycles instead. Note if we dup the epilog we can schedule it with the previous instructions
and get a little speed increase. Also again -Os disables the duplication.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16355