|
1 | 1 | // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve -mattr=+cpa < %s \
|
2 | 2 | // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
|
3 |
| -// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme -mattr=+cpa < %s \ |
4 |
| -// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
| 3 | +// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme -mattr=+cpa < %s 2>&1 \ |
| 4 | +// RUN: | FileCheck %s --check-prefixes=CHECK-ERROR-NO-SVE |
5 | 5 | // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
|
6 | 6 | // RUN: | FileCheck %s --check-prefix=CHECK-ERROR
|
7 | 7 | // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+cpa < %s 2>&1 \
|
8 |
| -// RUN: | FileCheck %s --check-prefix=CHECK-ERROR-NO-SVESME |
| 8 | +// RUN: | FileCheck %s --check-prefix=CHECK-ERROR-NO-SVE |
9 | 9 | // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %s 2>&1 \
|
10 | 10 | // RUN: | FileCheck %s --check-prefix=CHECK-ERROR-NO-CPA
|
11 | 11 | // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %s 2>&1 \
|
12 |
| -// RUN: | FileCheck %s --check-prefix=CHECK-ERROR-NO-CPA |
| 12 | +// RUN: | FileCheck %s --check-prefix=CHECK-ERROR |
13 | 13 | // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve -mattr=+cpa < %s \
|
14 | 14 | // RUN: | llvm-objdump -d --mattr=+sve --mattr=+cpa - \
|
15 | 15 | // RUN: | FileCheck %s --check-prefix=CHECK-INST
|
|
23 | 23 | addpt z23.d, z13.d, z8.d
|
24 | 24 | // CHECK-INST: addpt z23.d, z13.d, z8.d
|
25 | 25 | // CHECK-ENCODING: [0xb7,0x09,0xe8,0x04]
|
26 |
| -// CHECK-ERROR: instruction requires: cpa sve or sme |
27 |
| -// CHECK-ERROR-NO-SVESME: instruction requires: sve or sme |
| 26 | +// CHECK-ERROR: instruction requires: cpa sve |
| 27 | +// CHECK-ERROR-NO-SVE: instruction requires: sve |
28 | 28 | // CHECK-ERROR-NO-CPA: instruction requires: cpa
|
29 | 29 | // CHECK-UNKNOWN: 04e809b7 <unknown>
|
30 | 30 |
|
31 | 31 | addpt z23.d, p3/m, z23.d, z13.d
|
32 | 32 | // CHECK-INST: addpt z23.d, p3/m, z23.d, z13.d
|
33 | 33 | // CHECK-ENCODING: [0xb7,0x0d,0xc4,0x04]
|
34 |
| -// CHECK-ERROR: instruction requires: cpa sve or sme |
35 |
| -// CHECK-ERROR-NO-SVESME: instruction requires: sve or sme |
| 34 | +// CHECK-ERROR: instruction requires: cpa sve |
| 35 | +// CHECK-ERROR-NO-SVE: instruction requires: sve |
36 | 36 | // CHECK-ERROR-NO-CPA: instruction requires: cpa
|
37 | 37 | // CHECK-UNKNOWN: 04c40db7 <unknown>
|
38 | 38 |
|
39 | 39 | subpt z23.d, z13.d, z8.d
|
40 | 40 | // CHECK-INST: subpt z23.d, z13.d, z8.d
|
41 | 41 | // CHECK-ENCODING: [0xb7,0x0d,0xe8,0x04]
|
42 |
| -// CHECK-ERROR: instruction requires: cpa sve or sme |
43 |
| -// CHECK-ERROR-NO-SVESME: instruction requires: sve or sme |
| 42 | +// CHECK-ERROR: instruction requires: cpa sve |
| 43 | +// CHECK-ERROR-NO-SVE: instruction requires: sve |
44 | 44 | // CHECK-ERROR-NO-CPA: instruction requires: cpa
|
45 | 45 | // CHECK-UNKNOWN: 04e80db7 <unknown>
|
46 | 46 |
|
47 | 47 | subpt z23.d, p3/m, z23.d, z13.d
|
48 | 48 | // CHECK-INST: subpt z23.d, p3/m, z23.d, z13.d
|
49 | 49 | // CHECK-ENCODING: [0xb7,0x0d,0xc5,0x04]
|
50 |
| -// CHECK-ERROR: instruction requires: cpa sve or sme |
51 |
| -// CHECK-ERROR-NO-SVESME: instruction requires: sve or sme |
| 50 | +// CHECK-ERROR: instruction requires: cpa sve |
| 51 | +// CHECK-ERROR-NO-SVE: instruction requires: sve |
52 | 52 | // CHECK-ERROR-NO-CPA: instruction requires: cpa
|
53 | 53 | // CHECK-UNKNOWN: 04c50db7 <unknown>
|
54 | 54 |
|
55 | 55 | madpt z0.d, z1.d, z31.d
|
56 | 56 | // CHECK-INST: madpt z0.d, z1.d, z31.d
|
57 | 57 | // CHECK-ENCODING: [0xe0,0xdb,0xc1,0x44]
|
58 |
| -// CHECK-ERROR: instruction requires: cpa sve or sme |
59 |
| -// CHECK-ERROR-NO-SVESME: instruction requires: sve or sme |
| 58 | +// CHECK-ERROR: instruction requires: cpa sve |
| 59 | +// CHECK-ERROR-NO-SVE: instruction requires: sve |
60 | 60 | // CHECK-ERROR-NO-CPA: instruction requires: cpa
|
61 | 61 | // CHECK-UNKNOWN: 44c1dbe0 <unknown>
|
62 | 62 |
|
63 | 63 | mlapt z0.d, z1.d, z31.d
|
64 | 64 | // CHECK-INST: mlapt z0.d, z1.d, z31.d
|
65 | 65 | // CHECK-ENCODING: [0x20,0xd0,0xdf,0x44]
|
66 |
| -// CHECK-ERROR: instruction requires: cpa sve or sme |
67 |
| -// CHECK-ERROR-NO-SVESME: instruction requires: sve or sme |
| 66 | +// CHECK-ERROR: instruction requires: cpa sve |
| 67 | +// CHECK-ERROR-NO-SVE: instruction requires: sve |
68 | 68 | // CHECK-ERROR-NO-CPA: instruction requires: cpa
|
69 | 69 | // CHECK-UNKNOWN: 44dfd020 <unknown>
|
0 commit comments