近期活动
编译社区的八卦信息
GCC
[PATCH 00/11] aarch64 GCS preliminary patches https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628123.html
- 对应的Linux内核支持在: [PATCH v4 00/36] arm64/gcs: Provide support for GCS in userspace https://lore.kernel.org/lkml/20230807-arm64-gcs-v4-0-68cfa37f9069@kernel.org/
Rivos, Rivai等初创公司持续贡献RISC-V后端改进
[PATCH] RISC-V: Add conditional unary neg/abs/not autovec patterns https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628084.html
[PATCH] RISC-V: Add Types to Missing Bitmanip Instructions: https://gcc.gnu.org/pipermail/gcc-patches/2023-August/628026.html
[PATCH V5] VECT: Support loop len control on EXTRACT_LAST vectorization https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627994.html
[PATCH] LoongArch: initial ada support on linux https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627951.html
TLS Descriptor比传统的GNU/TLS更加高效,RISC-V也马上支持了 [PATCH] RISC-V: Implement TLS Descriptors. https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627788.html
[PATCH 0/2] Support AVX10.1 for AVX512DQ intrins https://gcc.gnu.org/pipermail/gcc-patches/2023-August/627705.html
Binutils/GDB
kvx: New port. https://sourceware.org/pipermail/binutils/2023-August/129137.html
[PATCH 0/2] RISC-V: Add support for indirect CSR access extensions https://sourceware.org/pipermail/binutils/2023-August/129122.html
二进制工具的部分 [PATCH 0/4] RISC-V: Implement TLS Descriptors. https://sourceware.org/pipermail/binutils/2023-August/129076.html
SME/SME2的GDB支持都跟上了
- [PATCH v4 00/16] SME support for AArch64 gdb/gdbserver on Linux https://sourceware.org/pipermail/gdb-patches/2023-August/201737.html
- [PATCH v2 0/6] SME2 support for AArch64 gdb/gdbserver on Linux https://sourceware.org/pipermail/gdb-patches/2023-August/201751.html
[PATCH 00/10] Improve GDB/gdbserver experience when using a local gdbserver https://sourceware.org/pipermail/gdb-patches/2023-August/201663.html
GLIBC
[PATCH 0/3] LoonArch: Add ifunc support for str{nlen, cmp, ncmp} https://sourceware.org/pipermail/libc-alpha/2023-August/151012.html
GLIBC相关的修改 [PATCH] RISC-V: Implement TLS Descriptors. https://sourceware.org/pipermail/libc-alpha/2023-August/150968.html
[PATCH v8 0/7] Add pidfd and cgroupv2 support for process creation https://sourceware.org/pipermail/libc-alpha/2023-August/150976.html
LLVM/Clang/LLDB/LLD
以下值得关注的内容来自小编9号的整理和推荐(主要是 LLVM IR 变更):
- https://reviews.llvm.org/D157517 添加ARM SVE Uph asm predicate constraint。
- https://reviews.llvm.org/D158288 添加了对整数常量的说明。在llvm ir 中,10进制整数可以用 '-' (负号)来表示,但是对于16进制整数,必须在整数前面添加 'u', 's' 前缀来表示它的符号,比如 u0x8000 为 32768,s0x8000 为 -32768。并且对于有类型约束的16进制整数,需要通过对 active bits(即除 leading zeros 以外的所有 bits)进行符号扩展来得到,比如 i16 类型的 "s0x0001" 是 -1,而不是 1。
- https://reviews.llvm.org/D155924 按部就班删除了 and/or 常量表达式。
本节内容来自 LLVM Weekly 第 503 期, Alex Bradbury 大哥持续稳定输出。
票价自费买的话不便宜。 Registration is now open for the 2023 LLVM Developers' Meeting. The early bird rate runs through to September 10th.
Alexandre Singer proposed the addition of lifetime annotations of memory within MLIR.
Joel E. Denny outlined a set of suggested changes to lit's debug output aiming to improve the developer experience.
Peter Smith outlined the format of the embedded toolchains workshop agenda and is trying to confirm who is planning to attend.
Jon Chesterfield made a proposal for desugaring varargs in order to unblock optimisations.
不定期的 MLIR 汇总: MLIR News #35 is out.
Flang 的开发在加快: Slava Zakharin posted an RFC on enabling HLFIR lowering by default in Flang. See this document for more information about HLFIR.
吵出来了共识,算快的: The developer policy around links to external resources (e.g. rdar:// links) has been agreed and committed. 6773269.
路还很长: A workaround was added for a minor code quality regression in RISC-V vector code generation related to MachineCSE refusing to eliminate instructions that have IMPLICIT_DEF operands. a63bd7e.
唯有勤奋: Additional legalisations were added for RISC-V GlobalISel. 88903fa, ae76574, 6eb36ae, 638865c, and more.
QEMU (RISC-V)
[PATCH v2] target/riscv: Update CSR bits name for svadu extension, https://lists.gnu.org/archive/html/qemu-riscv/2023-08/msg00291.html
[PATCH] target/riscv: Allocate itrigger timers only once, https://lists.gnu.org/archive/html/qemu-riscv/2023-08/msg00327.html
[PATCH v5 00/26] plugins: Allow to read registers, https://lists.gnu.org/archive/html/qemu-riscv/2023-08/msg00331.html
[PATCH] target/riscv: fix satp_mode_finalize() when satp_mode.supported = 0, https://lists.gnu.org/archive/html/qemu-riscv/2023-08/msg00336.html
[PATCH v2 0/3] Risc-V/gdb: replace exit(0) with proper shutdown, https://lists.gnu.org/archive/html/qemu-riscv/2023-08/msg00357.html
RISC-V in China
- RISC-V 中国峰会本周热闹举办,规模、级别、人气都是有史以来最厉害的。
RT-Thread 社区
- 风平浪静。招募志愿者小编。
TVM / AI Compilers
- 风平浪静。招募志愿者小编。
本周工具链岗位
往期社招及实习生招聘长期有效。
- 开源实习:算能科技招募AI开源工具链开发(TPU-MLIR项目)
- DynamoRIO RISC-V 移植开发实习生招聘(PLCT实验室)
- PLCT实验室开始招募 Mono 系统开发实习生,负责 RISC-V 移植及优化
- PLCT实验室长期招募安卓系统(AOSP)开发实习生,升级和维护 AOSP for RISC-V 开源项目
本周推荐阅读
本周推荐:《天生非此》
作者: [英] 奥利弗·詹姆斯 / Oliver James
译者: 贾萱 / 魏宁
推荐: 小编11号
作者认为人类基因组计划的研究已经证明,在解释我们的心理特质差异方面,基因几乎不起任何作用。比如自我克制、完美主义、焦虑,甚至是天才的智商,实际都是后天引发的。这当然跟现在的部分观点相悖,比如抑郁症。无论书中观点的对错如何, 与基因是抑郁原因之一的观点相比,让家长面对完全因为后天教育环境导致孩子出现抑郁症的解释,是更难接受的。同时作者也指出,家庭养育方式是代际传递的,家长如何对孩子正是因为他们小时候也是这样被对待的。我们不必要一定认可作者的全部观点,但是作者带给读者的警示无疑是非常值得重视的。
摘录书中对2个常见场景的解读:
- 家长不停的唠叨“不许这么做”, “我说了不许这么做”,“都告诉你了不许这么做了”,语气加重,直到尖声喊叫或者演变为身体暴力。 这被称之为愤怒攻击,被证明是造成童年攻击以及成年暴力行为的直接原因,与基因无关。
- 孩子们需要忍受一种自我丧失的教育体系,而非得到学习的热情或者质疑现状的能力。所以在大学里,他们通过对外表、名誉和消费的着迷来治疗自己的痛苦
如果负面养育方式会在代际传递, 那么在思考为人父母能为孩子留下什么的时候,一旦物质生活的基本需求得到满足,比起现金、房产、股票这些物质层面的东西,将爱传递下去或许更为重要,把爱的正确表达方式作为家族资产,让每一代人都能情绪健康。