Changeset 9c24c73 in rtems


Ignore:
Timestamp:
Apr 4, 2011, 4:44:46 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 5, master
Children:
ff49ffe
Parents:
e79093a
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

    re79093a r9c24c73  
     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-03-16      Jennifer Averett <jennifer.averett@OARcorp.com>
    210
  • c/src/lib/libbsp/i386/shared/irq/irq_asm.S

    re79093a r9c24c73  
    167167        incl      PER_CPU_ISR_NEST_LEVEL(ebx)  /* one nest level deeper */
    168168        incl      SYM (_Thread_Dispatch_disable_level) /* disable multitasking */
     169
     170        /*
     171         * GCC versions starting with 4.3 no longer place the cld
     172         * instruction before string operations.  We  need to ensure
     173         * it is set correctly for ISR handlers.
     174         */
     175        cld
    169176
    170177        /*
Note: See TracChangeset for help on using the changeset viewer.