1 ! RUN
: llvm-mc
%s
-arch
=sparcv9
-show-encoding | FileCheck
%s
3 ! CHECK
: membar
#LoadLoad | #StoreLoad | #LoadStore | #StoreStore ! encoding: [0x81,0x43,0xe0,0x0f]
6 ! CHECK
: membar
#LoadLoad ! encoding: [0x81,0x43,0xe0,0x01]
9 ! CHECK
: membar
#LoadLoad | #StoreStore ! encoding: [0x81,0x43,0xe0,0x09]
10 membar
#LoadLoad | #StoreStore
12 ! CHECK
: membar
#LoadLoad | #StoreLoad | #LoadStore | #StoreStore | #Lookaside | #MemIssue | #Sync ! encoding: [0x81,0x43,0xe0,0x7f]
13 membar
#LoadLoad | #StoreLoad | #LoadStore | #StoreStore | #Lookaside | #MemIssue | #Sync
15 ! CHECK
: cas
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xe6,0x10,0x16]
18 ! CHECK
: casx
[%i0
], %l6
, %o2
! encoding
: [0xd5,0xf6,0x10,0x16]