Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / SME2 / ucvtf.s
bloba59cd68f619dbccb69a22c7731620e2da778d94c
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \
2 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
4 // RUN: | FileCheck %s --check-prefix=CHECK-ERROR
5 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \
6 // RUN: | llvm-objdump -d --mattr=+sme2 - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \
8 // RUN: | llvm-objdump -d --mattr=-sme2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
9 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \
10 // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
11 // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \
12 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
15 ucvtf {z0.s, z1.s}, {z0.s, z1.s} // 11000001-00100010-11100000-00100000
16 // CHECK-INST: ucvtf { z0.s, z1.s }, { z0.s, z1.s }
17 // CHECK-ENCODING: [0x20,0xe0,0x22,0xc1]
18 // CHECK-ERROR: instruction requires: sme2
19 // CHECK-UNKNOWN: c122e020 <unknown>
21 ucvtf {z20.s, z21.s}, {z10.s, z11.s} // 11000001-00100010-11100001-01110100
22 // CHECK-INST: ucvtf { z20.s, z21.s }, { z10.s, z11.s }
23 // CHECK-ENCODING: [0x74,0xe1,0x22,0xc1]
24 // CHECK-ERROR: instruction requires: sme2
25 // CHECK-UNKNOWN: c122e174 <unknown>
27 ucvtf {z22.s, z23.s}, {z12.s, z13.s} // 11000001-00100010-11100001-10110110
28 // CHECK-INST: ucvtf { z22.s, z23.s }, { z12.s, z13.s }
29 // CHECK-ENCODING: [0xb6,0xe1,0x22,0xc1]
30 // CHECK-ERROR: instruction requires: sme2
31 // CHECK-UNKNOWN: c122e1b6 <unknown>
33 ucvtf {z30.s, z31.s}, {z30.s, z31.s} // 11000001-00100010-11100011-11111110
34 // CHECK-INST: ucvtf { z30.s, z31.s }, { z30.s, z31.s }
35 // CHECK-ENCODING: [0xfe,0xe3,0x22,0xc1]
36 // CHECK-ERROR: instruction requires: sme2
37 // CHECK-UNKNOWN: c122e3fe <unknown>
40 ucvtf {z0.s - z3.s}, {z0.s - z3.s} // 11000001-00110010-11100000-00100000
41 // CHECK-INST: ucvtf { z0.s - z3.s }, { z0.s - z3.s }
42 // CHECK-ENCODING: [0x20,0xe0,0x32,0xc1]
43 // CHECK-ERROR: instruction requires: sme2
44 // CHECK-UNKNOWN: c132e020 <unknown>
46 ucvtf {z20.s - z23.s}, {z8.s - z11.s} // 11000001-00110010-11100001-00110100
47 // CHECK-INST: ucvtf { z20.s - z23.s }, { z8.s - z11.s }
48 // CHECK-ENCODING: [0x34,0xe1,0x32,0xc1]
49 // CHECK-ERROR: instruction requires: sme2
50 // CHECK-UNKNOWN: c132e134 <unknown>
52 ucvtf {z20.s - z23.s}, {z12.s - z15.s} // 11000001-00110010-11100001-10110100
53 // CHECK-INST: ucvtf { z20.s - z23.s }, { z12.s - z15.s }
54 // CHECK-ENCODING: [0xb4,0xe1,0x32,0xc1]
55 // CHECK-ERROR: instruction requires: sme2
56 // CHECK-UNKNOWN: c132e1b4 <unknown>
58 ucvtf {z28.s - z31.s}, {z28.s - z31.s} // 11000001-00110010-11100011-10111100
59 // CHECK-INST: ucvtf { z28.s - z31.s }, { z28.s - z31.s }
60 // CHECK-ENCODING: [0xbc,0xe3,0x32,0xc1]
61 // CHECK-ERROR: instruction requires: sme2
62 // CHECK-UNKNOWN: c132e3bc <unknown>