brintos

brintos / llvm-project-archived public Read only

0
0
Text · 3.9 KiB · de1c312 Raw
91 lines · plain
1// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1 < %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=+sme2p1 < %s \8// RUN:        | llvm-objdump -d --no-print-imm-hex --mattr=+sme2p1 - | FileCheck %s --check-prefix=CHECK-INST9// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2p1 < %s \10// RUN:        | llvm-objdump -d --mattr=-sme2p1,-sve2p1 - | FileCheck %s --check-prefix=CHECK-UNKNOWN11// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2p1 < %s \12// RUN:        | sed '/.text/d' | sed 's/.*encoding: //g' \13// RUN:        | llvm-mc -triple=aarch64 -mattr=+sme2p1 -disassemble -show-encoding \14// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST15 16 17fmaxnmqv v0.2d, p0, z0.d  // 01100100-11010100-10100000-0000000018// CHECK-INST: fmaxnmqv v0.2d, p0, z0.d19// CHECK-ENCODING: [0x00,0xa0,0xd4,0x64]20// CHECK-ERROR: instruction requires: sme2p1 or sve2p121// CHECK-UNKNOWN: 64d4a000 <unknown>22 23fmaxnmqv v21.2d, p5, z10.d  // 01100100-11010100-10110101-0101010124// CHECK-INST: fmaxnmqv v21.2d, p5, z10.d25// CHECK-ENCODING: [0x55,0xb5,0xd4,0x64]26// CHECK-ERROR: instruction requires: sme2p1 or sve2p127// CHECK-UNKNOWN: 64d4b555 <unknown>28 29fmaxnmqv v23.2d, p3, z13.d  // 01100100-11010100-10101101-1011011130// CHECK-INST: fmaxnmqv v23.2d, p3, z13.d31// CHECK-ENCODING: [0xb7,0xad,0xd4,0x64]32// CHECK-ERROR: instruction requires: sme2p1 or sve2p133// CHECK-UNKNOWN: 64d4adb7 <unknown>34 35fmaxnmqv v31.2d, p7, z31.d  // 01100100-11010100-10111111-1111111136// CHECK-INST: fmaxnmqv v31.2d, p7, z31.d37// CHECK-ENCODING: [0xff,0xbf,0xd4,0x64]38// CHECK-ERROR: instruction requires: sme2p1 or sve2p139// CHECK-UNKNOWN: 64d4bfff <unknown>40 41 42fmaxnmqv v0.8h, p0, z0.h  // 01100100-01010100-10100000-0000000043// CHECK-INST: fmaxnmqv v0.8h, p0, z0.h44// CHECK-ENCODING: [0x00,0xa0,0x54,0x64]45// CHECK-ERROR: instruction requires: sme2p1 or sve2p146// CHECK-UNKNOWN: 6454a000 <unknown>47 48fmaxnmqv v21.8h, p5, z10.h  // 01100100-01010100-10110101-0101010149// CHECK-INST: fmaxnmqv v21.8h, p5, z10.h50// CHECK-ENCODING: [0x55,0xb5,0x54,0x64]51// CHECK-ERROR: instruction requires: sme2p1 or sve2p152// CHECK-UNKNOWN: 6454b555 <unknown>53 54fmaxnmqv v23.8h, p3, z13.h  // 01100100-01010100-10101101-1011011155// CHECK-INST: fmaxnmqv v23.8h, p3, z13.h56// CHECK-ENCODING: [0xb7,0xad,0x54,0x64]57// CHECK-ERROR: instruction requires: sme2p1 or sve2p158// CHECK-UNKNOWN: 6454adb7 <unknown>59 60fmaxnmqv v31.8h, p7, z31.h  // 01100100-01010100-10111111-1111111161// CHECK-INST: fmaxnmqv v31.8h, p7, z31.h62// CHECK-ENCODING: [0xff,0xbf,0x54,0x64]63// CHECK-ERROR: instruction requires: sme2p1 or sve2p164// CHECK-UNKNOWN: 6454bfff <unknown>65 66 67fmaxnmqv v0.4s, p0, z0.s  // 01100100-10010100-10100000-0000000068// CHECK-INST: fmaxnmqv v0.4s, p0, z0.s69// CHECK-ENCODING: [0x00,0xa0,0x94,0x64]70// CHECK-ERROR: instruction requires: sme2p1 or sve2p171// CHECK-UNKNOWN: 6494a000 <unknown>72 73fmaxnmqv v21.4s, p5, z10.s  // 01100100-10010100-10110101-0101010174// CHECK-INST: fmaxnmqv v21.4s, p5, z10.s75// CHECK-ENCODING: [0x55,0xb5,0x94,0x64]76// CHECK-ERROR: instruction requires: sme2p1 or sve2p177// CHECK-UNKNOWN: 6494b555 <unknown>78 79fmaxnmqv v23.4s, p3, z13.s  // 01100100-10010100-10101101-1011011180// CHECK-INST: fmaxnmqv v23.4s, p3, z13.s81// CHECK-ENCODING: [0xb7,0xad,0x94,0x64]82// CHECK-ERROR: instruction requires: sme2p1 or sve2p183// CHECK-UNKNOWN: 6494adb7 <unknown>84 85fmaxnmqv v31.4s, p7, z31.s  // 01100100-10010100-10111111-1111111186// CHECK-INST: fmaxnmqv v31.4s, p7, z31.s87// CHECK-ENCODING: [0xff,0xbf,0x94,0x64]88// CHECK-ERROR: instruction requires: sme2p1 or sve2p189// CHECK-UNKNOWN: 6494bfff <unknown>90 91