[CodeGen] Use Register/MCRegister::isPhysical. NFC
[llvm-project.git] / llvm / test / MC / Sparc / sparcv9-atomic-instructions.s
blob7c926e5ccc40b6b20540487a0ee155e44ee9353a
1 ! RUN: llvm-mc %s -triple=sparcv9 -show-encoding | FileCheck %s
3 ! CHECK: membar #LoadLoad | #StoreLoad | #LoadStore | #StoreStore ! encoding: [0x81,0x43,0xe0,0x0f]
4 membar 15
6 ! CHECK: membar #LoadLoad ! encoding: [0x81,0x43,0xe0,0x01]
7 membar #LoadLoad
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: swapa [%i0+6] %asi, %o2 ! encoding: [0xd4,0xfe,0x20,0x06]
16 swapa [%i0+6] %asi, %o2
18 ! CHECK: ldstuba [%i0+2] %asi, %g1 ! encoding: [0xc2,0xee,0x20,0x02]
19 ldstuba [%i0+2] %asi, %g1