Changeset c13ddac0 in rtems


Ignore:
Timestamp:
Apr 4, 2011, 4:44:55 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10
Children:
46604fcc
Parents:
619f97e
Message:

2011-04-04 Joel Sherrill <joel.sherrilL@…>

PR 1768/bsps

  • shared/irq/irq_asm.S: The nbench benchmark highlighted the fact that we do not perform a cld before calling C code in the ISR. This was historically not a problem but gcc 4.3 changed the behavior. From http://gcc.gnu.org/gcc-4.3/changes.html
Location:
c/src/lib/libbsp/i386
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/ChangeLog

    r619f97e rc13ddac0  
     12011-04-04      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        PR 1768/bsps
     4        * shared/irq/irq_asm.S: The nbench benchmark highlighted the fact that
     5        we do not perform a cld before calling C code in the ISR. This was
     6        historically not a problem but gcc 4.3 changed the behavior. From
     7        http://gcc.gnu.org/gcc-4.3/changes.html
     8
    192011-02-02      Ralf Corsépius <ralf.corsepius@rtems.org>
    210
  • c/src/lib/libbsp/i386/shared/irq/irq_asm.S

    r619f97e rc13ddac0  
    145145        incl      SYM (_ISR_Nest_level)     /* one nest level deeper */
    146146        incl      SYM (_Thread_Dispatch_disable_level) /* disable multitasking */
     147
     148        /*
     149         * GCC versions starting with 4.3 no longer place the cld
     150         * instruction before string operations.  We  need to ensure
     151         * it is set correctly for ISR handlers.
     152         */
     153        cld
    147154
    148155        /*
Note: See TracChangeset for help on using the changeset viewer.