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
14 // CHECK-NEXT
: error
: immediate must
be an integer in range
[0, 63].
15 // CHECK-NEXT
: xar v26.2d
, v21.2d
, v27.2d
, #64
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]
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]
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]
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]
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]