Kaizen/external/capstone/tests/MC/AArch64/SVE/cntp.s.yaml

80 lines
1.8 KiB
YAML

test_cases:
-
input:
bytes: [ 0x00, 0xbc, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.b"
-
input:
bytes: [ 0x00, 0xbc, 0x60, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.h"
-
input:
bytes: [ 0x00, 0xbc, 0xa0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.s"
-
input:
bytes: [ 0x00, 0xbc, 0xe0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.d"
-
input:
bytes: [ 0x00, 0xbc, 0x20, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.b"
-
input:
bytes: [ 0x00, 0xbc, 0x60, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.h"
-
input:
bytes: [ 0x00, 0xbc, 0xa0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.s"
-
input:
bytes: [ 0x00, 0xbc, 0xe0, 0x25 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "cntp x0, p15, p0.d"