Files
ircolib/tests/MC/RISCV/rv32zicbop_valid_riscv32_zicbop.txt.yaml
T
iris 802798ce3c Squashed 'external/capstone/' content from commit e46f64fa
git-subtree-dir: external/capstone
git-subtree-split: e46f64fadb351e9ecd05264fab26f2772feb0994
2026-05-11 11:55:07 +02:00

81 lines
1.6 KiB
YAML

test_cases:
-
input:
bytes: [ 0x13, 0xe0, 0x02, 0x80 ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zicbop" ]
expected:
insns:
-
asm_text: "prefetch.i -2048(t0)"
-
input:
bytes: [ 0x13, 0xe0, 0x02, 0x7e ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zicbop" ]
expected:
insns:
-
asm_text: "prefetch.i 2016(t0)"
-
input:
bytes: [ 0x13, 0x60, 0x13, 0x80 ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zicbop" ]
expected:
insns:
-
asm_text: "prefetch.r -2048(t1)"
-
input:
bytes: [ 0x13, 0x60, 0x13, 0x7e ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zicbop" ]
expected:
insns:
-
asm_text: "prefetch.r 2016(t1)"
-
input:
bytes: [ 0x13, 0xe0, 0x33, 0x80 ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zicbop" ]
expected:
insns:
-
asm_text: "prefetch.w -2048(t2)"
-
input:
bytes: [ 0x13, 0xe0, 0x33, 0x7e ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zicbop" ]
expected:
insns:
-
asm_text: "prefetch.w 2016(t2)"
-
input:
bytes: [ 0x13, 0xe5, 0x05, 0x80 ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zicbop" ]
expected:
insns:
-
asm_text: "ori a0, a1, -2048"
-
input:
bytes: [ 0x13, 0xe5, 0x05, 0x00 ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zicbop" ]
expected:
insns:
-
asm_text: "ori a0, a1, 0"