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

80 lines
1.8 KiB
YAML

test_cases:
-
input:
bytes: [ 0x15, 0x50, 0x75, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "addpl x21, x21, #0"
-
input:
bytes: [ 0xf7, 0x57, 0x68, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "addpl x23, x8, #-1"
-
input:
bytes: [ 0xff, 0x53, 0x7f, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "addpl sp, sp, #31"
-
input:
bytes: [ 0x00, 0x54, 0x60, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sve" ]
expected:
insns:
-
asm_text: "addpl x0, x0, #-32"
-
input:
bytes: [ 0x15, 0x50, 0x75, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "addpl x21, x21, #0"
-
input:
bytes: [ 0xf7, 0x57, 0x68, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "addpl x23, x8, #-1"
-
input:
bytes: [ 0xff, 0x53, 0x7f, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "addpl sp, sp, #31"
-
input:
bytes: [ 0x00, 0x54, 0x60, 0x04 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_ONLY_OFFSET_BRANCH", "aarch64", "sme" ]
expected:
insns:
-
asm_text: "addpl x0, x0, #-32"