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/lvz.s.yaml
vendored
Normal file
46
thirdparty/capstone/tests/MC/LoongArch/lvz.s.yaml
vendored
Normal file
@@ -0,0 +1,46 @@
|
||||
test_cases:
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x04, 0x04, 0x00, 0x05 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "gcsrrd $a0, 1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x24, 0x04, 0x00, 0x05 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "gcsrwr $a0, 1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0xa4, 0x04, 0x00, 0x05 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "gcsrxchg $a0, $a1, 1"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x01, 0x24, 0x48, 0x06 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "gtlbflush"
|
||||
-
|
||||
input:
|
||||
bytes: [ 0x01, 0x80, 0x2b, 0x00 ]
|
||||
arch: "CS_ARCH_LOONGARCH"
|
||||
options: [ "CS_MODE_LOONGARCH64" ]
|
||||
expected:
|
||||
insns:
|
||||
-
|
||||
asm_text: "hvcl 1"
|
Reference in New Issue
Block a user