This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/54721] Generate arm/thumb interwork veneers at compile time?
- From: "mans at mansr dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 24 Oct 2012 12:44:24 +0000
- Subject: [Bug target/54721] Generate arm/thumb interwork veneers at compile time?
- Auto-submitted: auto-generated
- References: <bug-54721-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54721
--- Comment #2 from Mans Rullgard <mans at mansr dot com> 2012-10-24 12:44:24 UTC ---
ARMv5T removed the need for most interworking with the addition of BLX and
interworking POP instructions. That said, even armv7 needs some interworking
code for a state-switching tail call since there is no branch immediate with
state change, only BLX. This is rare enough that I don't think the slight
overhead mentioned is anything to worry about.