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/sra.s.yaml
vendored
Normal file
73
thirdparty/capstone/tests/MC/LoongArch/sra.s.yaml
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x4b, 0x00, 0xec, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsra.b $xr11, $xr2, $xr0"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x71, 0x9b, 0xec, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsra.h $xr17, $xr27, $xr6"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x8d, 0x31, 0xed, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsra.w $xr13, $xr12, $xr12"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xe6, 0x85, 0xed, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsra.d $xr6, $xr15, $xr1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x50, 0x2c, 0x34, 0x77 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrai.b $xr16, $xr2, 3"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x6e, 0x70, 0x34, 0x77 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrai.h $xr14, $xr3, 0xc"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x51, 0xd6, 0x34, 0x77 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrai.w $xr17, $xr18, 0x15"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x8a, 0x12, 0x35, 0x77 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrai.d $xr10, $xr20, 4"
|
Reference in New Issue
Block a user