Skip to content

Commit 7a3b787

Browse files
committed
Update disassembler tests
1 parent 8c97558 commit 7a3b787

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

llvm/test/MC/Disassembler/Sparc/sparc-atomics.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# RUN: llvm-mc --disassemble %s -triple=sparcv9-unknown-linux | FileCheck %s
22

3-
# CHECK: cas [%i0], %l6, %o2
3+
# CHECK: casa [%i0] #ASI_P, %l6, %o2
44
0xd5,0xe6,0x10,0x16
55

6-
# CHECK: casl [%i0], %l6, %o2
6+
# CHECK: casa [%i0] #ASI_P_L, %l6, %o2
77
0xd5,0xe6,0x11,0x16
88

99
# CHECK: casa [%i0] 255, %l6, %o2
@@ -12,10 +12,10 @@
1212
# CHECK: casa [%i0] %asi, %l6, %o2
1313
0xd5,0xe6,0x20,0x16
1414

15-
# CHECK: casx [%i0], %l6, %o2
15+
# CHECK: casxa [%i0] #ASI_P, %l6, %o2
1616
0xd5,0xf6,0x10,0x16
1717

18-
# CHECK: casxl [%i0], %l6, %o2
18+
# CHECK: casxa [%i0] #ASI_P_L, %l6, %o2
1919
0xd5,0xf6,0x11,0x16
2020

2121
# CHECK: casxa [%i0] 255, %l6, %o2

llvm/test/MC/Disassembler/Sparc/sparc-v9-asi.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,15 @@
1414
0xd5 0xf6 0x03 0x16
1515
# V9: casxa [%i0] #ASI_AIUS_L, %l6, %o2
1616
0xd5 0xf6 0x03 0x36
17-
## casx == casxa #ASI_P
18-
# V9: casx [%i0], %l6, %o2
17+
# V9: casxa [%i0] #ASI_P, %l6, %o2
1918
0xd5 0xf6 0x10 0x16
2019
# V9: casxa [%i0] #ASI_S, %l6, %o2
2120
0xd5 0xf6 0x10 0x36
2221
# V9: casxa [%i0] #ASI_PNF, %l6, %o2
2322
0xd5 0xf6 0x10 0x56
2423
# V9: casxa [%i0] #ASI_SNF, %l6, %o2
2524
0xd5 0xf6 0x10 0x76
26-
## casxl == casxa #ASI_L
27-
# V9: casxl [%i0], %l6, %o2
25+
# V9: casxa [%i0] #ASI_P_L, %l6, %o2
2826
0xd5 0xf6 0x11 0x16
2927
# V9: casxa [%i0] #ASI_S_L, %l6, %o2
3028
0xd5 0xf6 0x11 0x36

0 commit comments

Comments
 (0)