[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / directive-arch_extension-negative.s
blob61351e171b599abd988c1ecb668fd0f9543c2bae
1 // RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s
3 .arch_extension axp64
4 // CHECK: error: unknown architectural extension: axp64
5 // CHECK-NEXT: .arch_extension axp64
7 .arch_extension nocrc
8 crc32cx w0, w1, x3
9 // CHECK: error: instruction requires: crc
10 // CHECK-NEXT: crc32cx w0, w1, x3
12 .arch_extension nosm4
13 sm4e v2.4s, v15.4s
14 // CHECK: error: instruction requires: sm4
15 // CHECK-NEXT: sm4e v2.4s, v15.4s
17 .arch_extension nosha3
18 sha512h q0, q1, v2.2d
19 // CHECK: error: instruction requires: sha3
20 // CHECK-NEXT: sha512h q0, q1, v2.2d
22 .arch_extension nosha2
23 sha1h s0, s1
24 // CHECK: error: instruction requires: sha2
25 // CHECK-NEXT: sha1h s0, s1
27 .arch_extension noaes
28 aese v0.16b, v1.16b
29 // CHECK: error: instruction requires: aes
30 // CHECK-NEXT: aese v0.16b, v1.16b
32 .arch_extension nofp
33 fminnm d0, d0, d1
34 // CHECK: error: instruction requires: fp
35 // CHECK-NEXT: fminnm d0, d0, d1
37 .arch_extension nosimd
38 addp v0.4s, v0.4s, v0.4s
39 // CHECK: error: instruction requires: neon
40 // CHECK-NEXT: addp v0.4s, v0.4s, v0.4s
42 .arch_extension noras
43 esb
44 // CHECK: error: instruction requires: ras
45 // CHECK-NEXT: esb
47 .arch_extension nolse
48 casa w5, w7, [x20]
49 // CHECK: error: instruction requires: lse
50 // CHECK-NEXT: casa w5, w7, [x20]
52 .arch_extension nopredres
53 cfp rctx, x0
54 // CHECK: error: CFPRCTX requires predres
55 // CHECK-NEXT: cfp rctx, x0
57 .arch_extension noccdp
58 dc cvadp, x7
59 // CHECK: error: DC CVADP requires ccdp
60 // CHECK-NEXT: dc cvadp, x7
62 .arch_extension nomte
63 irg x0, x1
64 // CHECK: error: instruction requires: mte
65 // CHECK-NEXT: irg x0, x1
67 .arch_extension notlb-rmi
68 tlbi vmalle1os
69 // CHECK: error: TLBI VMALLE1OS requires tlb-rmi
70 // CHECK-NEXT: tlbi vmalle1os
72 .arch_extension nopan-rwv
73 at s1e1wp, x2
74 // CHECK: error: AT S1E1WP requires pan-rwv
75 // CHECK-NEXT: at s1e1wp, x2
77 .arch_extension noccpp
78 dc cvap, x7
79 // CHECK: error: DC CVAP requires ccpp
80 // CHECK-NEXT: dc cvap, x7