38 lines
885 B
YAML
Raw Normal View History

2024-09-07 18:00:09 +06:00
test_cases:
-
input:
bytes: [ 0x01, 0x37, 0x2e, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvsigncov.b $xr1, $xr24, $xr13"
-
input:
bytes: [ 0xe8, 0xba, 0x2e, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvsigncov.h $xr8, $xr23, $xr14"
-
input:
bytes: [ 0x23, 0x2b, 0x2f, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvsigncov.w $xr3, $xr25, $xr10"
-
input:
bytes: [ 0x3a, 0xfe, 0x2f, 0x75 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvsigncov.d $xr26, $xr17, $xr31"