mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-07-26 23:13:54 +00:00
Initial Commit
This commit is contained in:
73
thirdparty/capstone/tests/MC/LoongArch/div.s.yaml
vendored
Normal file
73
thirdparty/capstone/tests/MC/LoongArch/div.s.yaml
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x29, 0x23, 0xe0, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvdiv.b $xr9, $xr25, $xr8"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x32, 0xec, 0xe0, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvdiv.h $xr18, $xr1, $xr27"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x45, 0x6f, 0xe1, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvdiv.w $xr5, $xr26, $xr27"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x5b, 0xb3, 0xe1, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvdiv.d $xr27, $xr26, $xr12"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xc0, 0x7a, 0xe4, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvdiv.bu $xr0, $xr22, $xr30"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xff, 0xe6, 0xe4, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvdiv.hu $xr31, $xr23, $xr25"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x21, 0x1f, 0xe5, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvdiv.wu $xr1, $xr25, $xr7"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x27, 0x9f, 0xe5, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvdiv.du $xr7, $xr25, $xr7"
|
Reference in New Issue
Block a user