This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Attachment: diff.out
Description: Text document

Attachment: ChangeLog
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]