brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.5 KiB · 28fa375 Raw
79 lines · plain
1// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \2// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 < %s \4// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST5// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \6// RUN:        | FileCheck %s --check-prefix=CHECK-ERROR7// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \8// RUN:        | llvm-objdump -d --mattr=+sme2 - | FileCheck %s --check-prefix=CHECK-INST9// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \10// RUN:        | llvm-objdump -d --mattr=-sme2,-sve2p1 - | FileCheck %s --check-prefix=CHECK-UNKNOWN11// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \12// RUN:        | sed '/.text/d' | sed 's/.*encoding: //g' \13// RUN:        | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \14// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST15 16movprfx z23, z3117bfmlslt z23.s, z13.h, z8.h  // 01100100-11101000-10100101-1011011118// CHECK-INST:  movprfx z23, z3119// CHECK-INST: bfmlslt z23.s, z13.h, z8.h20// CHECK-ENCODING: [0xb7,0xa5,0xe8,0x64]21// CHECK-ERROR: instruction requires: sme2 or sve2p122// CHECK-UNKNOWN: 64e8a5b7 <unknown>23 24bfmlslt z0.s, z0.h, z0.h  // 01100100-11100000-10100100-0000000025// CHECK-INST: bfmlslt z0.s, z0.h, z0.h26// CHECK-ENCODING: [0x00,0xa4,0xe0,0x64]27// CHECK-ERROR: instruction requires: sme2 or sve2p128// CHECK-UNKNOWN: 64e0a400 <unknown>29 30bfmlslt z21.s, z10.h, z21.h  // 01100100-11110101-10100101-0101010131// CHECK-INST: bfmlslt z21.s, z10.h, z21.h32// CHECK-ENCODING: [0x55,0xa5,0xf5,0x64]33// CHECK-ERROR: instruction requires: sme2 or sve2p134// CHECK-UNKNOWN: 64f5a555 <unknown>35 36bfmlslt z23.s, z13.h, z8.h  // 01100100-11101000-10100101-1011011137// CHECK-INST: bfmlslt z23.s, z13.h, z8.h38// CHECK-ENCODING: [0xb7,0xa5,0xe8,0x64]39// CHECK-ERROR: instruction requires: sme2 or sve2p140// CHECK-UNKNOWN: 64e8a5b7 <unknown>41 42bfmlslt z31.s, z31.h, z31.h  // 01100100-11111111-10100111-1111111143// CHECK-INST: bfmlslt z31.s, z31.h, z31.h44// CHECK-ENCODING: [0xff,0xa7,0xff,0x64]45// CHECK-ERROR: instruction requires: sme2 or sve2p146// CHECK-UNKNOWN: 64ffa7ff <unknown>47 48movprfx z23, z3149bfmlslt z23.s, z13.h, z0.h[3]  // 01100100-11101000-01101101-1011011150// CHECK-INST:  movprfx z23, z3151// CHECK-INST: bfmlslt z23.s, z13.h, z0.h[3]52// CHECK-ENCODING: [0xb7,0x6d,0xe8,0x64]53// CHECK-ERROR: instruction requires: sme2 or sve2p154// CHECK-UNKNOWN: 64e86db7 <unknown>55 56bfmlslt z0.s, z0.h, z0.h[0]  // 01100100-11100000-01100100-0000000057// CHECK-INST: bfmlslt z0.s, z0.h, z0.h[0]58// CHECK-ENCODING: [0x00,0x64,0xe0,0x64]59// CHECK-ERROR: instruction requires: sme2 or sve2p160// CHECK-UNKNOWN: 64e06400 <unknown>61 62bfmlslt z21.s, z10.h, z5.h[4]  // 01100100-11110101-01100101-0101010163// CHECK-INST: bfmlslt z21.s, z10.h, z5.h[4]64// CHECK-ENCODING: [0x55,0x65,0xf5,0x64]65// CHECK-ERROR: instruction requires: sme2 or sve2p166// CHECK-UNKNOWN: 64f56555 <unknown>67 68bfmlslt z23.s, z13.h, z0.h[3]  // 01100100-11101000-01101101-1011011169// CHECK-INST: bfmlslt z23.s, z13.h, z0.h[3]70// CHECK-ENCODING: [0xb7,0x6d,0xe8,0x64]71// CHECK-ERROR: instruction requires: sme2 or sve2p172// CHECK-UNKNOWN: 64e86db7 <unknown>73 74bfmlslt z31.s, z31.h, z7.h[7]  // 01100100-11111111-01101111-1111111175// CHECK-INST: bfmlslt z31.s, z31.h, z7.h[7]76// CHECK-ENCODING: [0xff,0x6f,0xff,0x64]77// CHECK-ERROR: instruction requires: sme2 or sve2p178// CHECK-UNKNOWN: 64ff6fff <unknown>79