2024-09-07 18:15:29 +06:00

56 lines
1.3 KiB
YAML

test_cases:
-
input:
bytes: [ 0x88, 0xca, 0x00, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvssrlrn.b.h $xr8, $xr20, $xr18"
-
input:
bytes: [ 0xa2, 0x4d, 0x01, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvssrlrn.h.w $xr2, $xr13, $xr19"
-
input:
bytes: [ 0xf8, 0x94, 0x01, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvssrlrn.w.d $xr24, $xr7, $xr5"
-
input:
bytes: [ 0xef, 0xca, 0x08, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvssrlrn.bu.h $xr15, $xr23, $xr18"
-
input:
bytes: [ 0xd6, 0x41, 0x09, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvssrlrn.hu.w $xr22, $xr14, $xr16"
-
input:
bytes: [ 0x94, 0x97, 0x09, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvssrlrn.wu.d $xr20, $xr28, $xr5"