[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / MC / AArch64 / SME2p1 / fcvtl.s
blob31cf90d037969cfe13e7b443ca1857e23bc03c06
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1,+sme-f16f16 < %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=+sme2p1,+sme-f16f16 < %s \
6 // RUN: | llvm-objdump -d --mattr=+sme2p1,+sme-f16f16 - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2p1,+sme-f16f16 < %s \
8 // RUN: | llvm-objdump -d --mattr=-sme2p1 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
9 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1,+sme-f16f16 < %s \
10 // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
11 // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2p1,+sme-f16f16 -disassemble -show-encoding \
12 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
14 fcvtl {z0.s, z1.s}, z0.h // 11000001-10100000-11100000-00000001
15 // CHECK-INST: fcvtl { z0.s, z1.s }, z0.h
16 // CHECK-ENCODING: [0x01,0xe0,0xa0,0xc1]
17 // CHECK-ERROR: instruction requires: sme2p1 sme-f16f16
18 // CHECK-UNKNOWN: c1a0e001 <unknown>
20 fcvtl {z20.s, z21.s}, z10.h // 11000001-10100000-11100001-01010101
21 // CHECK-INST: fcvtl { z20.s, z21.s }, z10.h
22 // CHECK-ENCODING: [0x55,0xe1,0xa0,0xc1]
23 // CHECK-ERROR: instruction requires: sme2p1 sme-f16f16
24 // CHECK-UNKNOWN: c1a0e155 <unknown>
26 fcvtl {z22.s, z23.s}, z13.h // 11000001-10100000-11100001-10110111
27 // CHECK-INST: fcvtl { z22.s, z23.s }, z13.h
28 // CHECK-ENCODING: [0xb7,0xe1,0xa0,0xc1]
29 // CHECK-ERROR: instruction requires: sme2p1 sme-f16f16
30 // CHECK-UNKNOWN: c1a0e1b7 <unknown>
32 fcvtl {z30.s, z31.s}, z31.h // 11000001-10100000-11100011-11111111
33 // CHECK-INST: fcvtl { z30.s, z31.s }, z31.h
34 // CHECK-ENCODING: [0xff,0xe3,0xa0,0xc1]
35 // CHECK-ERROR: instruction requires: sme2p1 sme-f16f16
36 // CHECK-UNKNOWN: c1a0e3ff <unknown>