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

141 lines
3.2 KiB
YAML

test_cases:
-
input:
bytes: [ 0xdd, 0x83, 0xbf, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "fmlalb z29.s, z30.h, z31.h"
-
input:
bytes: [ 0x20, 0x40, 0xa7, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "fmlalb z0.s, z1.h, z7.h[0]"
-
input:
bytes: [ 0xfe, 0x4b, 0xbf, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "fmlalb z30.s, z31.h, z7.h[7]"
-
input:
bytes: [ 0x9d, 0xbf, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "movprfx z29, z28"
-
input:
bytes: [ 0xdd, 0x83, 0xbf, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "fmlalb z29.s, z30.h, z31.h"
-
input:
bytes: [ 0x95, 0xbf, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "movprfx z21, z28"
-
input:
bytes: [ 0x35, 0x48, 0xbf, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "fmlalb z21.s, z1.h, z7.h[7]"
-
input:
bytes: [ 0xdd, 0x83, 0xbf, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "fmlalb z29.s, z30.h, z31.h"
-
input:
bytes: [ 0x20, 0x40, 0xa7, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "fmlalb z0.s, z1.h, z7.h[0]"
-
input:
bytes: [ 0xfe, 0x4b, 0xbf, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "fmlalb z30.s, z31.h, z7.h[7]"
-
input:
bytes: [ 0x9d, 0xbf, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z29, z28"
-
input:
bytes: [ 0xdd, 0x83, 0xbf, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "fmlalb z29.s, z30.h, z31.h"
-
input:
bytes: [ 0x95, 0xbf, 0x20, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "movprfx z21, z28"
-
input:
bytes: [ 0x35, 0x48, 0xbf, 0x64 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "fmlalb z21.s, z1.h, z7.h[7]"