[fpc-devel] Code generator issue for Cortex-M0 chips in trunk

Michael Ring mail at michael-ring.org
Fri Aug 8 14:18:37 CEST 2014


Will do so ....

Michael

Am 08.08.14 um 13:57 schrieb Sven Barth:
>
> Am 08.08.2014 10:29 schrieb "Michael Ring" <mail at michael-ring.org 
> <mailto:mail at michael-ring.org>>:
> >
> > 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
> >
> > where:
> > Rn Is the register holding the first operand. Rm The register to 
> test against.
> >
> > Restrictions
> >
> > In these instructions, Rn and Rm must only specify R0-R7.
> >
> >
> > Could somebody please fix?
>
> Maybe best report as a bug so that it isn't forgotten.
>
> Regards,
> Sven
>
>
>
> _______________________________________________
> 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/20140808/ba1c48e5/attachment.html>


More information about the fpc-devel mailing list