[En-Nut-Discussion] CM3:

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Tue Jul 9 20:48:02 CEST 2013


>>>>> "Ole" == Ole Reinhardt <ole.reinhardt at embedded-it.de> writes:

    Ole> Hi Uwe,
    >> /tmp/ccFFgQ3C.s: Assembler messages: /tmp/ccFFgQ3C.s:124: writing to
    >> APSR without specifying a bitmask is deprecated /tmp/ccFFgQ3C.s:313:
    >> writing to APSR without specifying a bitmask is deprecated

    Ole> sorry, I ignored these messages yet for a long time :)

    >> Comments welcome!

    Ole> I first have to have a deeper look into the CM3 CPU core
    Ole> datasheet. I'll try to do so tomorrow! Please be a little
    Ole> patient... :)

Comparing the assembler listing
  123 004c 10BC                 ldmfd   sp!, {r4}
- 124 004e 84F30388             msr     psr, r4
+ 124 004e 84F30388             msr     xpsr_nzcvq, r4
  125 0052 62B6                 cpsie   i

"xpsr_nzcvq" is a valid replacement for the offending plain "psr", producing
the same code with no warnings. If no objections arise, I will apply in some
days.

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


More information about the En-Nut-Discussion mailing list