1 # RUN: llvm-mc -triple=aarch64 -mattr=+lse128 -disassemble %s | FileCheck %s
2 # RUN: not llvm-mc -triple=aarch64 -disassemble %s 2>&1 | FileCheck --check-prefix=NO-LSE128 %s
5 # CHECK: ldclrp x1, x2, [x11]
6 # NO-LSE128: warning: invalid instruction encoding
9 # CHECK: ldclrp x21, x22, [sp]
10 # NO-LSE128: warning: invalid instruction encoding
13 # CHECK: ldclrpa x1, x2, [x11]
14 # NO-LSE128: warning: invalid instruction encoding
17 # CHECK: ldclrpa x21, x22, [sp]
18 # NO-LSE128: warning: invalid instruction encoding
21 # CHECK: ldclrpal x1, x2, [x11]
22 # NO-LSE128: warning: invalid instruction encoding
25 # CHECK: ldclrpal x21, x22, [sp]
26 # NO-LSE128: warning: invalid instruction encoding
29 # CHECK: ldclrpl x1, x2, [x11]
30 # NO-LSE128: warning: invalid instruction encoding
33 # CHECK: ldclrpl x21, x22, [sp]
34 # NO-LSE128: warning: invalid instruction encoding
37 # CHECK: ldsetp x1, x2, [x11]
38 # NO-LSE128: warning: invalid instruction encoding
41 # CHECK: ldsetp x21, x22, [sp]
42 # NO-LSE128: warning: invalid instruction encoding
45 # CHECK: ldsetpa x1, x2, [x11]
46 # NO-LSE128: warning: invalid instruction encoding
49 # CHECK: ldsetpa x21, x22, [sp]
50 # NO-LSE128: warning: invalid instruction encoding
53 # CHECK: ldsetpal x1, x2, [x11]
54 # NO-LSE128: warning: invalid instruction encoding
57 # CHECK: ldsetpal x21, x22, [sp]
58 # NO-LSE128: warning: invalid instruction encoding
61 # CHECK: ldsetpl x1, x2, [x11]
62 # NO-LSE128: warning: invalid instruction encoding
65 # CHECK: ldsetpl x21, x22, [sp]
66 # NO-LSE128: warning: invalid instruction encoding
69 # CHECK: swpp x1, x2, [x11]
70 # NO-LSE128: warning: invalid instruction encoding
73 # CHECK: swpp x21, x22, [sp]
74 # NO-LSE128: warning: invalid instruction encoding
77 # CHECK: swppa x1, x2, [x11]
78 # NO-LSE128: warning: invalid instruction encoding
81 # CHECK: swppa x21, x22, [sp]
82 # NO-LSE128: warning: invalid instruction encoding
85 # CHECK: swppal x1, x2, [x11]
86 # NO-LSE128: warning: invalid instruction encoding
89 # CHECK: swppal x21, x22, [sp]
90 # NO-LSE128: warning: invalid instruction encoding
93 # CHECK: swppl x1, x2, [x11]
94 # NO-LSE128: warning: invalid instruction encoding
97 # CHECK: swppl x21, x22, [sp]
98 # NO-LSE128: warning: invalid instruction encoding