mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 01:02:08 +00:00
101 lines
2.2 KiB
YAML
101 lines
2.2 KiB
YAML
![]() |
test_cases:
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x47, 0xb1, 0x00, 0x58 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "beq $a6, $a3, 0xb0"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x21, 0x8b, 0x00, 0x5c ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "bne $s2, $ra, 0x88"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0xfe, 0xa9, 0x00, 0x60 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "blt $t3, $s7, 0xa8"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x8f, 0x95, 0x00, 0x64 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "bge $t0, $t3, 0x94"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x25, 0x06, 0x00, 0x68 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "bltu $t5, $a1, 4"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0xd7, 0x8c, 0x00, 0x6c ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "bgeu $a2, $s0, 0x8c"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x20, 0x61, 0x00, 0x40 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "beqz $a5, 0x60"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x60, 0xd4, 0x00, 0x44 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "bnez $sp, 0xd4"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x00, 0xf8, 0x00, 0x50 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "b 0xf8"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x00, 0xec, 0x00, 0x54 ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "bl 0xec"
|
||
|
-
|
||
|
input:
|
||
|
bytes: [ 0x81, 0x04, 0x00, 0x4c ]
|
||
|
arch: "CS_ARCH_LOONGARCH"
|
||
|
options: [ "CS_MODE_LOONGARCH64" ]
|
||
|
expected:
|
||
|
insns:
|
||
|
-
|
||
|
asm_text: "jirl $ra, $a0, 4"
|