OSDN Git Service

Update aosp/master LLVM for rebase to r239765
[android-x86/external-llvm.git] / test / MC / Disassembler / AArch64 / armv8.1a-atomic.txt
1 # RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.1a --disassemble < %s | FileCheck %s
2
3 0x41,0x7c,0xa0,0x08
4 0x41,0x7c,0xe0,0x08
5 0x41,0xfc,0xa0,0x08
6 0x41,0xfc,0xe0,0x08
7 0x41,0x7c,0xa0,0x48
8 0x41,0x7c,0xe0,0x48
9 0x41,0xfc,0xa0,0x48
10 0x41,0xfc,0xe0,0x48
11 # CHECK:  casb   w0, w1, [x2]
12 # CHECK:  casab  w0, w1, [x2]
13 # CHECK:  caslb   w0, w1, [x2]
14 # CHECK:  casalb   w0, w1, [x2]
15 # CHECK:  cash   w0, w1, [x2]
16 # CHECK:  casah  w0, w1, [x2]
17 # CHECK:  caslh   w0, w1, [x2]
18 # CHECK:  casalh   w0, w1, [x2]
19
20 0x41,0x7c,0xa0,0x88
21 0x41,0x7c,0xe0,0x88
22 0x41,0xfc,0xa0,0x88
23 0x41,0xfc,0xe0,0x88
24 0x41,0x7c,0xa0,0xc8
25 0x41,0x7c,0xe0,0xc8
26 0x41,0xfc,0xa0,0xc8
27 0x41,0xfc,0xe0,0xc8
28 # CHECK:  cas   w0, w1, [x2]
29 # CHECK:  casa  w0, w1, [x2]
30 # CHECK:  casl   w0, w1, [x2]
31 # CHECK:  casal   w0, w1, [x2]
32 # CHECK:  cas   x0, x1, [x2]
33 # CHECK:  casa  x0, x1, [x2]
34 # CHECK:  casl   x0, x1, [x2]
35 # CHECK:  casal   x0, x1, [x2]
36
37 0x41,0x80,0x20,0xf8
38 0x41,0x80,0x20,0x38
39 0x41,0x80,0x60,0x78
40 0xe1,0x83,0xe0,0xf8
41 # CHECK: swp   x0, x1, [x2]
42 # CHECK: swpb  w0, w1, [x2]
43 # CHECK: swplh w0, w1, [x2]
44 # CHECK: swpal x0, x1, [sp]
45
46 0x41,0x00,0xa0,0xf8
47 0x41,0x10,0x60,0xf8
48 0x41,0x20,0xe0,0xf8
49 0x41,0x30,0x20,0xf8
50 0x41,0x40,0xa0,0xb8
51 0x41,0x50,0x60,0x38
52 0x41,0x60,0xe0,0x78
53 0x41,0x70,0x20,0xb8
54 0xab,0x51,0xe7,0x78
55 # CHECK:  ldadda    x0, x1, [x2]
56 # CHECK:  ldclrl    x0, x1, [x2]
57 # CHECK:  ldeoral   x0, x1, [x2]
58 # CHECK:  ldset     x0, x1, [x2]
59 # CHECK:  ldsmaxa   w0, w1, [x2]
60 # CHECK:  ldsminlb  w0, w1, [x2]
61 # CHECK:  ldumaxalh w0, w1, [x2]
62 # CHECK:  ldumin    w0, w1, [x2]
63 # CHECK:  ldsminalh w7, w11, [x13]
64
65 0x5f,0x00,0x60,0x38
66 0x5f,0x10,0x60,0x78
67 0x5f,0x20,0x60,0xb8
68 0x5f,0x30,0x60,0xf8
69 0x5f,0x40,0x20,0x38
70 0x5f,0x50,0x20,0x78
71 0x5f,0x60,0x20,0xb8
72 0x5f,0x70,0x20,0xf8
73 0xff,0x53,0x7d,0xf8
74 # CHECK: staddlb    w0, [x2]
75 # CHECK: stclrlh    w0, [x2]
76 # CHECK: steorl     w0, [x2]
77 # CHECK: stsetl     x0, [x2]
78 # CHECK: stsmaxb     w0, [x2]
79 # CHECK: stsminh     w0, [x2]
80 # CHECK: stumax      w0, [x2]
81 # CHECK: stumin      x0, [x2]
82 # CHECK: stsminl     x29, [sp]
83
84 0x82,0x7c,0x20,0x48
85 0x82,0x7c,0x20,0x08
86 # CHECK: casp x0, x1, x2, x3, [x4]
87 # CHECK: casp w0, w1, w2, w3, [x4]