[fpc-devel] Code generator issue for Cortex-M0 chips in trunk
Michael Ring
mail at michael-ring.org
Sun Aug 10 14:41:16 CEST 2014
The patch worked, generated assembler looks ok, will test on device this
evening
Am 08.08.14 um 14:27 schrieb Nico Erfurth:
> On 08.08.14 10:28, Michael Ring wrote:
>> There seems to be a bug in the codegenerator for armv6m thumb code.
>>
>> tst r0,#-2147483648
>>
>> is not valid armv6m assembler code, documentation says that tst only can
>> use registers:
>>
>> TST Rn, Rm
> Please try the attached patch, it should solve the problem, I'll commit
> it after testing.
>
> Nico
>
>
>
>
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140810/6effadfb/attachment.html>
More information about the fpc-devel
mailing list