https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40499
Andrew Pinski changed:
What|Removed |Added
CC||cptarse-luke at yahoo dot com
---
--
ramana at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |enhancement
Keywords|
--- Comment #4 from carrot at google dot com 2009-06-22 08:00 ---
Sorry I didn't make it clear. It is a performance bug, not a code size issue.
If the epilogue is a simple return instruction, the branch to return can be
replaced by the return instruction. So we can execute one less
--- Comment #5 from steven at gcc dot gnu dot org 2009-06-22 08:06 ---
The only way to really fix this, is to make an RTL epilogue for thumb. Turning
to Richard Earnshaw again for advice...
--
steven at gcc dot gnu dot org changed:
What|Removed
--- Comment #6 from rearnsha at gcc dot gnu dot org 2009-06-22 12:37
---
Support for single-instruction return insns has been around a lot longer than
rtl-based epilogues, so there's no need to convert the thumb target to RTL
epilogues as a pre-requisite for fixing this. Someone
--- Comment #3 from steven at gcc dot gnu dot org 2009-06-20 07:23 ---
Output from ./cc1 -march=armv5te -mthumb -Os PR40499.c -dAP:
.file PR40499.c
.text
.align 1
.global dual_feasible
.code 16
.thumb_func
.type