321 lines
7.1 KiB
YAML
Raw Normal View History

2024-09-07 18:00:09 +06:00
test_cases:
-
input:
bytes: [ 0x00, 0x8c, 0x2a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp x0, p0.b"
-
input:
bytes: [ 0x00, 0x8c, 0x6a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp x0, p0.h"
-
input:
bytes: [ 0x00, 0x8c, 0xaa, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp x0, p0.s"
-
input:
bytes: [ 0x00, 0x8c, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp x0, p0.d"
-
input:
bytes: [ 0xff, 0x89, 0x2a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp xzr, p15.b, wzr"
-
input:
bytes: [ 0xff, 0x89, 0x6a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp xzr, p15.h, wzr"
-
input:
bytes: [ 0xff, 0x89, 0xaa, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp xzr, p15.s, wzr"
-
input:
bytes: [ 0xff, 0x89, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp xzr, p15.d, wzr"
-
input:
bytes: [ 0x00, 0x80, 0x6a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp z0.h, p0.h"
-
input:
bytes: [ 0x00, 0x80, 0x6a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp z0.h, p0.h"
-
input:
bytes: [ 0x00, 0x80, 0xaa, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp z0.s, p0.s"
-
input:
bytes: [ 0x00, 0x80, 0xaa, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp z0.s, p0.s"
-
input:
bytes: [ 0x00, 0x80, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp z0.d, p0.d"
-
input:
bytes: [ 0x00, 0x80, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp z0.d, p0.d"
-
input:
bytes: [ 0xe0, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "movprfx z0, z7"
-
input:
bytes: [ 0x00, 0x80, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "sqdecp z0.d, p0.d"
-
input:
bytes: [ 0x00, 0x8c, 0x2a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp x0, p0.b"
-
input:
bytes: [ 0x00, 0x8c, 0x6a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp x0, p0.h"
-
input:
bytes: [ 0x00, 0x8c, 0xaa, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp x0, p0.s"
-
input:
bytes: [ 0x00, 0x8c, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp x0, p0.d"
-
input:
bytes: [ 0xff, 0x89, 0x2a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp xzr, p15.b, wzr"
-
input:
bytes: [ 0xff, 0x89, 0x6a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp xzr, p15.h, wzr"
-
input:
bytes: [ 0xff, 0x89, 0xaa, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp xzr, p15.s, wzr"
-
input:
bytes: [ 0xff, 0x89, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp xzr, p15.d, wzr"
-
input:
bytes: [ 0x00, 0x80, 0x6a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp z0.h, p0.h"
-
input:
bytes: [ 0x00, 0x80, 0x6a, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp z0.h, p0.h"
-
input:
bytes: [ 0x00, 0x80, 0xaa, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp z0.s, p0.s"
-
input:
bytes: [ 0x00, 0x80, 0xaa, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp z0.s, p0.s"
-
input:
bytes: [ 0x00, 0x80, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp z0.d, p0.d"
-
input:
bytes: [ 0x00, 0x80, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp z0.d, p0.d"
-
input:
bytes: [ 0xe0, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z0, z7"
-
input:
bytes: [ 0x00, 0x80, 0xea, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "sqdecp z0.d, p0.d"