Home | History | Annotate | Download | only in Sparc
      1 ! RUN: llvm-mc %s -arch=sparcv9 -show-encoding | FileCheck %s
      2 
      3         ! CHECK: membar 15             ! encoding: [0x81,0x43,0xe0,0x0f]
      4         membar 15
      5 
      6         ! CHECK: stbar                 ! encoding: [0x81,0x43,0xc0,0x00]
      7         stbar
      8 
      9         ! CHECK: swap [%i0+%l6], %o2   ! encoding: [0xd4,0x7e,0x00,0x16]
     10         swap [%i0+%l6], %o2
     11 
     12         ! CHECK: swap [%i0+32], %o2    ! encoding: [0xd4,0x7e,0x20,0x20]
     13         swap [%i0+32], %o2
     14 
     15         ! CHECK: cas [%i0], %l6, %o2   ! encoding: [0xd5,0xe6,0x10,0x16]
     16         cas [%i0], %l6, %o2
     17 
     18         ! CHECK: casx [%i0], %l6, %o2  ! encoding: [0xd5,0xf6,0x10,0x16]
     19         casx [%i0], %l6, %o2
     20