[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / SVE2 / directive-cpu-negative.s
blob542a6f692ca3ee33d00f07026971ffbe7ca876b8
1 // RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s
3 .cpu generic+sve2
4 .cpu generic+nosve2
5 tbx z0.b, z1.b, z2.b
6 // CHECK: error: instruction requires: sve2
7 // CHECK-NEXT: tbx z0.b, z1.b, z2.b
9 .cpu generic+sve2-aes
10 .cpu generic+nosve2-aes
11 aesd z23.b, z23.b, z13.b
12 // CHECK: error: instruction requires: sve2-aes
13 // CHECK-NEXT: aesd z23.b, z23.b, z13.b
15 .cpu generic+sve2-sm4
16 .cpu generic+nosve2-sm4
17 sm4e z0.s, z0.s, z0.s
18 // CHECK: error: instruction requires: sve2-sm4
19 // CHECK-NEXT: sm4e z0.s, z0.s, z0.s
21 .cpu generic+sve2-sha3
22 .cpu generic+nosve2-sha3
23 rax1 z0.d, z0.d, z0.d
24 // CHECK: error: instruction requires: sve2-sha3
25 // CHECK-NEXT: rax1 z0.d, z0.d, z0.d
27 .cpu generic+bitperm
28 .cpu generic+nobitperm
29 bgrp z21.s, z10.s, z21.s
30 // CHECK: error: instruction requires: bitperm
31 // CHECK-NEXT: bgrp z21.s, z10.s, z21.s