mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-04 08:12:05 +00:00
74 lines
1.7 KiB
YAML
74 lines
1.7 KiB
YAML
test_cases:
|
|
-
|
|
input:
|
|
bytes: [ 0x14, 0x77, 0xea, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrl.b $xr20, $xr24, $xr29"
|
|
-
|
|
input:
|
|
bytes: [ 0x2b, 0xfe, 0xea, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrl.h $xr11, $xr17, $xr31"
|
|
-
|
|
input:
|
|
bytes: [ 0x42, 0x21, 0xeb, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrl.w $xr2, $xr10, $xr8"
|
|
-
|
|
input:
|
|
bytes: [ 0xcd, 0xeb, 0xeb, 0x74 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrl.d $xr13, $xr30, $xr26"
|
|
-
|
|
input:
|
|
bytes: [ 0x9d, 0x2c, 0x30, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrli.b $xr29, $xr4, 3"
|
|
-
|
|
input:
|
|
bytes: [ 0xdc, 0x71, 0x30, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrli.h $xr28, $xr14, 0xc"
|
|
-
|
|
input:
|
|
bytes: [ 0x4c, 0x9e, 0x30, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrli.w $xr12, $xr18, 7"
|
|
-
|
|
input:
|
|
bytes: [ 0x80, 0xb8, 0x31, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrli.d $xr0, $xr4, 0x2e"
|