mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-06 01:02:08 +00:00
38 lines
879 B
YAML
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"
|