近期活动
- 6月24日南京meetup开始筹备。
编译社区的八卦信息
GCC
这周的RISC-V后端开发,Juzhe是主角,发出一系列自动向量化的改进
[PATCH V2] RISC-V: Refactor the framework of RVV auto-vectorization https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619291.html
[PATCH] RISC-V: Fix magic number of RVV auto-vectorization expander https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619343.html
[PATCH V5] RISC-V: Add RVV comparison autovectorization https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619366.html
[V2 COMMITTED] RISC-V: Add RVV mask logic auto-vectorization https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619397.html
[PATCH] RISC-V: Implement autovec abs, vneg, vnot. https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618992.html
[RFC V2] RISC-V : Support rv64 ilp32 https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618959.html
[PATCH] RISC-V: Add mode switching target hook to insert rounding mode config for fixed-point instructions https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618827.html
其他RISC-V的改进。目前GCC的后端x64和arm64趋于稳定,也就RISC-V热火朝天,软件生态追齐指日可待。
[PATCH] RISC-V: improve codegen for large constants with same 32-bit lo and hi parts [2] https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618948.html
RISC-V Test Errors and Failures https://gcc.gnu.org/pipermail/gcc-patches/2023-May/618758.html
[pushed] wwwdocs: readings: Adjust link to Arm architectures https://gcc.gnu.org/pipermail/gcc-patches/2023-May/619087.html
Binutils/GDB
LoongArch实现了简单的链接时优化,在二进制level进行简单的peephole,binutils把这个叫relaxation。 [PATCH v4 0/6] LoongArch linker relaxation support. https://sourceware.org/pipermail/binutils/2023-May/127539.html
[RFC PATCH V2 0/4] RISC-V : Support ilp32 abi on rv64 isa https://sourceware.org/pipermail/binutils/2023-May/127501.html
[PATCH] Support Intel FRED LKGS https://sourceware.org/pipermail/binutils/2023-May/127485.html
[PATCH v2 00/17] SME support for AArch64 gdb/gdbserver on Linux https://sourceware.org/pipermail/gdb-patches/2023-May/199716.html
GLIBC
允许把动态库map到指定的地址空间 [PATCH 00/14] implement
RTLD_NORELOCATEapi [BZ #30007]Add
HWCAP2_SME*from Linux 6.3 to AArch64 bits/hwcap.h https://sourceware.org/pipermail/libc-alpha/2023-May/148231.html[PATCH 00/10] Stack setup & misc fixes for
x86_64-gnuhttps://sourceware.org/pipermail/libc-alpha/2023-May/148204.html https://sourceware.org/pipermail/libc-alpha/2023-May/148241.html
LLVM/Clang/LLDB/LLD
以下值得关注的内容来自小编9号的整理和推荐:
- https://discourse.llvm.org/t/type-based-escape-analysis/70803 社区开发者正在调研在LLVM中支持 Type based escape analysis
- https://reviews.llvm.org/D146872 合并了,现在rvv intrinsic 中的 tuple 类型可以在llvm ir 中用struct type表示出来,这可以更好地配合SROA/Mem2Reg pass来消除大量的alloca, load, store
本节内容来自 LLVM Weekly 第 427 期, Alex Bradbury 大哥持续稳定输出。
很有意思的圆桌: There were a number of really helpful summaries from EuroLLVM round tables posted - thanks to everyone involved in taking notes and sharing these. See Kristof Beyls' office hours summary, J Ryan Stinnett's debug info summary, Peter Smith's LLVM embedded toolchain's summary and Andrzej Warzynski's targeting CPUs from ML frameworks summary.
做Infra的同学关注: Following EuroLLVM, there was a lot of additional discussion about pre-commit testing using buildbot.
注意: The long defunct LLVM Python bindings were removed from the tree. 2980029.
好耶! JITLink gained support for RISC-V linker relaxation. 310473c.
asb的工作: MC layer support for the experimental zfbfmin, zvfbfmin, and zvfbfwma extensions (BFloat16 related) was added to the RISC-V backend. 35ff5eb, b18a819, a1455de.
QEMU (RISC-V)
[PATCH v9 00/11] target/riscv: rework CPU extension validation, https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00346.html
[PATCH 0/6] Add RISC-V Virtual IRQs and IRQ filtering support, https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00372.html
[PATCH v5 0/3] Smstateen FCSR, https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00384.html
[PATCH v5] hw/riscv: qemu crash when NUMA nodes exceed available CPUs, https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00398.html
[PATCH 0/5] hw/riscv/opentitan: Correct QOM type/size of OpenTitanState, https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00408.html
[PATCH v3 0/4] target/riscv: Add Smrnmi support., https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00417.html
[PATCH v4 0/3] Implement the watchdog timer of HiFive 1 rev b., https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00437.html
[PATCH v2 0/8] Add support for extension specific disas, https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00441.html
[PATCH 0/2] Refresh the dynamic CSR xml after updating the state of the cpu., https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00454.html
[PATCH v2 0/7] target/riscv: Add support for PC-relative translation, https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00459.html
[PATCH v7 0/2] target/riscv: Fix pointer mask related support, https://lists.gnu.org/archive/html/qemu-riscv/2023-05/msg00476.html
RISC-V in China
- 风平浪静。
RT-Thread 社区
- 风平浪静。
TVM / AI Compilers
- 风平浪静。
本周工具链岗位
往期社招及实习生招聘长期有效。
- PLCT实验室招募 DynamoRIO RISC-V 移植开发实习生(LV3+)
- 开源实习:算能科技招募AI开源工具链开发(TPU-MLIR项目)
- PLCT实验室开始招募 Mono 系统开发实习生,负责 RISC-V 移植及优化
- PLCT实验室长期招募安卓系统(AOSP)开发实习生,升级和维护 AOSP for RISC-V 开源项目
本周推荐阅读
本周推荐:《鱼翅与花椒》
作者: 扶霞·邓洛普
译者: 何雨珈
推荐: 小编1号
这是一本阅读的时候需要带着纸巾的书。每当我看到书中如何描写那花椒的麻和成都担担面的辣爽的时候,总是觉得全身的感受器官都被调动起来了。这位来自英国的作者在90年初就跑到了四川成都到处吃,并且——甚至——骑着自行车穿过半个城市去偶然碰到的四川厨艺学校学习了烹饪。不得不说,那真是一个奔放的年代,所有人都在进行大胆的尝试,和探索。
在断断续续阅读到后面,我逐渐开始羡慕书中描绘的一切。