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:
37
thirdparty/capstone/tests/MC/LoongArch/addi.s.yaml
vendored
Normal file
37
thirdparty/capstone/tests/MC/LoongArch/addi.s.yaml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xc1, 0x0a, 0x8a, 0x76 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvaddi.bu $xr1, $xr22, 2"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x43, 0xf5, 0x8a, 0x76 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvaddi.hu $xr3, $xr10, 0x1d"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x65, 0x0d, 0x8b, 0x76 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvaddi.wu $xr5, $xr11, 3"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x06, 0x9c, 0x8b, 0x76 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvaddi.du $xr6, $xr0, 7"
|
Reference in New Issue
Block a user