ARM/Thumb mixed code

Alexandre Oliva aoliva@redhat.com
Sun Jan 20 20:24:00 GMT 2002


On Jan 20, 2002, Arvind Krishnaswamy <arvind@CS.Arizona.EDU> wrote:

> I notice that my program spends most of its time in a function (_fpmul_parts).
> This is in libgcc. I'd like the compiler to generate ARM code for this
> function alone and leave the rest of the code as Thumb (trading off some
> code size for performance). Is there a way of doing this?

How about extracting the object file in which this function is defined
from ARM libgcc.a and explicitly linking it in along with the rest of
the Thumb application?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me



More information about the Gcc mailing list