[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / armv8.2a-crypto-error.s
blob71115efce6d172c7bbf8258fba6112bf829f57f8
1 // RUN: not llvm-mc -triple aarch64 -mattr=+sm4,+sha3 -show-encoding < %s 2>&1 | FileCheck %s
3 xar v26.2d, v21.2d, v27.2d, #-1
4 xar v26.2d, v21.2d, v27.2d, #64
5 sm3tt1a v20.4s, v23.4s, v21.s[4]
6 sm3tt1b v20.4s, v23.4s, v21.s[4]
7 sm3tt2a v20.4s, v23.4s, v21.s[4]
8 sm3tt2b v20.4s, v23.4s, v21.s[4]
9 sm3tt2b v20.4s, v23.4s, v21.s[-1]
11 // CHECK: error: immediate must be an integer in range [0, 63].
12 // CHECK-NEXT: xar v26.2d, v21.2d, v27.2d, #-1
13 // CHECK-NEXT: ^
14 // CHECK-NEXT: error: immediate must be an integer in range [0, 63].
15 // CHECK-NEXT: xar v26.2d, v21.2d, v27.2d, #64
16 // CHECK-NEXT: ^
17 // CHECK-NEXT: error: vector lane must be an integer in range [0, 3].
18 // CHECK-NEXT: sm3tt1a v20.4s, v23.4s, v21.s[4]
19 // CHECK-NEXT: ^
20 // CHECK-NEXT: error: vector lane must be an integer in range [0, 3].
21 // CHECK-NEXT: sm3tt1b v20.4s, v23.4s, v21.s[4]
22 // CHECK-NEXT: ^
23 // CHECK-NEXT: error: vector lane must be an integer in range [0, 3].
24 // CHECK-NEXT: sm3tt2a v20.4s, v23.4s, v21.s[4]
25 // CHECK-NEXT: ^
26 // CHECK-NEXT: error: vector lane must be an integer in range [0, 3].
27 // CHECK-NEXT: sm3tt2b v20.4s, v23.4s, v21.s[4]
28 // CHECK-NEXT: ^
29 // CHECK-NEXT: error: vector lane must be an integer in range [0, 3].
30 // CHECK-NEXT: sm3tt2b v20.4s, v23.4s, v21.s[-1]
31 // CHECK-NEXT: ^