| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
| // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-ERROR | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=+sme2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=-sme2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-UNKNOWN | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ | ||
| // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
|
|
||
|
|
||
| st1d {z0.d, z8.d}, pn8, [x0, x0, lsl #3] // 10100001-00100000-01100000-00000000 | ||
| // CHECK-INST: st1d { z0.d, z8.d }, pn8, [x0, x0, lsl #3] | ||
| // CHECK-ENCODING: [0x00,0x60,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1206000 <unknown> | ||
|
|
||
| st1d {z21.d, z29.d}, pn13, [x10, x21, lsl #3] // 10100001-00110101-01110101-01010101 | ||
| // CHECK-INST: st1d { z21.d, z29.d }, pn13, [x10, x21, lsl #3] | ||
| // CHECK-ENCODING: [0x55,0x75,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1357555 <unknown> | ||
|
|
||
| st1d {z23.d, z31.d}, pn11, [x13, x8, lsl #3] // 10100001-00101000-01101101-10110111 | ||
| // CHECK-INST: st1d { z23.d, z31.d }, pn11, [x13, x8, lsl #3] | ||
| // CHECK-ENCODING: [0xb7,0x6d,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1286db7 <unknown> | ||
|
|
||
| st1d {z23.d, z31.d}, pn15, [sp, xzr, lsl #3] // 10100001-00111111-01111111-11110111 | ||
| // CHECK-INST: st1d { z23.d, z31.d }, pn15, [sp, xzr, lsl #3] | ||
| // CHECK-ENCODING: [0xf7,0x7f,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13f7ff7 <unknown> | ||
|
|
||
|
|
||
| st1d {z0.d, z8.d}, pn8, [x0] // 10100001-01100000-01100000-00000000 | ||
| // CHECK-INST: st1d { z0.d, z8.d }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x00,0x60,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1606000 <unknown> | ||
|
|
||
| st1d {z21.d, z29.d}, pn13, [x10, #10, mul vl] // 10100001-01100101-01110101-01010101 | ||
| // CHECK-INST: st1d { z21.d, z29.d }, pn13, [x10, #10, mul vl] | ||
| // CHECK-ENCODING: [0x55,0x75,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1657555 <unknown> | ||
|
|
||
| st1d {z23.d, z31.d}, pn11, [x13, #-16, mul vl] // 10100001-01101000-01101101-10110111 | ||
| // CHECK-INST: st1d { z23.d, z31.d }, pn11, [x13, #-16, mul vl] | ||
| // CHECK-ENCODING: [0xb7,0x6d,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1686db7 <unknown> | ||
|
|
||
| st1d {z23.d, z31.d}, pn15, [sp, #-2, mul vl] // 10100001-01101111-01111111-11110111 | ||
| // CHECK-INST: st1d { z23.d, z31.d }, pn15, [sp, #-2, mul vl] | ||
| // CHECK-ENCODING: [0xf7,0x7f,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16f7ff7 <unknown> | ||
|
|
||
|
|
||
| st1d {z0.d, z4.d, z8.d, z12.d}, pn8, [x0, x0, lsl #3] // 10100001-00100000-11100000-00000000 | ||
| // CHECK-INST: st1d { z0.d, z4.d, z8.d, z12.d }, pn8, [x0, x0, lsl #3] | ||
| // CHECK-ENCODING: [0x00,0xe0,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a120e000 <unknown> | ||
|
|
||
| st1d {z17.d, z21.d, z25.d, z29.d}, pn13, [x10, x21, lsl #3] // 10100001-00110101-11110101-01010001 | ||
| // CHECK-INST: st1d { z17.d, z21.d, z25.d, z29.d }, pn13, [x10, x21, lsl #3] | ||
| // CHECK-ENCODING: [0x51,0xf5,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135f551 <unknown> | ||
|
|
||
| st1d {z19.d, z23.d, z27.d, z31.d}, pn11, [x13, x8, lsl #3] // 10100001-00101000-11101101-10110011 | ||
| // CHECK-INST: st1d { z19.d, z23.d, z27.d, z31.d }, pn11, [x13, x8, lsl #3] | ||
| // CHECK-ENCODING: [0xb3,0xed,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a128edb3 <unknown> | ||
|
|
||
| st1d {z19.d, z23.d, z27.d, z31.d}, pn15, [sp, xzr, lsl #3] // 10100001-00111111-11111111-11110011 | ||
| // CHECK-INST: st1d { z19.d, z23.d, z27.d, z31.d }, pn15, [sp, xzr, lsl #3] | ||
| // CHECK-ENCODING: [0xf3,0xff,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13ffff3 <unknown> | ||
|
|
||
|
|
||
| st1d {z0.d, z4.d, z8.d, z12.d}, pn8, [x0] // 10100001-01100000-11100000-00000000 | ||
| // CHECK-INST: st1d { z0.d, z4.d, z8.d, z12.d }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x00,0xe0,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a160e000 <unknown> | ||
|
|
||
| st1d {z17.d, z21.d, z25.d, z29.d}, pn13, [x10, #20, mul vl] // 10100001-01100101-11110101-01010001 | ||
| // CHECK-INST: st1d { z17.d, z21.d, z25.d, z29.d }, pn13, [x10, #20, mul vl] | ||
| // CHECK-ENCODING: [0x51,0xf5,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165f551 <unknown> | ||
|
|
||
| st1d {z19.d, z23.d, z27.d, z31.d}, pn11, [x13, #-32, mul vl] // 10100001-01101000-11101101-10110011 | ||
| // CHECK-INST: st1d { z19.d, z23.d, z27.d, z31.d }, pn11, [x13, #-32, mul vl] | ||
| // CHECK-ENCODING: [0xb3,0xed,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a168edb3 <unknown> | ||
|
|
||
| st1d {z19.d, z23.d, z27.d, z31.d}, pn15, [sp, #-4, mul vl] // 10100001-01101111-11111111-11110011 | ||
| // CHECK-INST: st1d { z19.d, z23.d, z27.d, z31.d }, pn15, [sp, #-4, mul vl] | ||
| // CHECK-ENCODING: [0xf3,0xff,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16ffff3 <unknown> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,115 @@ | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
| // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-ERROR | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=+sme2 --no-print-imm-hex - \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-INST | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=-sme2 --no-print-imm-hex - \ | ||
| // RUN: |FileCheck %s --check-prefix=CHECK-UNKNOWN | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ | ||
| // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
|
|
||
|
|
||
| st1h {z0.h, z8.h}, pn8, [x0, x0, lsl #1] // 10100001-00100000-00100000-00000000 | ||
| // CHECK-INST: st1h { z0.h, z8.h }, pn8, [x0, x0, lsl #1] | ||
| // CHECK-ENCODING: [0x00,0x20,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1202000 <unknown> | ||
|
|
||
| st1h {z21.h, z29.h}, pn13, [x10, x21, lsl #1] // 10100001-00110101-00110101-01010101 | ||
| // CHECK-INST: st1h { z21.h, z29.h }, pn13, [x10, x21, lsl #1] | ||
| // CHECK-ENCODING: [0x55,0x35,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1353555 <unknown> | ||
|
|
||
| st1h {z23.h, z31.h}, pn11, [x13, x8, lsl #1] // 10100001-00101000-00101101-10110111 | ||
| // CHECK-INST: st1h { z23.h, z31.h }, pn11, [x13, x8, lsl #1] | ||
| // CHECK-ENCODING: [0xb7,0x2d,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1282db7 <unknown> | ||
|
|
||
| st1h {z23.h, z31.h}, pn15, [sp, xzr, lsl #1] // 10100001-00111111-00111111-11110111 | ||
| // CHECK-INST: st1h { z23.h, z31.h }, pn15, [sp, xzr, lsl #1] | ||
| // CHECK-ENCODING: [0xf7,0x3f,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13f3ff7 <unknown> | ||
|
|
||
|
|
||
| st1h {z0.h, z8.h}, pn8, [x0] // 10100001-01100000-00100000-00000000 | ||
| // CHECK-INST: st1h { z0.h, z8.h }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x00,0x20,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1602000 <unknown> | ||
|
|
||
| st1h {z21.h, z29.h}, pn13, [x10, #10, mul vl] // 10100001-01100101-00110101-01010101 | ||
| // CHECK-INST: st1h { z21.h, z29.h }, pn13, [x10, #10, mul vl] | ||
| // CHECK-ENCODING: [0x55,0x35,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1653555 <unknown> | ||
|
|
||
| st1h {z23.h, z31.h}, pn11, [x13, #-16, mul vl] // 10100001-01101000-00101101-10110111 | ||
| // CHECK-INST: st1h { z23.h, z31.h }, pn11, [x13, #-16, mul vl] | ||
| // CHECK-ENCODING: [0xb7,0x2d,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1682db7 <unknown> | ||
|
|
||
| st1h {z23.h, z31.h}, pn15, [sp, #-2, mul vl] // 10100001-01101111-00111111-11110111 | ||
| // CHECK-INST: st1h { z23.h, z31.h }, pn15, [sp, #-2, mul vl] | ||
| // CHECK-ENCODING: [0xf7,0x3f,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16f3ff7 <unknown> | ||
|
|
||
|
|
||
| st1h {z0.h, z4.h, z8.h, z12.h}, pn8, [x0, x0, lsl #1] // 10100001-00100000-10100000-00000000 | ||
| // CHECK-INST: st1h { z0.h, z4.h, z8.h, z12.h }, pn8, [x0, x0, lsl #1] | ||
| // CHECK-ENCODING: [0x00,0xa0,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a120a000 <unknown> | ||
|
|
||
| st1h {z17.h, z21.h, z25.h, z29.h}, pn13, [x10, x21, lsl #1] // 10100001-00110101-10110101-01010001 | ||
| // CHECK-INST: st1h { z17.h, z21.h, z25.h, z29.h }, pn13, [x10, x21, lsl #1] | ||
| // CHECK-ENCODING: [0x51,0xb5,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135b551 <unknown> | ||
|
|
||
| st1h {z19.h, z23.h, z27.h, z31.h}, pn11, [x13, x8, lsl #1] // 10100001-00101000-10101101-10110011 | ||
| // CHECK-INST: st1h { z19.h, z23.h, z27.h, z31.h }, pn11, [x13, x8, lsl #1] | ||
| // CHECK-ENCODING: [0xb3,0xad,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a128adb3 <unknown> | ||
|
|
||
| st1h {z19.h, z23.h, z27.h, z31.h}, pn15, [sp, xzr, lsl #1] // 10100001-00111111-10111111-11110011 | ||
| // CHECK-INST: st1h { z19.h, z23.h, z27.h, z31.h }, pn15, [sp, xzr, lsl #1] | ||
| // CHECK-ENCODING: [0xf3,0xbf,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13fbff3 <unknown> | ||
|
|
||
|
|
||
| st1h {z0.h, z4.h, z8.h, z12.h}, pn8, [x0] // 10100001-01100000-10100000-00000000 | ||
| // CHECK-INST: st1h { z0.h, z4.h, z8.h, z12.h }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x00,0xa0,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a160a000 <unknown> | ||
|
|
||
| st1h {z17.h, z21.h, z25.h, z29.h}, pn13, [x10, #20, mul vl] // 10100001-01100101-10110101-01010001 | ||
| // CHECK-INST: st1h { z17.h, z21.h, z25.h, z29.h }, pn13, [x10, #20, mul vl] | ||
| // CHECK-ENCODING: [0x51,0xb5,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165b551 <unknown> | ||
|
|
||
| st1h {z19.h, z23.h, z27.h, z31.h}, pn11, [x13, #-32, mul vl] // 10100001-01101000-10101101-10110011 | ||
| // CHECK-INST: st1h { z19.h, z23.h, z27.h, z31.h }, pn11, [x13, #-32, mul vl] | ||
| // CHECK-ENCODING: [0xb3,0xad,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a168adb3 <unknown> | ||
|
|
||
| st1h {z19.h, z23.h, z27.h, z31.h}, pn15, [sp, #-4, mul vl] // 10100001-01101111-10111111-11110011 | ||
| // CHECK-INST: st1h { z19.h, z23.h, z27.h, z31.h }, pn15, [sp, #-4, mul vl] | ||
| // CHECK-ENCODING: [0xf3,0xbf,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16fbff3 <unknown> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,115 @@ | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
| // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-ERROR | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=+sme2 --no-print-imm-hex - \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-INST | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=-sme2 --no-print-imm-hex - \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-UNKNOWN | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ | ||
| // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
|
|
||
|
|
||
| st1w {z0.s, z8.s}, pn8, [x0, x0, lsl #2] // 10100001-00100000-01000000-00000000 | ||
| // CHECK-INST: st1w { z0.s, z8.s }, pn8, [x0, x0, lsl #2] | ||
| // CHECK-ENCODING: [0x00,0x40,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1204000 <unknown> | ||
|
|
||
| st1w {z21.s, z29.s}, pn13, [x10, x21, lsl #2] // 10100001-00110101-01010101-01010101 | ||
| // CHECK-INST: st1w { z21.s, z29.s }, pn13, [x10, x21, lsl #2] | ||
| // CHECK-ENCODING: [0x55,0x55,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1355555 <unknown> | ||
|
|
||
| st1w {z23.s, z31.s}, pn11, [x13, x8, lsl #2] // 10100001-00101000-01001101-10110111 | ||
| // CHECK-INST: st1w { z23.s, z31.s }, pn11, [x13, x8, lsl #2] | ||
| // CHECK-ENCODING: [0xb7,0x4d,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1284db7 <unknown> | ||
|
|
||
| st1w {z23.s, z31.s}, pn15, [sp, xzr, lsl #2] // 10100001-00111111-01011111-11110111 | ||
| // CHECK-INST: st1w { z23.s, z31.s }, pn15, [sp, xzr, lsl #2] | ||
| // CHECK-ENCODING: [0xf7,0x5f,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13f5ff7 <unknown> | ||
|
|
||
|
|
||
| st1w {z0.s, z8.s}, pn8, [x0] // 10100001-01100000-01000000-00000000 | ||
| // CHECK-INST: st1w { z0.s, z8.s }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x00,0x40,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1604000 <unknown> | ||
|
|
||
| st1w {z21.s, z29.s}, pn13, [x10, #10, mul vl] // 10100001-01100101-01010101-01010101 | ||
| // CHECK-INST: st1w { z21.s, z29.s }, pn13, [x10, #10, mul vl] | ||
| // CHECK-ENCODING: [0x55,0x55,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1655555 <unknown> | ||
|
|
||
| st1w {z23.s, z31.s}, pn11, [x13, #-16, mul vl] // 10100001-01101000-01001101-10110111 | ||
| // CHECK-INST: st1w { z23.s, z31.s }, pn11, [x13, #-16, mul vl] | ||
| // CHECK-ENCODING: [0xb7,0x4d,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1684db7 <unknown> | ||
|
|
||
| st1w {z23.s, z31.s}, pn15, [sp, #-2, mul vl] // 10100001-01101111-01011111-11110111 | ||
| // CHECK-INST: st1w { z23.s, z31.s }, pn15, [sp, #-2, mul vl] | ||
| // CHECK-ENCODING: [0xf7,0x5f,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16f5ff7 <unknown> | ||
|
|
||
|
|
||
| st1w {z0.s, z4.s, z8.s, z12.s}, pn8, [x0, x0, lsl #2] // 10100001-00100000-11000000-00000000 | ||
| // CHECK-INST: st1w { z0.s, z4.s, z8.s, z12.s }, pn8, [x0, x0, lsl #2] | ||
| // CHECK-ENCODING: [0x00,0xc0,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a120c000 <unknown> | ||
|
|
||
| st1w {z17.s, z21.s, z25.s, z29.s}, pn13, [x10, x21, lsl #2] // 10100001-00110101-11010101-01010001 | ||
| // CHECK-INST: st1w { z17.s, z21.s, z25.s, z29.s }, pn13, [x10, x21, lsl #2] | ||
| // CHECK-ENCODING: [0x51,0xd5,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135d551 <unknown> | ||
|
|
||
| st1w {z19.s, z23.s, z27.s, z31.s}, pn11, [x13, x8, lsl #2] // 10100001-00101000-11001101-10110011 | ||
| // CHECK-INST: st1w { z19.s, z23.s, z27.s, z31.s }, pn11, [x13, x8, lsl #2] | ||
| // CHECK-ENCODING: [0xb3,0xcd,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a128cdb3 <unknown> | ||
|
|
||
| st1w {z19.s, z23.s, z27.s, z31.s}, pn15, [sp, xzr, lsl #2] // 10100001-00111111-11011111-11110011 | ||
| // CHECK-INST: st1w { z19.s, z23.s, z27.s, z31.s }, pn15, [sp, xzr, lsl #2] | ||
| // CHECK-ENCODING: [0xf3,0xdf,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13fdff3 <unknown> | ||
|
|
||
|
|
||
| st1w {z0.s, z4.s, z8.s, z12.s}, pn8, [x0] // 10100001-01100000-11000000-00000000 | ||
| // CHECK-INST: st1w { z0.s, z4.s, z8.s, z12.s }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x00,0xc0,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a160c000 <unknown> | ||
|
|
||
| st1w {z17.s, z21.s, z25.s, z29.s}, pn13, [x10, #20, mul vl] // 10100001-01100101-11010101-01010001 | ||
| // CHECK-INST: st1w { z17.s, z21.s, z25.s, z29.s }, pn13, [x10, #20, mul vl] | ||
| // CHECK-ENCODING: [0x51,0xd5,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165d551 <unknown> | ||
|
|
||
| st1w {z19.s, z23.s, z27.s, z31.s}, pn11, [x13, #-32, mul vl] // 10100001-01101000-11001101-10110011 | ||
| // CHECK-INST: st1w { z19.s, z23.s, z27.s, z31.s }, pn11, [x13, #-32, mul vl] | ||
| // CHECK-ENCODING: [0xb3,0xcd,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a168cdb3 <unknown> | ||
|
|
||
| st1w {z19.s, z23.s, z27.s, z31.s}, pn15, [sp, #-4, mul vl] // 10100001-01101111-11011111-11110011 | ||
| // CHECK-INST: st1w { z19.s, z23.s, z27.s, z31.s }, pn15, [sp, #-4, mul vl] | ||
| // CHECK-ENCODING: [0xf3,0xdf,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16fdff3 <unknown> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
| // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-ERROR | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=+sme2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=-sme2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-UNKNOWN | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ | ||
| // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
|
|
||
|
|
||
| stnt1b {z0.b, z8.b}, pn8, [x0, x0] // 10100001-00100000-00000000-00001000 | ||
| // CHECK-INST: stnt1b { z0.b, z8.b }, pn8, [x0, x0] | ||
| // CHECK-ENCODING: [0x08,0x00,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1200008 <unknown> | ||
|
|
||
| stnt1b {z21.b, z29.b}, pn13, [x10, x21] // 10100001-00110101-00010101-01011101 | ||
| // CHECK-INST: stnt1b { z21.b, z29.b }, pn13, [x10, x21] | ||
| // CHECK-ENCODING: [0x5d,0x15,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135155d <unknown> | ||
|
|
||
| stnt1b {z23.b, z31.b}, pn11, [x13, x8] // 10100001-00101000-00001101-10111111 | ||
| // CHECK-INST: stnt1b { z23.b, z31.b }, pn11, [x13, x8] | ||
| // CHECK-ENCODING: [0xbf,0x0d,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1280dbf <unknown> | ||
|
|
||
| stnt1b {z23.b, z31.b}, pn15, [sp, xzr] // 10100001-00111111-00011111-11111111 | ||
| // CHECK-INST: stnt1b { z23.b, z31.b }, pn15, [sp, xzr] | ||
| // CHECK-ENCODING: [0xff,0x1f,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13f1fff <unknown> | ||
|
|
||
|
|
||
| stnt1b {z0.b, z8.b}, pn8, [x0] // 10100001-01100000-00000000-00001000 | ||
| // CHECK-INST: stnt1b { z0.b, z8.b }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x08,0x00,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1600008 <unknown> | ||
|
|
||
| stnt1b {z21.b, z29.b}, pn13, [x10, #10, mul vl] // 10100001-01100101-00010101-01011101 | ||
| // CHECK-INST: stnt1b { z21.b, z29.b }, pn13, [x10, #10, mul vl] | ||
| // CHECK-ENCODING: [0x5d,0x15,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165155d <unknown> | ||
|
|
||
| stnt1b {z23.b, z31.b}, pn11, [x13, #-16, mul vl] // 10100001-01101000-00001101-10111111 | ||
| // CHECK-INST: stnt1b { z23.b, z31.b }, pn11, [x13, #-16, mul vl] | ||
| // CHECK-ENCODING: [0xbf,0x0d,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1680dbf <unknown> | ||
|
|
||
| stnt1b {z23.b, z31.b}, pn15, [sp, #-2, mul vl] // 10100001-01101111-00011111-11111111 | ||
| // CHECK-INST: stnt1b { z23.b, z31.b }, pn15, [sp, #-2, mul vl] | ||
| // CHECK-ENCODING: [0xff,0x1f,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16f1fff <unknown> | ||
|
|
||
|
|
||
| stnt1b {z0.b, z4.b, z8.b, z12.b}, pn8, [x0, x0] // 10100001-00100000-10000000-00001000 | ||
| // CHECK-INST: stnt1b { z0.b, z4.b, z8.b, z12.b }, pn8, [x0, x0] | ||
| // CHECK-ENCODING: [0x08,0x80,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1208008 <unknown> | ||
|
|
||
| stnt1b {z17.b, z21.b, z25.b, z29.b}, pn13, [x10, x21] // 10100001-00110101-10010101-01011001 | ||
| // CHECK-INST: stnt1b { z17.b, z21.b, z25.b, z29.b }, pn13, [x10, x21] | ||
| // CHECK-ENCODING: [0x59,0x95,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1359559 <unknown> | ||
|
|
||
| stnt1b {z19.b, z23.b, z27.b, z31.b}, pn11, [x13, x8] // 10100001-00101000-10001101-10111011 | ||
| // CHECK-INST: stnt1b { z19.b, z23.b, z27.b, z31.b }, pn11, [x13, x8] | ||
| // CHECK-ENCODING: [0xbb,0x8d,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1288dbb <unknown> | ||
|
|
||
| stnt1b {z19.b, z23.b, z27.b, z31.b}, pn15, [sp, xzr] // 10100001-00111111-10011111-11111011 | ||
| // CHECK-INST: stnt1b { z19.b, z23.b, z27.b, z31.b }, pn15, [sp, xzr] | ||
| // CHECK-ENCODING: [0xfb,0x9f,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13f9ffb <unknown> | ||
|
|
||
|
|
||
| stnt1b {z0.b, z4.b, z8.b, z12.b}, pn8, [x0] // 10100001-01100000-10000000-00001000 | ||
| // CHECK-INST: stnt1b { z0.b, z4.b, z8.b, z12.b }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x08,0x80,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1608008 <unknown> | ||
|
|
||
| stnt1b {z17.b, z21.b, z25.b, z29.b}, pn13, [x10, #20, mul vl] // 10100001-01100101-10010101-01011001 | ||
| // CHECK-INST: stnt1b { z17.b, z21.b, z25.b, z29.b }, pn13, [x10, #20, mul vl] | ||
| // CHECK-ENCODING: [0x59,0x95,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1659559 <unknown> | ||
|
|
||
| stnt1b {z19.b, z23.b, z27.b, z31.b}, pn11, [x13, #-32, mul vl] // 10100001-01101000-10001101-10111011 | ||
| // CHECK-INST: stnt1b { z19.b, z23.b, z27.b, z31.b }, pn11, [x13, #-32, mul vl] | ||
| // CHECK-ENCODING: [0xbb,0x8d,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1688dbb <unknown> | ||
|
|
||
| stnt1b {z19.b, z23.b, z27.b, z31.b}, pn15, [sp, #-4, mul vl] // 10100001-01101111-10011111-11111011 | ||
| // CHECK-INST: stnt1b { z19.b, z23.b, z27.b, z31.b }, pn15, [sp, #-4, mul vl] | ||
| // CHECK-ENCODING: [0xfb,0x9f,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16f9ffb <unknown> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,115 @@ | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
| // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-ERROR | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=+sme2 --no-print-imm-hex - \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-INST | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=-sme2 --no-print-imm-hex - \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-UNKNOWN | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ | ||
| // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
|
|
||
|
|
||
| stnt1d {z0.d, z8.d}, pn8, [x0, x0, lsl #3] // 10100001-00100000-01100000-00001000 | ||
| // CHECK-INST: stnt1d { z0.d, z8.d }, pn8, [x0, x0, lsl #3] | ||
| // CHECK-ENCODING: [0x08,0x60,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1206008 <unknown> | ||
|
|
||
| stnt1d {z21.d, z29.d}, pn13, [x10, x21, lsl #3] // 10100001-00110101-01110101-01011101 | ||
| // CHECK-INST: stnt1d { z21.d, z29.d }, pn13, [x10, x21, lsl #3] | ||
| // CHECK-ENCODING: [0x5d,0x75,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135755d <unknown> | ||
|
|
||
| stnt1d {z23.d, z31.d}, pn11, [x13, x8, lsl #3] // 10100001-00101000-01101101-10111111 | ||
| // CHECK-INST: stnt1d { z23.d, z31.d }, pn11, [x13, x8, lsl #3] | ||
| // CHECK-ENCODING: [0xbf,0x6d,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1286dbf <unknown> | ||
|
|
||
| stnt1d {z23.d, z31.d}, pn15, [sp, xzr, lsl #3] // 10100001-00111111-01111111-11111111 | ||
| // CHECK-INST: stnt1d { z23.d, z31.d }, pn15, [sp, xzr, lsl #3] | ||
| // CHECK-ENCODING: [0xff,0x7f,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13f7fff <unknown> | ||
|
|
||
|
|
||
| stnt1d {z0.d, z8.d}, pn8, [x0] // 10100001-01100000-01100000-00001000 | ||
| // CHECK-INST: stnt1d { z0.d, z8.d }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x08,0x60,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1606008 <unknown> | ||
|
|
||
| stnt1d {z21.d, z29.d}, pn13, [x10, #10, mul vl] // 10100001-01100101-01110101-01011101 | ||
| // CHECK-INST: stnt1d { z21.d, z29.d }, pn13, [x10, #10, mul vl] | ||
| // CHECK-ENCODING: [0x5d,0x75,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165755d <unknown> | ||
|
|
||
| stnt1d {z23.d, z31.d}, pn11, [x13, #-16, mul vl] // 10100001-01101000-01101101-10111111 | ||
| // CHECK-INST: stnt1d { z23.d, z31.d }, pn11, [x13, #-16, mul vl] | ||
| // CHECK-ENCODING: [0xbf,0x6d,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1686dbf <unknown> | ||
|
|
||
| stnt1d {z23.d, z31.d}, pn15, [sp, #-2, mul vl] // 10100001-01101111-01111111-11111111 | ||
| // CHECK-INST: stnt1d { z23.d, z31.d }, pn15, [sp, #-2, mul vl] | ||
| // CHECK-ENCODING: [0xff,0x7f,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16f7fff <unknown> | ||
|
|
||
|
|
||
| stnt1d {z0.d, z4.d, z8.d, z12.d}, pn8, [x0, x0, lsl #3] // 10100001-00100000-11100000-00001000 | ||
| // CHECK-INST: stnt1d { z0.d, z4.d, z8.d, z12.d }, pn8, [x0, x0, lsl #3] | ||
| // CHECK-ENCODING: [0x08,0xe0,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a120e008 <unknown> | ||
|
|
||
| stnt1d {z17.d, z21.d, z25.d, z29.d}, pn13, [x10, x21, lsl #3] // 10100001-00110101-11110101-01011001 | ||
| // CHECK-INST: stnt1d { z17.d, z21.d, z25.d, z29.d }, pn13, [x10, x21, lsl #3] | ||
| // CHECK-ENCODING: [0x59,0xf5,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135f559 <unknown> | ||
|
|
||
| stnt1d {z19.d, z23.d, z27.d, z31.d}, pn11, [x13, x8, lsl #3] // 10100001-00101000-11101101-10111011 | ||
| // CHECK-INST: stnt1d { z19.d, z23.d, z27.d, z31.d }, pn11, [x13, x8, lsl #3] | ||
| // CHECK-ENCODING: [0xbb,0xed,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a128edbb <unknown> | ||
|
|
||
| stnt1d {z19.d, z23.d, z27.d, z31.d}, pn15, [sp, xzr, lsl #3] // 10100001-00111111-11111111-11111011 | ||
| // CHECK-INST: stnt1d { z19.d, z23.d, z27.d, z31.d }, pn15, [sp, xzr, lsl #3] | ||
| // CHECK-ENCODING: [0xfb,0xff,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13ffffb <unknown> | ||
|
|
||
|
|
||
| stnt1d {z0.d, z4.d, z8.d, z12.d}, pn8, [x0] // 10100001-01100000-11100000-00001000 | ||
| // CHECK-INST: stnt1d { z0.d, z4.d, z8.d, z12.d }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x08,0xe0,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a160e008 <unknown> | ||
|
|
||
| stnt1d {z17.d, z21.d, z25.d, z29.d}, pn13, [x10, #20, mul vl] // 10100001-01100101-11110101-01011001 | ||
| // CHECK-INST: stnt1d { z17.d, z21.d, z25.d, z29.d }, pn13, [x10, #20, mul vl] | ||
| // CHECK-ENCODING: [0x59,0xf5,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165f559 <unknown> | ||
|
|
||
| stnt1d {z19.d, z23.d, z27.d, z31.d}, pn11, [x13, #-32, mul vl] // 10100001-01101000-11101101-10111011 | ||
| // CHECK-INST: stnt1d { z19.d, z23.d, z27.d, z31.d }, pn11, [x13, #-32, mul vl] | ||
| // CHECK-ENCODING: [0xbb,0xed,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a168edbb <unknown> | ||
|
|
||
| stnt1d {z19.d, z23.d, z27.d, z31.d}, pn15, [sp, #-4, mul vl] // 10100001-01101111-11111111-11111011 | ||
| // CHECK-INST: stnt1d { z19.d, z23.d, z27.d, z31.d }, pn15, [sp, #-4, mul vl] | ||
| // CHECK-ENCODING: [0xfb,0xff,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16ffffb <unknown> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,113 @@ | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
| // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-ERROR | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=+sme2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=-sme2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-UNKNOWN | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ | ||
| // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
|
|
||
|
|
||
| stnt1h {z0.h, z8.h}, pn8, [x0, x0, lsl #1] // 10100001-00100000-00100000-00001000 | ||
| // CHECK-INST: stnt1h { z0.h, z8.h }, pn8, [x0, x0, lsl #1] | ||
| // CHECK-ENCODING: [0x08,0x20,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1202008 <unknown> | ||
|
|
||
| stnt1h {z21.h, z29.h}, pn13, [x10, x21, lsl #1] // 10100001-00110101-00110101-01011101 | ||
| // CHECK-INST: stnt1h { z21.h, z29.h }, pn13, [x10, x21, lsl #1] | ||
| // CHECK-ENCODING: [0x5d,0x35,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135355d <unknown> | ||
|
|
||
| stnt1h {z23.h, z31.h}, pn11, [x13, x8, lsl #1] // 10100001-00101000-00101101-10111111 | ||
| // CHECK-INST: stnt1h { z23.h, z31.h }, pn11, [x13, x8, lsl #1] | ||
| // CHECK-ENCODING: [0xbf,0x2d,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1282dbf <unknown> | ||
|
|
||
| stnt1h {z23.h, z31.h}, pn15, [sp, xzr, lsl #1] // 10100001-00111111-00111111-11111111 | ||
| // CHECK-INST: stnt1h { z23.h, z31.h }, pn15, [sp, xzr, lsl #1] | ||
| // CHECK-ENCODING: [0xff,0x3f,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13f3fff <unknown> | ||
|
|
||
|
|
||
| stnt1h {z0.h, z8.h}, pn8, [x0] // 10100001-01100000-00100000-00001000 | ||
| // CHECK-INST: stnt1h { z0.h, z8.h }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x08,0x20,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1602008 <unknown> | ||
|
|
||
| stnt1h {z21.h, z29.h}, pn13, [x10, #10, mul vl] // 10100001-01100101-00110101-01011101 | ||
| // CHECK-INST: stnt1h { z21.h, z29.h }, pn13, [x10, #10, mul vl] | ||
| // CHECK-ENCODING: [0x5d,0x35,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165355d <unknown> | ||
|
|
||
| stnt1h {z23.h, z31.h}, pn11, [x13, #-16, mul vl] // 10100001-01101000-00101101-10111111 | ||
| // CHECK-INST: stnt1h { z23.h, z31.h }, pn11, [x13, #-16, mul vl] | ||
| // CHECK-ENCODING: [0xbf,0x2d,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1682dbf <unknown> | ||
|
|
||
| stnt1h {z23.h, z31.h}, pn15, [sp, #-2, mul vl] // 10100001-01101111-00111111-11111111 | ||
| // CHECK-INST: stnt1h { z23.h, z31.h }, pn15, [sp, #-2, mul vl] | ||
| // CHECK-ENCODING: [0xff,0x3f,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16f3fff <unknown> | ||
|
|
||
|
|
||
| stnt1h {z0.h, z4.h, z8.h, z12.h}, pn8, [x0, x0, lsl #1] // 10100001-00100000-10100000-00001000 | ||
| // CHECK-INST: stnt1h { z0.h, z4.h, z8.h, z12.h }, pn8, [x0, x0, lsl #1] | ||
| // CHECK-ENCODING: [0x08,0xa0,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a120a008 <unknown> | ||
|
|
||
| stnt1h {z17.h, z21.h, z25.h, z29.h}, pn13, [x10, x21, lsl #1] // 10100001-00110101-10110101-01011001 | ||
| // CHECK-INST: stnt1h { z17.h, z21.h, z25.h, z29.h }, pn13, [x10, x21, lsl #1] | ||
| // CHECK-ENCODING: [0x59,0xb5,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135b559 <unknown> | ||
|
|
||
| stnt1h {z19.h, z23.h, z27.h, z31.h}, pn11, [x13, x8, lsl #1] // 10100001-00101000-10101101-10111011 | ||
| // CHECK-INST: stnt1h { z19.h, z23.h, z27.h, z31.h }, pn11, [x13, x8, lsl #1] | ||
| // CHECK-ENCODING: [0xbb,0xad,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a128adbb <unknown> | ||
|
|
||
| stnt1h {z19.h, z23.h, z27.h, z31.h}, pn15, [sp, xzr, lsl #1] // 10100001-00111111-10111111-11111011 | ||
| // CHECK-INST: stnt1h { z19.h, z23.h, z27.h, z31.h }, pn15, [sp, xzr, lsl #1] | ||
| // CHECK-ENCODING: [0xfb,0xbf,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13fbffb <unknown> | ||
|
|
||
|
|
||
| stnt1h {z0.h, z4.h, z8.h, z12.h}, pn8, [x0] // 10100001-01100000-10100000-00001000 | ||
| // CHECK-INST: stnt1h { z0.h, z4.h, z8.h, z12.h }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x08,0xa0,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a160a008 <unknown> | ||
|
|
||
| stnt1h {z17.h, z21.h, z25.h, z29.h}, pn13, [x10, #20, mul vl] // 10100001-01100101-10110101-01011001 | ||
| // CHECK-INST: stnt1h { z17.h, z21.h, z25.h, z29.h }, pn13, [x10, #20, mul vl] | ||
| // CHECK-ENCODING: [0x59,0xb5,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165b559 <unknown> | ||
|
|
||
| stnt1h {z19.h, z23.h, z27.h, z31.h}, pn11, [x13, #-32, mul vl] // 10100001-01101000-10101101-10111011 | ||
| // CHECK-INST: stnt1h { z19.h, z23.h, z27.h, z31.h }, pn11, [x13, #-32, mul vl] | ||
| // CHECK-ENCODING: [0xbb,0xad,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a168adbb <unknown> | ||
|
|
||
| stnt1h {z19.h, z23.h, z27.h, z31.h}, pn15, [sp, #-4, mul vl] // 10100001-01101111-10111111-11111011 | ||
| // CHECK-INST: stnt1h { z19.h, z23.h, z27.h, z31.h }, pn15, [sp, #-4, mul vl] | ||
| // CHECK-ENCODING: [0xfb,0xbf,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16fbffb <unknown> | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,115 @@ | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
| // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-ERROR | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=+sme2 --no-print-imm-hex - \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-INST | ||
| // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme2 < %s \ | ||
| // RUN: | llvm-objdump -d --mattr=-sme2 --no-print-imm-hex - \ | ||
| // RUN: | FileCheck %s --check-prefix=CHECK-UNKNOWN | ||
| // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme2 < %s \ | ||
| // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ | ||
| // RUN: | llvm-mc -triple=aarch64 -mattr=+sme2 -disassemble -show-encoding \ | ||
| // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST | ||
|
|
||
|
|
||
| stnt1w {z0.s, z8.s}, pn8, [x0, x0, lsl #2] // 10100001-00100000-01000000-00001000 | ||
| // CHECK-INST: stnt1w { z0.s, z8.s }, pn8, [x0, x0, lsl #2] | ||
| // CHECK-ENCODING: [0x08,0x40,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1204008 <unknown> | ||
|
|
||
| stnt1w {z21.s, z29.s}, pn13, [x10, x21, lsl #2] // 10100001-00110101-01010101-01011101 | ||
| // CHECK-INST: stnt1w { z21.s, z29.s }, pn13, [x10, x21, lsl #2] | ||
| // CHECK-ENCODING: [0x5d,0x55,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135555d <unknown> | ||
|
|
||
| stnt1w {z23.s, z31.s}, pn11, [x13, x8, lsl #2] // 10100001-00101000-01001101-10111111 | ||
| // CHECK-INST: stnt1w { z23.s, z31.s }, pn11, [x13, x8, lsl #2] | ||
| // CHECK-ENCODING: [0xbf,0x4d,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1284dbf <unknown> | ||
|
|
||
| stnt1w {z23.s, z31.s}, pn15, [sp, xzr, lsl #2] // 10100001-00111111-01011111-11111111 | ||
| // CHECK-INST: stnt1w { z23.s, z31.s }, pn15, [sp, xzr, lsl #2] | ||
| // CHECK-ENCODING: [0xff,0x5f,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13f5fff <unknown> | ||
|
|
||
|
|
||
| stnt1w {z0.s, z8.s}, pn8, [x0] // 10100001-01100000-01000000-00001000 | ||
| // CHECK-INST: stnt1w { z0.s, z8.s }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x08,0x40,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1604008 <unknown> | ||
|
|
||
| stnt1w {z21.s, z29.s}, pn13, [x10, #10, mul vl] // 10100001-01100101-01010101-01011101 | ||
| // CHECK-INST: stnt1w { z21.s, z29.s }, pn13, [x10, #10, mul vl] | ||
| // CHECK-ENCODING: [0x5d,0x55,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165555d <unknown> | ||
|
|
||
| stnt1w {z23.s, z31.s}, pn11, [x13, #-16, mul vl] // 10100001-01101000-01001101-10111111 | ||
| // CHECK-INST: stnt1w { z23.s, z31.s }, pn11, [x13, #-16, mul vl] | ||
| // CHECK-ENCODING: [0xbf,0x4d,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a1684dbf <unknown> | ||
|
|
||
| stnt1w {z23.s, z31.s}, pn15, [sp, #-2, mul vl] // 10100001-01101111-01011111-11111111 | ||
| // CHECK-INST: stnt1w { z23.s, z31.s }, pn15, [sp, #-2, mul vl] | ||
| // CHECK-ENCODING: [0xff,0x5f,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16f5fff <unknown> | ||
|
|
||
|
|
||
| stnt1w {z0.s, z4.s, z8.s, z12.s}, pn8, [x0, x0, lsl #2] // 10100001-00100000-11000000-00001000 | ||
| // CHECK-INST: stnt1w { z0.s, z4.s, z8.s, z12.s }, pn8, [x0, x0, lsl #2] | ||
| // CHECK-ENCODING: [0x08,0xc0,0x20,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a120c008 <unknown> | ||
|
|
||
| stnt1w {z17.s, z21.s, z25.s, z29.s}, pn13, [x10, x21, lsl #2] // 10100001-00110101-11010101-01011001 | ||
| // CHECK-INST: stnt1w { z17.s, z21.s, z25.s, z29.s }, pn13, [x10, x21, lsl #2] | ||
| // CHECK-ENCODING: [0x59,0xd5,0x35,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a135d559 <unknown> | ||
|
|
||
| stnt1w {z19.s, z23.s, z27.s, z31.s}, pn11, [x13, x8, lsl #2] // 10100001-00101000-11001101-10111011 | ||
| // CHECK-INST: stnt1w { z19.s, z23.s, z27.s, z31.s }, pn11, [x13, x8, lsl #2] | ||
| // CHECK-ENCODING: [0xbb,0xcd,0x28,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a128cdbb <unknown> | ||
|
|
||
| stnt1w {z19.s, z23.s, z27.s, z31.s}, pn15, [sp, xzr, lsl #2] // 10100001-00111111-11011111-11111011 | ||
| // CHECK-INST: stnt1w { z19.s, z23.s, z27.s, z31.s }, pn15, [sp, xzr, lsl #2] | ||
| // CHECK-ENCODING: [0xfb,0xdf,0x3f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a13fdffb <unknown> | ||
|
|
||
|
|
||
| stnt1w {z0.s, z4.s, z8.s, z12.s}, pn8, [x0] // 10100001-01100000-11000000-00001000 | ||
| // CHECK-INST: stnt1w { z0.s, z4.s, z8.s, z12.s }, pn8, [x0] | ||
| // CHECK-ENCODING: [0x08,0xc0,0x60,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a160c008 <unknown> | ||
|
|
||
| stnt1w {z17.s, z21.s, z25.s, z29.s}, pn13, [x10, #20, mul vl] // 10100001-01100101-11010101-01011001 | ||
| // CHECK-INST: stnt1w { z17.s, z21.s, z25.s, z29.s }, pn13, [x10, #20, mul vl] | ||
| // CHECK-ENCODING: [0x59,0xd5,0x65,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a165d559 <unknown> | ||
|
|
||
| stnt1w {z19.s, z23.s, z27.s, z31.s}, pn11, [x13, #-32, mul vl] // 10100001-01101000-11001101-10111011 | ||
| // CHECK-INST: stnt1w { z19.s, z23.s, z27.s, z31.s }, pn11, [x13, #-32, mul vl] | ||
| // CHECK-ENCODING: [0xbb,0xcd,0x68,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a168cdbb <unknown> | ||
|
|
||
| stnt1w {z19.s, z23.s, z27.s, z31.s}, pn15, [sp, #-4, mul vl] // 10100001-01101111-11011111-11111011 | ||
| // CHECK-INST: stnt1w { z19.s, z23.s, z27.s, z31.s }, pn15, [sp, #-4, mul vl] | ||
| // CHECK-ENCODING: [0xfb,0xdf,0x6f,0xa1] | ||
| // CHECK-ERROR: instruction requires: sme2 | ||
| // CHECK-UNKNOWN: a16fdffb <unknown> | ||
|
|