XenonRecomp/thirdparty/capstone/tests/MC/AArch64/armv8.5a-predres.s.yaml
2024-09-07 18:15:29 +06:00

61 lines
1.4 KiB
YAML

test_cases:
-
input:
bytes: [ 0x80, 0x73, 0x0b, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "predres" ]
expected:
insns:
-
asm_text: "cfp rctx, x0"
-
input:
bytes: [ 0xa1, 0x73, 0x0b, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "predres" ]
expected:
insns:
-
asm_text: "dvp rctx, x1"
-
input:
bytes: [ 0xe2, 0x73, 0x0b, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "predres" ]
expected:
insns:
-
asm_text: "cpp rctx, x2"
-
input:
bytes: [ 0x80, 0x73, 0x0b, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "cfp rctx, x0"
-
input:
bytes: [ 0xa1, 0x73, 0x0b, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "dvp rctx, x1"
-
input:
bytes: [ 0xe2, 0x73, 0x0b, 0xd5 ]
arch: "CS_ARCH_AARCH64"
options: [ "CS_OPT_NO_BRANCH_OFFSET", "aarch64-none-linux-gnu", "v8.5a" ]
expected:
insns:
-
asm_text: "cpp rctx, x2"