Changeset 911158a in rtems


Ignore:
Timestamp:
May 9, 2002, 9:43:28 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2f03c043
Parents:
2aa61582
Message:

2001-05-09 Joel Sherrill <joel@…>

  • include/i960CA.h, include/i960RP.h: Correct inline assembly forward reference labels.
Location:
c/src/lib/libcpu/i960
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/i960/ChangeLog

    r2aa61582 r911158a  
     12001-05-09      Joel Sherrill <joel@OARcorp.com>
     2
     3        * include/i960CA.h, include/i960RP.h: Correct inline assembly
     4        forward reference labels.
     5 
    162002-03-27      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • c/src/lib/libcpu/i960/include/i960CA.h

    r2aa61582 r911158a  
    8484#define i960_clear_intr( xint ) \
    8585 { register unsigned int _xint=(xint); \
    86 asm volatile( "loop_til_cleared: clrbit %0,sf0,sf0 ; \
    87                   bbs    %0,sf0, loop_til_cleared" \
     86asm volatile( "99: clrbit %0,sf0,sf0 ; \
     87                  bbs    %0,sf0, 99b" \
    8888                  : "=d" (_xint) : "0" (_xint) ); \
    8989 }
  • c/src/lib/libcpu/i960/include/i960RP.h

    r2aa61582 r911158a  
    367367   register unsigned int *_ipnd = (int * ) IPND_ADDR; \
    368368   register unsigned int          _rslt = 0; \
    369 asm volatile( "loop_til_cleared: mov 0, %0; \
     369asm volatile( "99: mov 0, %0; \
    370370                  atmod %1, %2, %0; \
    371                   bbs    %3,%0, loop_til_cleared" \
     371                  bbs    %3,%0, 99b" \
    372372                  : "=d" (_rslt), "=d" (_ipnd), "=d" (_mask), "=d" (_xint) \
    373373                  : "0"  (_rslt), "1"  (_ipnd), "2"  (_mask), "3"  (_xint) ); \
Note: See TracChangeset for help on using the changeset viewer.