81 lines
1.8 KiB
YAML
Raw Normal View History

2024-09-07 18:00:09 +06:00
test_cases:
-
input:
bytes: [ 0x00, 0xbc, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.b"
-
input:
bytes: [ 0x00, 0xbc, 0x60, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.h"
-
input:
bytes: [ 0x00, 0xbc, 0xa0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.s"
-
input:
bytes: [ 0x00, 0xbc, 0xe0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.d"
-
input:
bytes: [ 0x00, 0xbc, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.b"
-
input:
bytes: [ 0x00, 0xbc, 0x60, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.h"
-
input:
bytes: [ 0x00, 0xbc, 0xa0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.s"
-
input:
bytes: [ 0x00, 0xbc, 0xe0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.d"