mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-04 08:12:05 +00:00
47 lines
1.0 KiB
YAML
47 lines
1.0 KiB
YAML
test_cases:
|
|
-
|
|
input:
|
|
bytes: [ 0xa4, 0x44, 0x36, 0x00 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "armmove $a0, $a1, 1"
|
|
-
|
|
input:
|
|
bytes: [ 0x9d, 0xc4, 0x3f, 0x00 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "armmov.w $a0, 1"
|
|
-
|
|
input:
|
|
bytes: [ 0x9e, 0xc4, 0x3f, 0x00 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "armmov.d $a0, 1"
|
|
-
|
|
input:
|
|
bytes: [ 0x44, 0x04, 0x5c, 0x00 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "armmfflag $a0, 1"
|
|
-
|
|
input:
|
|
bytes: [ 0x64, 0x04, 0x5c, 0x00 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "armmtflag $a0, 1"
|