• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llvm-mc -triple aarch64-none-linux-gnu -mattr=+v8.1a --disassemble < %s | FileCheck %s
2
30x41,0x7c,0xa0,0x08
40x41,0x7c,0xe0,0x08
50x41,0xfc,0xa0,0x08
60x41,0xfc,0xe0,0x08
70x41,0x7c,0xa0,0x48
80x41,0x7c,0xe0,0x48
90x41,0xfc,0xa0,0x48
100x41,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
200x41,0x7c,0xa0,0x88
210x41,0x7c,0xe0,0x88
220x41,0xfc,0xa0,0x88
230x41,0xfc,0xe0,0x88
240x41,0x7c,0xa0,0xc8
250x41,0x7c,0xe0,0xc8
260x41,0xfc,0xa0,0xc8
270x41,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
370x41,0x80,0x20,0xf8
380x41,0x80,0x20,0x38
390x41,0x80,0x60,0x78
400xe1,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
460x41,0x00,0xa0,0xf8
470x41,0x10,0x60,0xf8
480x41,0x20,0xe0,0xf8
490x41,0x30,0x20,0xf8
500x41,0x40,0xa0,0xb8
510x41,0x50,0x60,0x38
520x41,0x60,0xe0,0x78
530x41,0x70,0x20,0xb8
540xab,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
650x5f,0x00,0x60,0x38
660x5f,0x10,0x60,0x78
670x5f,0x20,0x60,0xb8
680x5f,0x30,0x60,0xf8
690x5f,0x40,0x20,0x38
700x5f,0x50,0x20,0x78
710x5f,0x60,0x20,0xb8
720x5f,0x70,0x20,0xf8
730xff,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
840x82,0x7c,0x20,0x48
850x82,0x7c,0x20,0x08
86# CHECK: casp x0, x1, x2, x3, [x4]
87# CHECK: casp w0, w1, w2, w3, [x4]
88