mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-04 08:12:05 +00:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
test_cases:
|
|
-
|
|
input:
|
|
bytes: [ 0x8b, 0x43, 0x0c, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsub.b $xr11, $xr28, $xr16"
|
|
-
|
|
input:
|
|
bytes: [ 0x6b, 0xe0, 0x0c, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsub.h $xr11, $xr3, $xr24"
|
|
-
|
|
input:
|
|
bytes: [ 0xee, 0x1a, 0x0d, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsub.w $xr14, $xr23, $xr6"
|
|
-
|
|
input:
|
|
bytes: [ 0xa5, 0x9d, 0x0d, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsub.d $xr5, $xr13, $xr7"
|
|
-
|
|
input:
|
|
bytes: [ 0x4d, 0xff, 0x2d, 0x75 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsub.q $xr13, $xr26, $xr31"
|