Files
ircolib/tests/MC/LoongArch/frstp.s.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

38 lines
879 B
YAML

test_cases:
-
input:
bytes: [ 0x57, 0x4a, 0x2b, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvfrstp.b $xr23, $xr18, $xr18"
-
input:
bytes: [ 0xcd, 0x9b, 0x2b, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvfrstp.h $xr13, $xr30, $xr6"
-
input:
bytes: [ 0x98, 0x7f, 0x9a, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvfrstpi.b $xr24, $xr28, 0x1f"
-
input:
bytes: [ 0x16, 0xcb, 0x9a, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvfrstpi.h $xr22, $xr24, 0x12"