1 // RUN
: not llvm-mc
-triple aarch64-unknown-none-eabi
-filetype asm
-o
- %s
2>&1 | FileCheck
%s
4 # CHECK: error: unknown arch name
5 # CHECK-NEXT: .arch axp64
11 # CHECK: error: invalid operand for instruction
12 # CHECK-NEXT: aese v0.8h, v1.8h
15 // We silently ignore invalid features.
19 # CHECK: error: invalid operand for instruction
20 # CHECK-NEXT: aese v0.8h, v1.8h
29 # CHECK: error: invalid operand for instruction
30 # CHECK-NEXT: aese v0.8h, v1.8h
36 # CHECK: error: instruction requires: ras
39 // PR32873
: without extra features
, '.arch' is currently ignored.
40 // Add an unrelated feature to accept the directive.
44 # CHECK: error: instruction requires: lse
45 # CHECK-NEXT: casa w5, w7, [x19]
50 # CHECK: error: instruction requires: crc
51 # CHECK-NEXT: crc32b w0, w1, w2
56 # CHECK: error: instruction requires: lse
57 # CHECK-NEXT: casa w5, w7, [x20]