61 lines
1.4 KiB
YAML
Raw Normal View History

2024-09-07 18:00:09 +06:00
test_cases:
-
input:
bytes: [ 0x20, 0x44, 0x42, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "saddwt z0.h, z1.h, z2.b"
-
input:
bytes: [ 0xdd, 0x47, 0x9f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "saddwt z29.s, z30.s, z31.h"
-
input:
bytes: [ 0xff, 0x47, 0xdf, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve2" ]
expected:
insns:
-
asm_text: "saddwt z31.d, z31.d, z31.s"
-
input:
bytes: [ 0x20, 0x44, 0x42, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "saddwt z0.h, z1.h, z2.b"
-
input:
bytes: [ 0xdd, 0x47, 0x9f, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "saddwt z29.s, z30.s, z31.h"
-
input:
bytes: [ 0xff, 0x47, 0xdf, 0x45 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "saddwt z31.d, z31.d, z31.s"