1 // RUN
: not llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+v8.5
a < %s
2>&1 | FileCheck
%s
--check-prefix
=CHECK-ERROR
3 // FP-to-int rounding
, vector
, illegal
7 frint32z v0.16
b, v0.16
b
11 frint64z v0.16
b, v0.16
b
15 frint32x v0.16
b, v0.16
b
19 frint64x v0.16
b, v0.16
b
21 // CHECK-ERROR
: invalid operand for instruction
22 // CHECK-ERROR-NEXT
: frint32z v0.4h
, v0.4h
23 // CHECK-ERROR
: invalid operand for instruction
24 // CHECK-ERROR-NEXT
: frint32z v0.8
b, v0.8
b
25 // CHECK-ERROR
: invalid operand for instruction
26 // CHECK-ERROR-NEXT
: frint32z v0.8h
, v0.8h
27 // CHECK-ERROR
: invalid operand for instruction
28 // CHECK-ERROR-NEXT
: frint32z v0.16
b, v0.16
b
29 // CHECK-ERROR
: invalid operand for instruction
30 // CHECK-ERROR-NEXT
: frint64z v0.4h
, v0.4h
31 // CHECK-ERROR
: invalid operand for instruction
32 // CHECK-ERROR-NEXT
: frint64z v0.8
b, v0.8
b
33 // CHECK-ERROR
: invalid operand for instruction
34 // CHECK-ERROR-NEXT
: frint64z v0.8h
, v0.8h
35 // CHECK-ERROR
: invalid operand for instruction
36 // CHECK-ERROR-NEXT
: frint64z v0.16
b, v0.16
b
37 // CHECK-ERROR
: invalid operand for instruction
38 // CHECK-ERROR-NEXT
: frint32x v0.4h
, v0.4h
39 // CHECK-ERROR
: invalid operand for instruction
40 // CHECK-ERROR-NEXT
: frint32x v0.8
b, v0.8
b
41 // CHECK-ERROR
: invalid operand for instruction
42 // CHECK-ERROR-NEXT
: frint32x v0.8h
, v0.8h
43 // CHECK-ERROR
: invalid operand for instruction
44 // CHECK-ERROR-NEXT
: frint32x v0.16
b, v0.16
b
45 // CHECK-ERROR
: invalid operand for instruction
46 // CHECK-ERROR-NEXT
: frint64x v0.4h
, v0.4h
47 // CHECK-ERROR
: invalid operand for instruction
48 // CHECK-ERROR-NEXT
: frint64x v0.8
b, v0.8
b
49 // CHECK-ERROR
: invalid operand for instruction
50 // CHECK-ERROR-NEXT
: frint64x v0.8h
, v0.8h
51 // CHECK-ERROR
: invalid operand for instruction
52 // CHECK-ERROR-NEXT
: frint64x v0.16
b, v0.16
b