101 lines
2.3 KiB
YAML
Raw Normal View History

2024-09-07 18:00:09 +06:00
test_cases:
-
input:
bytes: [ 0x20, 0xa0, 0x8a, 0x65 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve", "+bf16" ]
expected:
insns:
-
asm_text: "bfcvt z0.h, p0/m, z1.s"
-
input:
bytes: [ 0x40, 0x20, 0x91, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve", "+bf16" ]
expected:
insns:
-
asm_text: "movprfx z0.s, p0/m, z2.s"
-
input:
bytes: [ 0x20, 0xa0, 0x8a, 0x65 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve", "+bf16" ]
expected:
insns:
-
asm_text: "bfcvt z0.h, p0/m, z1.s"
-
input:
bytes: [ 0x40, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve", "+bf16" ]
expected:
insns:
-
asm_text: "movprfx z0, z2"
-
input:
bytes: [ 0x20, 0xa0, 0x8a, 0x65 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve", "+bf16" ]
expected:
insns:
-
asm_text: "bfcvt z0.h, p0/m, z1.s"
-
input:
bytes: [ 0x20, 0xa0, 0x8a, 0x65 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme", "+bf16" ]
expected:
insns:
-
asm_text: "bfcvt z0.h, p0/m, z1.s"
-
input:
bytes: [ 0x40, 0x20, 0x91, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme", "+bf16" ]
expected:
insns:
-
asm_text: "movprfx z0.s, p0/m, z2.s"
-
input:
bytes: [ 0x20, 0xa0, 0x8a, 0x65 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme", "+bf16" ]
expected:
insns:
-
asm_text: "bfcvt z0.h, p0/m, z1.s"
-
input:
bytes: [ 0x40, 0xbc, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme", "+bf16" ]
expected:
insns:
-
asm_text: "movprfx z0, z2"
-
input:
bytes: [ 0x20, 0xa0, 0x8a, 0x65 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme", "+bf16" ]
expected:
insns:
-
asm_text: "bfcvt z0.h, p0/m, z1.s"