29 lines
631 B
YAML
Raw Normal View History

2024-09-07 18:00:09 +06:00
test_cases:
-
input:
bytes: [ 0x04, 0x84, 0x36, 0x00 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "setx86j $a0, 1"
-
input:
bytes: [ 0xa4, 0x78, 0x00, 0x00 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "setx86loope $a0, $a1"
-
input:
bytes: [ 0xa4, 0x7c, 0x00, 0x00 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "setx86loopne $a0, $a1"