mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-06-04 08:12:05 +00:00
38 lines
877 B
YAML
38 lines
877 B
YAML
test_cases:
|
|
-
|
|
input:
|
|
bytes: [ 0x05, 0x49, 0x40, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrlni.b.h $xr5, $xr8, 2"
|
|
-
|
|
input:
|
|
bytes: [ 0x87, 0xd0, 0x40, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrlni.h.w $xr7, $xr4, 0x14"
|
|
-
|
|
input:
|
|
bytes: [ 0xfe, 0x45, 0x41, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrlni.w.d $xr30, $xr15, 0x11"
|
|
-
|
|
input:
|
|
bytes: [ 0x8f, 0x7f, 0x43, 0x77 ]
|
|
arch: "CS_ARCH_LOONGARCH"
|
|
options: [ "CS_MODE_LOONGARCH64" ]
|
|
expected:
|
|
insns:
|
|
-
|
|
asm_text: "xvsrlni.d.q $xr15, $xr28, 0x5f"
|