1 // RUN
: not llvm-mc
-triple aarch64
-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
18 # CHECK: error: unsupported architectural extension: foo
19 # CHECK-NEXT: .arch armv8+foo+nobar
22 # CHECK: error: invalid operand for instruction
23 # CHECK-NEXT: aese v0.8h, v1.8h
32 # CHECK: error: invalid operand for instruction
33 # CHECK-NEXT: aese v0.8h, v1.8h
39 # CHECK: error: instruction requires: ras
45 # CHECK: error: instruction requires: lse
46 # CHECK-NEXT: casa w5, w7, [x19]
51 # CHECK: error: instruction requires: crc
52 # CHECK-NEXT: crc32b w0, w1, w2
57 # CHECK: error: instruction requires: lse
58 # CHECK-NEXT: casa w5, w7, [x20]
60 .arch arm9.6-a-nocmpbr
62 # CHECK: error: instruction requires: cmpbr
63 # CHECK-NEXT: cbhi x5, x5, #1020
65 .arch armv9.6.-a+nofprcvt
68 # CHECK: error: instruction requires: fprcvt
69 # CHECK-NEXT: scvtf d1, s2
71 .arch armv9.6.-a+nof8f16mm
72 fmmla v0.8h
, v1.16
b, v2.16
b
74 # CHECK: error: instruction requires: f8f16mm
75 # CHECK-NEXT: fmmla v0.8h, v1.16b, v2.16b
77 .arch armv9.6.-a+nof8f32mm
78 fmmla v0.4s
, v1.16
b, v2.16
b
80 # CHECK: error: instruction requires: f8f32mm
81 # CHECK-NEXT: fmmla v0.4s, v1.16b, v2.16b