mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-04 08:12:05 +00:00
38 lines
880 B
YAML
38 lines
880 B
YAML
test_cases:
|
|
-
|
|
input:
|
|
bytes: [ 0xf5, 0x7f, 0x5c, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrarni.b.h $xr21, $xr31, 0xf"
|
|
-
|
|
input:
|
|
bytes: [ 0xc4, 0xe6, 0x5c, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrarni.h.w $xr4, $xr22, 0x19"
|
|
-
|
|
input:
|
|
bytes: [ 0x18, 0xa5, 0x5d, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrarni.w.d $xr24, $xr8, 0x29"
|
|
-
|
|
input:
|
|
bytes: [ 0xa7, 0x1c, 0x5e, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrarni.d.q $xr7, $xr5, 7"
|