[vlc-devel] [PATCH] contrib: disable thumb for packages that use ARM-only asm

Måns Rullgård mans at mansr.com
Tue Jan 24 13:47:51 CET 2012


Rémi Denis-Courmont <remi at remlab.net> writes:

> On Tue, 24 Jan 2012 02:06:07 -0500, Rafaël Carré <funman at videolan.org>
> wrote:
>> Le 2012-01-24 02:02, Rémi Denis-Courmont a écrit :
>>> This will not work if AAPCS is not in use (and if interworking is not
>>> otherwise forced system-wide).
>> 
>> I assume people using thumb knows what to do.
>
> I don't. Precisely if you optimize code for size, you might not want to
> support interworking.

Very little interworking is needed on ARMv5 and later.  Only
non-call/return branches that change state need special support code.
Such branches typically happen with tail call optimisation.
Mode-switching tail calls are rare enough that the size impact should be
negligible.

-- 
Måns Rullgård
mans at mansr.com




More information about the vlc-devel mailing list