近期活动
- 本周有 RISC-V 欧洲峰会。
- 6月7日有 PyTorch Day China,在北京。
- 6月10日有 AsiaLLVM,第一届,在东京。欢迎大家踊跃报名。
编译社区的八卦信息
GCC
[PATCH] vect: Improve vectorization for small-trip-count loops using subvectors https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683011.html
[PATCH 0/9] AArch64: CMPBR support https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683024.html
[PATCH v3 1/2] RISC-V: Support RISC-V Profiles 20/22. https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683100.html
[PATCH v19 0/3] c: Add
_Countofand <stdcountof.h> https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683145.html[PATCH 0/6] RISC-V: frm state-machine improvements https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683153.html
[PATCH v1 0/7] RISC-V: Combine vec_duplicate + vsub.vv to vsub.vx on GR2VR cost https://gcc.gnu.org/pipermail/gcc-patches/2025-May/683246.html
BINUTILS
[PATCH 1/2] RISC-V: Base for complex extension implications https://sourceware.org/pipermail/binutils/2025-May/140946.html
[PATCH v2] RISC-V: Add zilsd & zclsd support https://sourceware.org/pipermail/binutils/2025-May/140949.html
[PATCH v3 00/26] AArch64 AEABI build attributes (a.k.a. object attributes v2) https://sourceware.org/pipermail/binutils/2025-May/140972.html
[PATCH 0/4] Fix two SFrame issues in gas https://sourceware.org/pipermail/binutils/2025-May/141014.html
[PATCH v3 1/2] RISC-V: Add support for RISC-V Profiles 20/22. https://sourceware.org/pipermail/binutils/2025-May/141021.html
[PATCH 1/2] RISC-V: check offsets when linker relaxation is disabled https://sourceware.org/pipermail/binutils/2025-May/141042.html
GDB
[PATCHv2 0/7] include shared memory with id zero in core NT_FILE note https://sourceware.org/pipermail/gdb-patches/2025-May/217745.html
[PATCH v3 00/11] Add CET shadow stack support https://sourceware.org/pipermail/gdb-patches/2025-May/217731.html
[PATCH 0/2] Use check-mark for current row of CLI table https://sourceware.org/pipermail/gdb-patches/2025-May/217772.html
[PATCH] RISC-V: Add software single step support for cm.popret[z] https://sourceware.org/pipermail/gdb-patches/2025-May/217889.html
GLIBC
[PATCH 00/11] Add initial support for --enable-ubsan https://sourceware.org/pipermail/libc-alpha/2025-May/166363.html
Implement C23 compoundn [committed] https://sourceware.org/pipermail/libc-alpha/2025-May/166441.html
[PATCH v4 00/23] Handle ld.so with LOAD segment gaps in
_dl_find_object(bug 31943) https://sourceware.org/pipermail/libc-alpha/2025-May/166513.html
LLVM/Clang/LLDB/LLD
本节内容来自 LLVM Weekly 第 593 期, Alex Bradbury 大哥持续稳定输出。
学起来:Recordings from EuroLLVM 2025 have started to be posted to YouTube.
收藏: My Igalia colleague Mikhail Gadelha has a blog post on work to improve RISC-V LLVM performance as compared to GCC, a project done through RISE and also summarised on their blog. Mikhail's SpacemiT X60 scheduling model patch was also mentioned on Phoronix.
有意思的分享: I talk about tech in general, LLVM Weekly and projects I've been involved in such as RISC-V, LLVM, lowRISC, Raspberry Pi, and work at Igalia on the latest episode of the TMPDIR podcast hosted by Khem Raj and Cliff Brake. Not so on-top for LLVM, but if you're interested in my computer setup enjoy scrolling through lots of Linux configuration notes you might like my blog post on the MiniBook X N150 - the netbook isn't dead (yet!). I also wrote up suite-helper, the helper script I split out to handle my most common tasks when building and diving into llvm-test-suite configurations - I'd highlight particularly the
reduce-llhelper to llvm-reduce a target assembly snippet for a given .c input. Finally I'm presenting a talk about improvements to RISC-V vector code generation in LLVM at the RISC-V Summit Europe in Paris this week. If you're here, be sure to say hi!有点意思: Reid Kleckner found that each class template instantiation in Clang costs about 1KiB of memory.
LLVM社区有了社区经理: Britton Watson is seeking volunteers for the 2025 LLVM Developers' Meeting Program Committee and for the Student Travel Grant Review Committee.
贡献的机会来了: Alex Zinenko is trying to build a maintainer list for MLIR.
搞编译器也需要学AI了: S. VenkataKeerthy started a discussion on upstreaming support for generating IR2Vec embeddings into Machine Learning Guided Optimisation (MLGO) for inlining.
祝贺进迭时空: An initial scheduler model was added for the SpacemiT-X60 RISC-V CPU. 4eac576.
RISC-V 的扩展的名字越来越复杂的: Initial code generation support was added for the RISC-V Zvqdotq (dot product) extension. 1ac489c.
时代的变迁: The last mentions of IRC were removed from LLVM's documentation, as it's not used by the community any more. 7548cec.
QEMU (RISC-V)
[PATCH v5 00/26] target/riscv: SATP mode and CPU definition overhaul https://lists.nongnu.org/archive/html/qemu-devel/2025-05/msg02636.html
[PATCH v2] target/riscv: support atomic instruction fetch (Ziccif) https://lists.nongnu.org/archive/html/qemu-devel/2025-05/msg01827.html
RISC-V in China
- 都去开 RISC-V 欧洲峰会去了。
RT-Thread 社区
2025 RT-Thread全球技术大会演讲征集开始啦。RT-Thread全球技术大会,由开源操作系统 RT-Thread 发起,并联合国内外领先企业的重磅嘉宾,携手国内外顶尖企业专家与线上参与者,共议边缘计算、嵌入式系统、AIoT、RISC-V及安全应用等前沿技术,激荡思维火花。想要报名的同学请访问 https://mp.weixin.qq.com/s/hFHUOBGoIC2r_8eDmVVqRQ。
当前 RT-Thread 仓库中 BSP 和
.git内容占比约 90%,而 RT-Thread 核心代码及文档仅占约 100MB,约为 3%。为进一步优化用户体验,社区计划了对现有 BSP 结构进行改进优化,减少仓库的体积。具体参考 https://mp.weixin.qq.com/s/0RuR4A83ff77rM7l1ffEfQ。
AI Compilers
- 风平浪静。
本周工具链岗位
往期社招及实习生招聘长期有效。
- PLCT实验室春招 RISC-V 实习岗位汇总(2025年3月)|甲辰计划开源实习生联合招聘培养
- openEuler RISC-V 实习机会暨OERV 实习岗位汇总|RISC-V 与 Linux 发行版生态
- 大算力芯片公司招聘高级编译器研发工程师、GPU算法研发、集群互联开发等岗位
本周推荐阅读
本周推荐:《海象日记》
作者:乌冬
推荐:小编1号
这本书记录的是作者从怀孕开始到孩子满1岁的经历。作者并不是职业作家(至少怀孕的时候还不是),但是当生命中开始孕育另一个生命的时候,落笔的冲动充斥了身体。恰逢在孕育生命的同时,见证了长辈病危、生命逝去的恐惧和茫然。平日里眼睛里被忽略的日常、屋檐缝隙漏下的阳光,开始有了重新不同的意义。
每一个生命的孕育和哺育都是无二的,这也是为什么会有如此多的准妈妈准爸爸变成了作家、而这样的文字始终不乏读者。我们从他人的生活中,希望能够发现和看到这个世界的幸福;有时候,会更加幸运的看到自身周围的幸福。
阅读本书几页之后,我不知为何有了一种偷偷摸摸的感觉,总感觉像是无意间窥见了异性的日记,而字里行间的文字并未意识到自己会被其他的人看见。然后回到序言,哦,确实是日记。