Files
ircolib/tests/MC/RISCV/rv32zknh_only_valid_riscv32_zknh.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

61 lines
1.2 KiB
YAML

test_cases:
-
input:
bytes: [ 0x33, 0x85, 0xc5, 0x5c ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zknh" ]
expected:
insns:
-
asm_text: "sha512sig0h a0, a1, a2"
-
input:
bytes: [ 0x33, 0x85, 0xc5, 0x5e ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zknh" ]
expected:
insns:
-
asm_text: "sha512sig1h a0, a1, a2"
-
input:
bytes: [ 0x33, 0x85, 0xc5, 0x54 ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zknh" ]
expected:
insns:
-
asm_text: "sha512sig0l a0, a1, a2"
-
input:
bytes: [ 0x33, 0x85, 0xc5, 0x56 ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zknh" ]
expected:
insns:
-
asm_text: "sha512sig1l a0, a1, a2"
-
input:
bytes: [ 0x33, 0x85, 0xc5, 0x50 ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zknh" ]
expected:
insns:
-
asm_text: "sha512sum0r a0, a1, a2"
-
input:
bytes: [ 0x33, 0x85, 0xc5, 0x52 ]
arch: "CS_ARCH_RISCV"
options: [ "CS_MODE_RISCV32", "zknh" ]
expected:
insns:
-
asm_text: "sha512sum1r a0, a1, a2"