[PATCH ARM/THUMB] replace mov with movs in crt0.S

Thomas Klein th.r.klein@web.de
Thu Nov 24 13:39:00 GMT 2011


Hi,

When using 'unified syntax' a MOV rd, rs with two low registers isn't
present for all thumb architectures.
The result would be unpredictable when running on v4t or v5t architectures.

In case of not using the condition flags a MOVS rd, rs (alias LSLS Rd, 
Rs, #0)
can be used instead.

Is this correct, or is there anything wrong with this idea.

Regards
   Thomas


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diff.out
URL: <http://sourceware.org/pipermail/newlib/attachments/20111124/35223729/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ChangeLog
URL: <http://sourceware.org/pipermail/newlib/attachments/20111124/35223729/attachment-0001.ksh>


More information about the Newlib mailing list