mirror of
https://gitlab.com/qemu-project/capstone.git
synced 2025-07-03 04:42:13 +08:00

* Initial auto-sync LoongArch support - Accompanied llvm changes: https://github.com/capstone-engine/llvm-capstone/pull/45 - MC Tests are generated from llvm - Instruction groups are implemented - Register accesses are implemented - Memory operands are handled for memory instructions - Code are formatted using clang-format of LLVM 17 - Import tests from LLVM MC - Collect operand type and access - Collect registers read/modified --------- Co-authored-by: CoA <1109673069@qq.com> * Ensure same indent for all patched lines. * Emit upper case OP_GROUP enum * Spell all enum values in capital letters. * Capticalize enums in loongarch_detail.c * Add test which contains now a tab. * Run clang-format on test_loongarch.c --------- Co-authored-by: CoA <1109673069@qq.com> Co-authored-by: Rot127 <unisono@quyllur.org>
10 lines
421 B
Smalltalk
10 lines
421 B
Smalltalk
# CS_ARCH_LOONGARCH, CS_MODE_LOONGARCH64, None
|
|
0xf8,0x08,0x24,0x00 = crc.w.b.w $s1, $a3, $tp
|
|
0x5f,0xc9,0x24,0x00 = crc.w.h.w $s8, $a6, $t6
|
|
0xdc,0x28,0x25,0x00 = crc.w.w.w $s5, $a2, $a6
|
|
0x7c,0xfd,0x25,0x00 = crc.w.d.w $s5, $a7, $s8
|
|
0x4f,0x0e,0x26,0x00 = crcc.w.b.w $t3, $t6, $sp
|
|
0xb5,0xcb,0x26,0x00 = crcc.w.h.w $r21, $s6, $t6
|
|
0xd1,0x35,0x27,0x00 = crcc.w.w.w $t5, $t2, $t1
|
|
0xbe,0xee,0x27,0x00 = crcc.w.d.w $s7, $r21, $s4
|