Changeset 5646813 in mainline


Ignore:
Timestamp:
2009-04-21T20:01:26Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1a83e5e
Parents:
253d3d0
Message:

Replace all deprecated BA (Bicc) instructions with BA %xcc instructions.

Location:
kernel/arch/sparc64
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/atomic.h

    r253d3d0 r5646813  
    124124                "brz %2, 0b\n"
    125125                "nop\n"
    126                 "ba 1b\n"
     126                "ba %xcc, 1b\n"
    127127                "nop\n"
    128128        "2:\n"
  • kernel/arch/sparc64/src/start.S

    r253d3d0 r5646813  
    295295
    2962960:
    297         ba 0b
     297        ba %xcc, 0b
    298298        nop
    299299
     
    353353       
    3543540:
    355         ba 0b
     355        ba %xcc, 0b
    356356        nop
    357357
  • kernel/arch/sparc64/src/trap/trap_table.S

    r253d3d0 r5646813  
    342342.global trap_instruction_\cur\()_tl0
    343343trap_instruction_\cur\()_tl0:
    344         ba trap_instruction_handler
     344        ba %xcc, trap_instruction_handler
    345345        mov \cur, %g2
    346346.endr
     
    481481        be %xcc, 1f
    482482        nop
    483 0:      ba 0b                                   ! this is for debugging, if we ever get here
     4830:      ba %xcc, 0b                             ! this is for debugging, if we ever get here
    484484        nop                                     ! it will be easy to find
    485485
     
    546546
    547547.if NOT(\is_syscall)
    548         ba 1f
     548        ba %xcc, 1f
    549549        nop
    5505500:
     
    775775        wrpr %g3, 0, %cwp                       ! switch to the preceeding window
    776776
    777         ba 0b
     777        ba %xcc, 0b
    778778        inc %g4
    779779
Note: See TracChangeset for help on using the changeset viewer.