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

201 lines
4.5 KiB
YAML

test_cases:
-
input:
bytes: [ 0xff, 0xbf, 0x1e, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "not z31.b, p7/m, z31.b"
-
input:
bytes: [ 0xff, 0xbf, 0x5e, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "not z31.h, p7/m, z31.h"
-
input:
bytes: [ 0xff, 0xbf, 0x9e, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "not z31.s, p7/m, z31.s"
-
input:
bytes: [ 0xff, 0xbf, 0xde, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "not z31.d, p7/m, z31.d"
-
input:
bytes: [ 0x00, 0x42, 0x00, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "not p0.b, p0/z, p0.b"
-
input:
bytes: [ 0xef, 0x7f, 0x0f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "not p15.b, p15/z, p15.b"
-
input:
bytes: [ 0xc4, 0x3c, 0xd0, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "movprfx z4.d, p7/z, z6.d"
-
input:
bytes: [ 0xe4, 0xbf, 0xde, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "not z4.d, p7/m, z31.d"
-
input:
bytes: [ 0xc4, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "movprfx z4, z6"
-
input:
bytes: [ 0xe4, 0xbf, 0xde, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "not z4.d, p7/m, z31.d"
-
input:
bytes: [ 0xff, 0xbf, 0x1e, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "not z31.b, p7/m, z31.b"
-
input:
bytes: [ 0xff, 0xbf, 0x5e, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "not z31.h, p7/m, z31.h"
-
input:
bytes: [ 0xff, 0xbf, 0x9e, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "not z31.s, p7/m, z31.s"
-
input:
bytes: [ 0xff, 0xbf, 0xde, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "not z31.d, p7/m, z31.d"
-
input:
bytes: [ 0x00, 0x42, 0x00, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "not p0.b, p0/z, p0.b"
-
input:
bytes: [ 0xef, 0x7f, 0x0f, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "not p15.b, p15/z, p15.b"
-
input:
bytes: [ 0xc4, 0x3c, 0xd0, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z4.d, p7/z, z6.d"
-
input:
bytes: [ 0xe4, 0xbf, 0xde, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "not z4.d, p7/m, z31.d"
-
input:
bytes: [ 0xc4, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z4, z6"
-
input:
bytes: [ 0xe4, 0xbf, 0xde, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "not z4.d, p7/m, z31.d"