1 // RUN
: not llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve
2>&1 < %s| FileCheck
%s
3 asrd z18.
b, p0
/m
, z28.
b, #0
4 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: immediate must
be an integer in range
[1, 8]
5 // CHECK-NEXT
: asrd z18.
b, p0
/m
, z28.
b, #0
6 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
8 asrd z1.
b, p0
/m
, z9.
b, #9
9 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: immediate must
be an integer in range
[1, 8]
10 // CHECK-NEXT
: asrd z1.
b, p0
/m
, z9.
b, #9
11 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
13 asrd z21.h
, p0
/m
, z2.h
, #0
14 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: immediate must
be an integer in range
[1, 16]
15 // CHECK-NEXT
: asrd z21.h
, p0
/m
, z2.h
, #0
16 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
18 asrd z14.h
, p0
/m
, z30.h
, #17
19 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: immediate must
be an integer in range
[1, 16]
20 // CHECK-NEXT
: asrd z14.h
, p0
/m
, z30.h
, #17
21 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
23 asrd z6.s
, p0
/m
, z12.s
, #0
24 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: immediate must
be an integer in range
[1, 32]
25 // CHECK-NEXT
: asrd z6.s
, p0
/m
, z12.s
, #0
26 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
28 asrd z23.s
, p0
/m
, z19.s
, #33
29 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: immediate must
be an integer in range
[1, 32]
30 // CHECK-NEXT
: asrd z23.s
, p0
/m
, z19.s
, #33
31 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
33 asrd z3.d
, p0
/m
, z24.d
, #0
34 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: immediate must
be an integer in range
[1, 64]
35 // CHECK-NEXT
: asrd z3.d
, p0
/m
, z24.d
, #0
36 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
38 asrd z25.d
, p0
/m
, z16.d
, #65
39 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: immediate must
be an integer in range
[1, 64]
40 // CHECK-NEXT
: asrd z25.d
, p0
/m
, z16.d
, #65
41 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}: