Menu

#27 More efficient code for GCC ARM CM3 interrupts (un)masking

open
nobody
None
5
2009-03-24
2009-03-24
No

As described in https://sourceforge.net/forum/message.php?msg_id=6914200 it is possible to make the portSET_INTERRUPT_MASK() and portCLEAR_INTERRUPT_MASK() macros of the GCC ARM CM3 port more efficient by letting the compiler choose a register to spill or to reuse when it is known to already contain the correct value.

Discussion

  • Anonymous

    Anonymous - 2009-03-31

    Proposed patch

     
  • Anonymous

    Anonymous - 2009-09-29

    Is there a reason not to apply it? I've been running with this patch installed for 6 months now, as have my students and my colleagues. No problem so far.

     
  • Anonymous

    Anonymous - 2010-03-09

    I wonder why it has not been integrated in FreeRTOS yet. All our projects have been using this patch since one year.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.