121 lines
2.8 KiB
YAML
Raw Normal View History

2024-09-07 18:00:09 +06:00
test_cases:
-
input:
bytes: [ 0x00, 0xa0, 0xc0, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ld1rh { z0.h }, p0/z, [x0]"
-
input:
bytes: [ 0x00, 0xc0, 0xc0, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ld1rh { z0.s }, p0/z, [x0]"
-
input:
bytes: [ 0x00, 0xe0, 0xc0, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ld1rh { z0.d }, p0/z, [x0]"
-
input:
bytes: [ 0xff, 0xbf, 0xff, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ld1rh { z31.h }, p7/z, [sp, #126]"
-
input:
bytes: [ 0xff, 0xdf, 0xff, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ld1rh { z31.s }, p7/z, [sp, #126]"
-
input:
bytes: [ 0xff, 0xff, 0xff, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "ld1rh { z31.d }, p7/z, [sp, #126]"
-
input:
bytes: [ 0x00, 0xa0, 0xc0, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ld1rh { z0.h }, p0/z, [x0]"
-
input:
bytes: [ 0x00, 0xc0, 0xc0, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ld1rh { z0.s }, p0/z, [x0]"
-
input:
bytes: [ 0x00, 0xe0, 0xc0, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ld1rh { z0.d }, p0/z, [x0]"
-
input:
bytes: [ 0xff, 0xbf, 0xff, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ld1rh { z31.h }, p7/z, [sp, #126]"
-
input:
bytes: [ 0xff, 0xdf, 0xff, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ld1rh { z31.s }, p7/z, [sp, #126]"
-
input:
bytes: [ 0xff, 0xff, 0xff, 0x84 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "ld1rh { z31.d }, p7/z, [sp, #126]"