[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / armv8.5a-frint-error.s
blob61f3ed00759e950691bed5a48e6831ef3986039f
1 // RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.5a < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
3 // FP-to-int rounding, vector, illegal
4 frint32z v0.4h, v0.4h
5 frint32z v0.8b, v0.8b
6 frint32z v0.8h, v0.8h
7 frint32z v0.16b, v0.16b
8 frint64z v0.4h, v0.4h
9 frint64z v0.8b, v0.8b
10 frint64z v0.8h, v0.8h
11 frint64z v0.16b, v0.16b
12 frint32x v0.4h, v0.4h
13 frint32x v0.8b, v0.8b
14 frint32x v0.8h, v0.8h
15 frint32x v0.16b, v0.16b
16 frint64x v0.4h, v0.4h
17 frint64x v0.8b, v0.8b
18 frint64x v0.8h, v0.8h
19 frint64x v0.16b, v0.16b
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.8b, v0.8b
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.16b, v0.16b
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.8b, v0.8b
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.16b, v0.16b
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.8b, v0.8b
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.16b, v0.16b
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.8b, v0.8b
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.16b, v0.16b