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:
46
thirdparty/capstone/tests/MC/LoongArch/sub.s.yaml
vendored
Normal file
46
thirdparty/capstone/tests/MC/LoongArch/sub.s.yaml
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x8b, 0x43, 0x0c, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsub.b $xr11, $xr28, $xr16"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x6b, 0xe0, 0x0c, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsub.h $xr11, $xr3, $xr24"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xee, 0x1a, 0x0d, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsub.w $xr14, $xr23, $xr6"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xa5, 0x9d, 0x0d, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsub.d $xr5, $xr13, $xr7"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x4d, 0xff, 0x2d, 0x75 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsub.q $xr13, $xr26, $xr31"
|
Reference in New Issue
Block a user