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/srl.s.yaml
vendored
Normal file
73
thirdparty/capstone/tests/MC/LoongArch/srl.s.yaml
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x14, 0x77, 0xea, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrl.b $xr20, $xr24, $xr29"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x2b, 0xfe, 0xea, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrl.h $xr11, $xr17, $xr31"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x42, 0x21, 0xeb, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrl.w $xr2, $xr10, $xr8"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xcd, 0xeb, 0xeb, 0x74 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrl.d $xr13, $xr30, $xr26"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x9d, 0x2c, 0x30, 0x77 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrli.b $xr29, $xr4, 3"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xdc, 0x71, 0x30, 0x77 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrli.h $xr28, $xr14, 0xc"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x4c, 0x9e, 0x30, 0x77 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrli.w $xr12, $xr18, 7"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x80, 0xb8, 0x31, 0x77 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "xvsrli.d $xr0, $xr4, 0x2e"
|
Reference in New Issue
Block a user