mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-04 08:12:05 +00:00
38 lines
872 B
YAML
38 lines
872 B
YAML
test_cases:
|
|
-
|
|
input:
|
|
bytes: [ 0x96, 0x1e, 0xaa, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvmsub.b $xr22, $xr20, $xr7"
|
|
-
|
|
input:
|
|
bytes: [ 0x40, 0xb2, 0xaa, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvmsub.h $xr0, $xr18, $xr12"
|
|
-
|
|
input:
|
|
bytes: [ 0xc3, 0x76, 0xab, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvmsub.w $xr3, $xr22, $xr29"
|
|
-
|
|
input:
|
|
bytes: [ 0x4b, 0x8b, 0xab, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvmsub.d $xr11, $xr26, $xr2"
|