1 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+v8.3
a < %s
2>&1 | FileCheck
%s
2 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mcpu
=cortex-a65
< %s
2>&1 | FileCheck
%s
3 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mcpu
=cortex-a65ae
< %s
2>&1 | FileCheck
%s
4 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mcpu
=cortex-a75
< %s
2>&1 | FileCheck
%s
5 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mcpu
=cortex-a55
< %s
2>&1 | FileCheck
%s
6 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mcpu
=neoverse-e1
< %s
2>&1 | FileCheck
%s
7 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mcpu
=neoverse-n1
< %s
2>&1 | FileCheck
%s
8 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+v8.2
a -mattr
=+rcpc
< %s
2>&1 | FileCheck
%s
9 // RUN
: not llvm-mc
-triple aarch64-none-linux-gnu
-mattr
=+v8.2
a < %s
2> %t
10 // RUN
: FileCheck
--check-prefix
=CHECK-REQ
%s
< %t
19 // CHECK
: ldaprb w0
, [x0
] // encoding
: [0x00,0xc0,0xbf,0x38]
20 // CHECK
: ldaprh w0
, [x17
] // encoding
: [0x20,0xc2,0xbf,0x78]
21 // CHECK
: ldapr w0
, [x1
] // encoding
: [0x20,0xc0,0xbf,0xb8]
22 // CHECK
: ldapr x0
, [x0
] // encoding
: [0x00,0xc0,0xbf,0xf8]
23 // CHECK
: ldapr w18
, [x0
] // encoding
: [0x12,0xc0,0xbf,0xb8]
24 // CHECK
: ldapr x15
, [x0
] // encoding
: [0x0f,0xc0,0xbf,0xf8]
25 // CHECK-REQ
: error
: instruction requires
: rcpc
26 // CHECK-REQ
: error
: instruction requires
: rcpc
27 // CHECK-REQ
: error
: instruction requires
: rcpc
28 // CHECK-REQ
: error
: instruction requires
: rcpc
29 // CHECK-REQ
: error
: instruction requires
: rcpc
30 // CHECK-REQ
: error
: instruction requires
: rcpc