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

146 lines
3.4 KiB
YAML

test_cases:
-
input:
bytes: [ 0x55, 0x1f, 0x72, 0x74 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmin.b $xr21, $xr26, $xr7"
-
input:
bytes: [ 0xbd, 0xa4, 0x72, 0x74 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmin.h $xr29, $xr5, $xr9"
-
input:
bytes: [ 0x1f, 0x53, 0x73, 0x74 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmin.w $xr31, $xr24, $xr20"
-
input:
bytes: [ 0x7b, 0x8b, 0x73, 0x74 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmin.d $xr27, $xr27, $xr2"
-
input:
bytes: [ 0x36, 0x26, 0x92, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmini.b $xr22, $xr17, 0x9"
-
input:
bytes: [ 0xec, 0xc6, 0x92, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmini.h $xr12, $xr23, -0xf"
-
input:
bytes: [ 0x21, 0x4e, 0x93, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmini.w $xr1, $xr17, -0xd"
-
input:
bytes: [ 0xea, 0xaf, 0x93, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmini.d $xr10, $xr31, 0xb"
-
input:
bytes: [ 0x0f, 0x0e, 0x76, 0x74 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmin.bu $xr15, $xr16, $xr3"
-
input:
bytes: [ 0xe4, 0xef, 0x76, 0x74 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmin.hu $xr4, $xr31, $xr27"
-
input:
bytes: [ 0xaf, 0x71, 0x77, 0x74 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmin.wu $xr15, $xr13, $xr28"
-
input:
bytes: [ 0x7b, 0x94, 0x77, 0x74 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmin.du $xr27, $xr3, $xr5"
-
input:
bytes: [ 0x06, 0x1f, 0x96, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmini.bu $xr6, $xr24, 7"
-
input:
bytes: [ 0xa8, 0xf4, 0x96, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmini.hu $xr8, $xr5, 0x1d"
-
input:
bytes: [ 0xb1, 0x4d, 0x97, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmini.wu $xr17, $xr13, 0x13"
-
input:
bytes: [ 0xf0, 0xfa, 0x97, 0x76 ]
arch: "CS_ARCH_LOONGARCH"
options: [ "CS_MODE_LOONGARCH64" ]
expected:
insns:
-
asm_text: "xvmini.du $xr16, $xr23, 0x1e"