brintos

brintos / llvm-project-archived public Read only

0
0
Text · 5.3 KiB · 2d6002d Raw
114 lines · plain
1// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \2// RUN:        | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST3// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \4// RUN:        | FileCheck %s --check-prefix=CHECK-ERROR5// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \6// RUN:        | llvm-objdump -d --mattr=+sme2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST7// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \8// RUN:        | llvm-objdump -d --mattr=-sme2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-UNKNOWN9// 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-INST13 14 15st1d    {z0.d, z8.d}, pn8, [x0, x0, lsl #3]  // 10100001-00100000-01100000-0000000016// CHECK-INST: st1d    { z0.d, z8.d }, pn8, [x0, x0, lsl #3]17// CHECK-ENCODING: [0x00,0x60,0x20,0xa1]18// CHECK-ERROR: instruction requires: sme219// CHECK-UNKNOWN: a1206000 <unknown>20 21st1d    {z21.d, z29.d}, pn13, [x10, x21, lsl #3]  // 10100001-00110101-01110101-0101010122// CHECK-INST: st1d    { z21.d, z29.d }, pn13, [x10, x21, lsl #3]23// CHECK-ENCODING: [0x55,0x75,0x35,0xa1]24// CHECK-ERROR: instruction requires: sme225// CHECK-UNKNOWN: a1357555 <unknown>26 27st1d    {z23.d, z31.d}, pn11, [x13, x8, lsl #3]  // 10100001-00101000-01101101-1011011128// CHECK-INST: st1d    { z23.d, z31.d }, pn11, [x13, x8, lsl #3]29// CHECK-ENCODING: [0xb7,0x6d,0x28,0xa1]30// CHECK-ERROR: instruction requires: sme231// CHECK-UNKNOWN: a1286db7 <unknown>32 33st1d    {z23.d, z31.d}, pn15, [sp, xzr, lsl #3]  // 10100001-00111111-01111111-1111011134// CHECK-INST: st1d    { z23.d, z31.d }, pn15, [sp, xzr, lsl #3]35// CHECK-ENCODING: [0xf7,0x7f,0x3f,0xa1]36// CHECK-ERROR: instruction requires: sme237// CHECK-UNKNOWN: a13f7ff7 <unknown>38 39 40st1d    {z0.d, z8.d}, pn8, [x0]  // 10100001-01100000-01100000-0000000041// CHECK-INST: st1d    { z0.d, z8.d }, pn8, [x0]42// CHECK-ENCODING: [0x00,0x60,0x60,0xa1]43// CHECK-ERROR: instruction requires: sme244// CHECK-UNKNOWN: a1606000 <unknown>45 46st1d    {z21.d, z29.d}, pn13, [x10, #10, mul vl]  // 10100001-01100101-01110101-0101010147// CHECK-INST: st1d    { z21.d, z29.d }, pn13, [x10, #10, mul vl]48// CHECK-ENCODING: [0x55,0x75,0x65,0xa1]49// CHECK-ERROR: instruction requires: sme250// CHECK-UNKNOWN: a1657555 <unknown>51 52st1d    {z23.d, z31.d}, pn11, [x13, #-16, mul vl]  // 10100001-01101000-01101101-1011011153// CHECK-INST: st1d    { z23.d, z31.d }, pn11, [x13, #-16, mul vl]54// CHECK-ENCODING: [0xb7,0x6d,0x68,0xa1]55// CHECK-ERROR: instruction requires: sme256// CHECK-UNKNOWN: a1686db7 <unknown>57 58st1d    {z23.d, z31.d}, pn15, [sp, #-2, mul vl]  // 10100001-01101111-01111111-1111011159// CHECK-INST: st1d    { z23.d, z31.d }, pn15, [sp, #-2, mul vl]60// CHECK-ENCODING: [0xf7,0x7f,0x6f,0xa1]61// CHECK-ERROR: instruction requires: sme262// CHECK-UNKNOWN: a16f7ff7 <unknown>63 64 65st1d    {z0.d, z4.d, z8.d, z12.d}, pn8, [x0, x0, lsl #3]  // 10100001-00100000-11100000-0000000066// CHECK-INST: st1d    { z0.d, z4.d, z8.d, z12.d }, pn8, [x0, x0, lsl #3]67// CHECK-ENCODING: [0x00,0xe0,0x20,0xa1]68// CHECK-ERROR: instruction requires: sme269// CHECK-UNKNOWN: a120e000 <unknown>70 71st1d    {z17.d, z21.d, z25.d, z29.d}, pn13, [x10, x21, lsl #3]  // 10100001-00110101-11110101-0101000172// CHECK-INST: st1d    { z17.d, z21.d, z25.d, z29.d }, pn13, [x10, x21, lsl #3]73// CHECK-ENCODING: [0x51,0xf5,0x35,0xa1]74// CHECK-ERROR: instruction requires: sme275// CHECK-UNKNOWN: a135f551 <unknown>76 77st1d    {z19.d, z23.d, z27.d, z31.d}, pn11, [x13, x8, lsl #3]  // 10100001-00101000-11101101-1011001178// CHECK-INST: st1d    { z19.d, z23.d, z27.d, z31.d }, pn11, [x13, x8, lsl #3]79// CHECK-ENCODING: [0xb3,0xed,0x28,0xa1]80// CHECK-ERROR: instruction requires: sme281// CHECK-UNKNOWN: a128edb3 <unknown>82 83st1d    {z19.d, z23.d, z27.d, z31.d}, pn15, [sp, xzr, lsl #3]  // 10100001-00111111-11111111-1111001184// CHECK-INST: st1d    { z19.d, z23.d, z27.d, z31.d }, pn15, [sp, xzr, lsl #3]85// CHECK-ENCODING: [0xf3,0xff,0x3f,0xa1]86// CHECK-ERROR: instruction requires: sme287// CHECK-UNKNOWN: a13ffff3 <unknown>88 89 90st1d    {z0.d, z4.d, z8.d, z12.d}, pn8, [x0]  // 10100001-01100000-11100000-0000000091// CHECK-INST: st1d    { z0.d, z4.d, z8.d, z12.d }, pn8, [x0]92// CHECK-ENCODING: [0x00,0xe0,0x60,0xa1]93// CHECK-ERROR: instruction requires: sme294// CHECK-UNKNOWN: a160e000 <unknown>95 96st1d    {z17.d, z21.d, z25.d, z29.d}, pn13, [x10, #20, mul vl]  // 10100001-01100101-11110101-0101000197// CHECK-INST: st1d    { z17.d, z21.d, z25.d, z29.d }, pn13, [x10, #20, mul vl]98// CHECK-ENCODING: [0x51,0xf5,0x65,0xa1]99// CHECK-ERROR: instruction requires: sme2100// CHECK-UNKNOWN: a165f551 <unknown>101 102st1d    {z19.d, z23.d, z27.d, z31.d}, pn11, [x13, #-32, mul vl]  // 10100001-01101000-11101101-10110011103// CHECK-INST: st1d    { z19.d, z23.d, z27.d, z31.d }, pn11, [x13, #-32, mul vl]104// CHECK-ENCODING: [0xb3,0xed,0x68,0xa1]105// CHECK-ERROR: instruction requires: sme2106// CHECK-UNKNOWN: a168edb3 <unknown>107 108st1d    {z19.d, z23.d, z27.d, z31.d}, pn15, [sp, #-4, mul vl]  // 10100001-01101111-11111111-11110011109// CHECK-INST: st1d    { z19.d, z23.d, z27.d, z31.d }, pn15, [sp, #-4, mul vl]110// CHECK-ENCODING: [0xf3,0xff,0x6f,0xa1]111// CHECK-ERROR: instruction requires: sme2112// CHECK-UNKNOWN: a16ffff3 <unknown>113 114