2024-09-07 18:15:29 +06:00

641 lines
15 KiB
YAML

test_cases:
-
input:
bytes: [ 0x18, 0x48, 0x60, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn8.h, x0, x0, vlx2"
-
input:
bytes: [ 0x5d, 0x49, 0x75, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn13.h, x10, x21, vlx2"
-
input:
bytes: [ 0xbf, 0x69, 0x68, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn15.h, x13, x8, vlx4"
-
input:
bytes: [ 0xff, 0x6b, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn15.h, xzr, xzr, vlx4"
-
input:
bytes: [ 0x11, 0x58, 0x60, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p0.h, p1.h }, x0, x0"
-
input:
bytes: [ 0x55, 0x59, 0x75, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p4.h, p5.h }, x10, x21"
-
input:
bytes: [ 0xb7, 0x59, 0x68, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p6.h, p7.h }, x13, x8"
-
input:
bytes: [ 0xff, 0x5b, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p14.h, p15.h }, xzr, xzr"
-
input:
bytes: [ 0x18, 0x48, 0xa0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn8.s, x0, x0, vlx2"
-
input:
bytes: [ 0x5d, 0x49, 0xb5, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn13.s, x10, x21, vlx2"
-
input:
bytes: [ 0xbf, 0x69, 0xa8, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn15.s, x13, x8, vlx4"
-
input:
bytes: [ 0xff, 0x6b, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn15.s, xzr, xzr, vlx4"
-
input:
bytes: [ 0x11, 0x58, 0xa0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p0.s, p1.s }, x0, x0"
-
input:
bytes: [ 0x55, 0x59, 0xb5, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p4.s, p5.s }, x10, x21"
-
input:
bytes: [ 0xb7, 0x59, 0xa8, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p6.s, p7.s }, x13, x8"
-
input:
bytes: [ 0xff, 0x5b, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p14.s, p15.s }, xzr, xzr"
-
input:
bytes: [ 0x18, 0x48, 0xe0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn8.d, x0, x0, vlx2"
-
input:
bytes: [ 0x5d, 0x49, 0xf5, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn13.d, x10, x21, vlx2"
-
input:
bytes: [ 0xbf, 0x69, 0xe8, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn15.d, x13, x8, vlx4"
-
input:
bytes: [ 0xff, 0x6b, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn15.d, xzr, xzr, vlx4"
-
input:
bytes: [ 0x11, 0x58, 0xe0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p0.d, p1.d }, x0, x0"
-
input:
bytes: [ 0x55, 0x59, 0xf5, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p4.d, p5.d }, x10, x21"
-
input:
bytes: [ 0xb7, 0x59, 0xe8, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p6.d, p7.d }, x13, x8"
-
input:
bytes: [ 0xff, 0x5b, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p14.d, p15.d }, xzr, xzr"
-
input:
bytes: [ 0x18, 0x48, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn8.b, x0, x0, vlx2"
-
input:
bytes: [ 0x5d, 0x49, 0x35, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn13.b, x10, x21, vlx2"
-
input:
bytes: [ 0xbf, 0x69, 0x28, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn15.b, x13, x8, vlx4"
-
input:
bytes: [ 0xff, 0x6b, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi pn15.b, xzr, xzr, vlx4"
-
input:
bytes: [ 0x11, 0x58, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p0.b, p1.b }, x0, x0"
-
input:
bytes: [ 0x55, 0x59, 0x35, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p4.b, p5.b }, x10, x21"
-
input:
bytes: [ 0xb7, 0x59, 0x28, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p6.b, p7.b }, x13, x8"
-
input:
bytes: [ 0xff, 0x5b, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme2" ]
expected:
insns:
-
asm_text: "whilehi { p14.b, p15.b }, xzr, xzr"
-
input:
bytes: [ 0x18, 0x48, 0x60, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn8.h, x0, x0, vlx2"
-
input:
bytes: [ 0x5d, 0x49, 0x75, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn13.h, x10, x21, vlx2"
-
input:
bytes: [ 0xbf, 0x69, 0x68, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn15.h, x13, x8, vlx4"
-
input:
bytes: [ 0xff, 0x6b, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn15.h, xzr, xzr, vlx4"
-
input:
bytes: [ 0x11, 0x58, 0x60, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p0.h, p1.h }, x0, x0"
-
input:
bytes: [ 0x55, 0x59, 0x75, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p4.h, p5.h }, x10, x21"
-
input:
bytes: [ 0xb7, 0x59, 0x68, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p6.h, p7.h }, x13, x8"
-
input:
bytes: [ 0xff, 0x5b, 0x7f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p14.h, p15.h }, xzr, xzr"
-
input:
bytes: [ 0x18, 0x48, 0xa0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn8.s, x0, x0, vlx2"
-
input:
bytes: [ 0x5d, 0x49, 0xb5, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn13.s, x10, x21, vlx2"
-
input:
bytes: [ 0xbf, 0x69, 0xa8, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn15.s, x13, x8, vlx4"
-
input:
bytes: [ 0xff, 0x6b, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn15.s, xzr, xzr, vlx4"
-
input:
bytes: [ 0x11, 0x58, 0xa0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p0.s, p1.s }, x0, x0"
-
input:
bytes: [ 0x55, 0x59, 0xb5, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p4.s, p5.s }, x10, x21"
-
input:
bytes: [ 0xb7, 0x59, 0xa8, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p6.s, p7.s }, x13, x8"
-
input:
bytes: [ 0xff, 0x5b, 0xbf, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p14.s, p15.s }, xzr, xzr"
-
input:
bytes: [ 0x18, 0x48, 0xe0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn8.d, x0, x0, vlx2"
-
input:
bytes: [ 0x5d, 0x49, 0xf5, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn13.d, x10, x21, vlx2"
-
input:
bytes: [ 0xbf, 0x69, 0xe8, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn15.d, x13, x8, vlx4"
-
input:
bytes: [ 0xff, 0x6b, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn15.d, xzr, xzr, vlx4"
-
input:
bytes: [ 0x11, 0x58, 0xe0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p0.d, p1.d }, x0, x0"
-
input:
bytes: [ 0x55, 0x59, 0xf5, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p4.d, p5.d }, x10, x21"
-
input:
bytes: [ 0xb7, 0x59, 0xe8, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p6.d, p7.d }, x13, x8"
-
input:
bytes: [ 0xff, 0x5b, 0xff, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p14.d, p15.d }, xzr, xzr"
-
input:
bytes: [ 0x18, 0x48, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn8.b, x0, x0, vlx2"
-
input:
bytes: [ 0x5d, 0x49, 0x35, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn13.b, x10, x21, vlx2"
-
input:
bytes: [ 0xbf, 0x69, 0x28, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn15.b, x13, x8, vlx4"
-
input:
bytes: [ 0xff, 0x6b, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi pn15.b, xzr, xzr, vlx4"
-
input:
bytes: [ 0x11, 0x58, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p0.b, p1.b }, x0, x0"
-
input:
bytes: [ 0x55, 0x59, 0x35, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p4.b, p5.b }, x10, x21"
-
input:
bytes: [ 0xb7, 0x59, 0x28, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p6.b, p7.b }, x13, x8"
-
input:
bytes: [ 0xff, 0x5b, 0x3f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2p1" ]
expected:
insns:
-
asm_text: "whilehi { p14.b, p15.b }, xzr, xzr"