[fpc-devel] Blackfin support
Jeppe Johansen
jepjoh2 at kom.aau.dk
Fri Jul 9 15:52:25 CEST 2010
Florian Klaempfl skrev:
>> I recently had the experience of using a TMS320C26
>> which probably has to be programmed in assembler due to the limits of
>> the instruction set. But I hear newer DSPs use instruction sets geared
>> alot more towards highlevel compilers
>>
>> Michael:
>> Cortex A8 runs ARMv7A. All the Interlocked* functions in the ARM RTL
>> already have implementations for >ARMv6 instructions(ldrex/strex) which
>> is pretty much what the architecture manual wrote as example code
>>
>
> Yes, but the code is not selected dynamically: if one compiles for armv5
> but runs it on a armv6+, the armv6 doesn't use the new instructions.
True, but do you think anyone does that? :) Most people know what end
hardware their programs will run on
I don't think we can have support for both in the rtl. I don't even
think you can do that, since GNU as won't accept ARMv6 instructions if
you assemble for ARMv5, and throw an error
More information about the fpc-devel
mailing list