• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: not llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.5a < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
2
3// FP-to-int rounding, vector, illegal
4frint32z v0.4h, v0.4h
5frint32z v0.8b, v0.8b
6frint32z v0.8h, v0.8h
7frint32z v0.16b, v0.16b
8frint64z v0.4h, v0.4h
9frint64z v0.8b, v0.8b
10frint64z v0.8h, v0.8h
11frint64z v0.16b, v0.16b
12frint32x v0.4h, v0.4h
13frint32x v0.8b, v0.8b
14frint32x v0.8h, v0.8h
15frint32x v0.16b, v0.16b
16frint64x v0.4h, v0.4h
17frint64x v0.8b, v0.8b
18frint64x v0.8h, v0.8h
19frint64x v0.16b, v0.16b
20
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
53