[fpc-devel] Blackfin support

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Jul 9 16:10:25 CEST 2010


Florian Klaempfl wrote on Fri, 09 Jul 2010:

> Florian Klaempfl schrieb:
>> Well, you can always assemble for ARMv6 but use only ARMv5 instructions
>> when running on ARMv5. This is what the rtl does with the PLD
>> instruction in system.move: a system.move procedure with PLD is only
>> used when the CPU supports it.
>
> Of course, this aims more towards generic arm-linux programs than
> embedded stuff where you usually build your custom rtl anyways.

At least if you use the VFP, you have to compile all code for the  
correct cpu, because the compiler has to use different versions of the  
"load/store multiple vfp registers" instructions for pre-ARMv6 and for  
ARMv6 and later in the function prologs.


Jonas

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the fpc-devel mailing list