Chen
Chen
I have rebased on top of auto-sync-18 branch and dropped LoongArch-specific changes under `llvm/lib`.
Using capstone `next` branch and llvm-capstone `auto-sync-18` branch: ``` INFO:root:Generating Disassembler tables... DEBUG:root:Generating CCS tables... DEBUG:root:/home/jiegec/capstone/suite/auto-sync/vendor/llvm_root/build/bin/llvm-tblgen --printerLang=CCS --gen-disassembler -I /home/jiegec/capstone/suite/auto-sync/vendor/llvm_root/llvm/include -I /home/jiegec/capstone/suite/auto-sync/vendor/llvm_root/llvm/lib/Target/LoongArch -o /home/jiegec/capstone/suite/auto-sync/build/llvm_c_inc/LoongArchGenDisassemblerTables.inc /home/jiegec/capstone/suite/auto-sync/vendor/llvm_root/llvm/lib/Target/LoongArch/LoongArch.td llvm-tblgen: Unknown command line argument...
> Using capstone `next` branch and llvm-capstone `auto-sync-18` branch: > > ``` > INFO:root:Generating Disassembler tables... > DEBUG:root:Generating CCS tables... > DEBUG:root:/home/jiegec/capstone/suite/auto-sync/vendor/llvm_root/build/bin/llvm-tblgen --printerLang=CCS --gen-disassembler -I /home/jiegec/capstone/suite/auto-sync/vendor/llvm_root/llvm/include -I /home/jiegec/capstone/suite/auto-sync/vendor/llvm_root/llvm/lib/Target/LoongArch -o /home/jiegec/capstone/suite/auto-sync/build/llvm_c_inc/LoongArchGenDisassemblerTables.inc...
We are experiencing the same problem in Spack: the length of runtime_includes is 60896989 (seen from gdb). The build time is too long (> 7 hours not completing). We will...
astyle binary disappeared?
What's changed: 1. Renamed llvm to llvm-17 2. llvm-runtime-17: Install to /usr/lib/llvm-17, symlink versioned .so to /usr/lib 3. llvm-17: Install to /usr/lib/llvm-17, symlink binaries with -17 suffix 4. llvm-runtime: Create...
Yes, we didn't carefully handle locks.
这里直接用 trap_handler 可能会有 trap_handler 并非四字节对齐的问题。
> 请问为何在save all里面保存了stval scause这些csr,而在restore all里面却不还原它们?那这样store的意义何在呢? 因为内核的 Rust 代码部分会需要读取这些 CSR。
因为这些寄存器在下次trap的时候会被硬件写入,所以还原了也没有意义。 > > @jiegec > > > 请问为何在save all里面保存了stval scause这些csr,而在restore all里面却不还原它们?那这样store的意义何在呢? > > > > > > 因为内核的 Rust 代码部分会需要读取这些 CSR。 > > 这点明白,但我的意思是为什么不在restore里面还原这几个寄存器?是不是因为还原了也没有意义?