[hellogcc] OSDT Weekly 2020-06-03 第048期

  • From: Wei Wu (吴伟) <lazyparser@xxxxxxxxx>
  • To: hellogcc@xxxxxxxxxxxxx
  • Date: Wed, 3 Jun 2020 20:39:05 +0800

# OSDT Weekly 2020-06-03 第048期

点击【查看原文】可以跳转到GitHub上本仓库的地址,就可以进行URL的跳转了。

### 近期线下活动

下一次聚会计划是V8主题。目前正在征集技术分享话题,欢迎报名来分享自己的工作。目前计划是线上。

同时我们欢迎场地支持和赞助。欢迎有志同道合的小伙伴联系我们。

## 编译社区的八卦信息

### GCC

- Kewen.Lin的vector + IVOPT优化patch set持续引发讨论
  [PATCH 0/7] Support vector load/store with length
  https://gcc.gnu.org/pipermail/gcc-patches/2020-May/546629.html

  [PATCH 0/4] IVOPTs consider step cost for different forms when unrolling
  https://gcc.gnu.org/pipermail/gcc-patches/2020-May/546697.html

- Martin Jambor关于过程间优化的patch set
  [PATCH 0/4] Make IPA-SRA not depend on tree-dce and related fixes
  https://gcc.gnu.org/pipermail/gcc-patches/2020-May/546702.html

- H.J.Lu关于x86后端的优化
  [PATCH 0/2] x86: Add cmpmemsi for -minline-all-stringops
  https://gcc.gnu.org/pipermail/gcc-patches/2020-May/546919.html

- 关于AMD Zen memcpy/memset的优化
  [PATCH 2/2] Tune memcpy and memset for Zen cores.
  https://gcc.gnu.org/pipermail/gcc-patches/2020-June/546942.html

- IBM的GCC patch最近一年相当的多啊,PowerPC用力很猛
  [PATCH 0/6] Permute Class Operations
  https://gcc.gnu.org/pipermail/gcc-patches/2020-June/546958.html

  [PATCH 1/7] PowerPC tests: Add prefixed/pcrel tests.
  https://gcc.gnu.org/pipermail/gcc-patches/2020-June/546982.html

- [PATCH] aarch64: Add initial support for -mcpu=zeus
  https://gcc.gnu.org/pipermail/gcc-patches/2020-June/547100.html


### Binutils/GDB

- 关于PowerPC向后兼容的干货讨论
  ppc64le and 32-bit LE userland compatibility
  https://sourceware.org/pipermail/binutils/2020-June/111382.html

- Fangrui关于linker gc的讨论
  Range lists, zero-length functions, linker gc
  https://sourceware.org/pipermail/binutils/2020-May/111357.html

- [PATCH 0/2] RISC-V: Fix the conflicting priv spec problems
  https://sourceware.org/pipermail/binutils/2020-May/111334.html

- [PATCH 0/3] Improve insn endianness support in CGEN ports
  https://sourceware.org/pipermail/binutils/2020-May/111324.html

### GLIBC

- [PATCH v3 0/4] Enable generic math code for more arches
  https://sourceware.org/pipermail/libc-alpha/2020-June/114626.html

- [PATCH 0/5] use gcc builtins for sqrt and fma functions
  https://sourceware.org/pipermail/libc-alpha/2020-May/114478.html

- [PATCH v6 00/13] glibc port to ARC processors
  https://sourceware.org/pipermail/libc-alpha/2020-May/114405.html

### LLVM/Clang/LLDB/LLD

本节内容来自 [LLVM Weekly 第335期](http://llvmweekly.org/issue/335),
[Alex Bradbury](https://www.linkedin.com/in/alex-bradbury/) 大哥持续稳定输出。

PLDI 2020 (线上会议了) 计划推出个 [series of "Ask Me Anything" live Q+A
环节](https://pldi20.sigplan.org/track/pldi-2020-ask-me-anything#program),
including with Chris Lattner.

Chris 现在是 SiFive 公司的高管,估计大招快要憋出来了。期待ing

## On the mailing lists

* Chris Lattner provided a [就 LLVM decision making
给了一大堆评论](http://lists.llvm.org/pipermail/llvm-dev/2020-May/141798.html)
and
[并拿出了一个新的决策流程的草案](http://lists.llvm.org/pipermail/llvm-dev/2020-May/141810.html),
现在正在通过 Google Docs 共享访问.

* Tanya Lattner is [seeking volunteers for the LLVM Developers'
Meeting Program
Committee](http://lists.llvm.org/pipermail/llvm-dev/2020-May/141946.html).
国内的小伙伴们不要犹豫,快上。

* The 8th MLIR newsletter [is now
available](https://llvm.discourse.group/t/mlir-news-8th-edition-5-29-2020/1087),
containing the usual mix of updates on MLIR commits, discussions, and
ecosystem projects.

* David Blaikie started a thread to discuss [issues arond
DWARF-awareness in the
linker](http://lists.llvm.org/pipermail/llvm-dev/2020-May/141885.html),
specifically focusing on zer length GCed/duplicated functions.

* Christudasan Devadasan is seeking feedback on [allowing CostperUse
for registers to be set more
dynamically](http://lists.llvm.org/pipermail/llvm-dev/2020-May/141925.html).

* Bill Wendling posted an RFC on [loading bitfields with the smallest
needed types](http://lists.llvm.org/pipermail/llvm-dev/2020-May/141837.html).

* Chris Tetreault followed up to the thread on refactoring the class hierarchy
of VectorType with a [summary of a discussion on the SVE call about
this](http://lists.llvm.org/pipermail/llvm-dev/2020-May/141910.html).

* Jeremy Morse provided an [update on an alternate approach to
specifying variable locations
post-isel](http://lists.llvm.org/pipermail/llvm-dev/2020-May/141867.html),
providing a report on his initial prototype.

* Dean Sutherland provided a [summary of how debug locations were
handled in a previous commercial
compiler](http://lists.llvm.org/pipermail/cfe-dev/2020-May/065553.html).
Chris Lattner 
[commented](http://lists.llvm.org/pipermail/cfe-dev/2020-May/065564.html)
that this is similar to the model MLIR ended up at, and suggested it
may be interesting to port this design to LLVM IR.

* The hardware loop intrinsics are now documented in LLVM's language
reference. [880c35a](https://reviews.llvm.org/rG880c35a5549).
这是什么?


* FileCheck now allows parenthesized expressions.
[3be5e53](https://reviews.llvm.org/rG3be5e53f208).
回头试试,日常FileCheck,有段时间做并发的输出就很迷茫了一阵子(评论跟这个消息没关系)。

* The VE backend gained a minimal machine code layer, including
AsmParser support. [0e0907f](https://reviews.llvm.org/rG0e0907fa0e2).
第一次听说VE后端,小伙伴们有了解的么?评论下?

### RISC-V in China

- 平头哥开源了自己实现的 RVV GCC 版本,包含了自己设计的 intrinsics。

git clone https://github.com/c-sky/gcc.git -b gcc-9-rvv

(注意分支是 `gcc-9-rvv`)

- 同时PLCT的 RVV LLVM 版本还在追逐实现 EPI、SiFive 等提出的 intrinsics 版本:

https://github.com/isrc-cas/rvv-llvm

- 平头哥玄铁处理器Linux新版本,5大亮点速览
为了便于 CPU 评估,系统集成,快速上手玄铁处理器 Linux 操作系统,平头哥更新了玄铁处理器 linux 版本,结合 gitlab
开源 CI/CD 系统,对已发布到开源社区的玄铁架构 CPU 相关的生态软件形成持续保障。

https://mp.weixin.qq.com/s/ojcNECdZmHIwervQRfluLA

- PLCT实验室发布了《PLCT开源进展》第02期,介绍了在V8、RVV、Clang、方舟编译器、QEMU等领域的进展。

https://zhuanlan.zhihu.com/p/145164652

- lazyparser 分享了
《将AOSP移植到RISC-V平台:有多难?》的幻灯片,分析了将安卓生态适配到RISC-V平台需要的工作内容和能力。并号召大家一起联合起来贡献。

https://github.com/lazyparser/talks/blob/master/slides/20200603-AOSP-RISCV-Porting-Survey.pdf

- SiFive公司、AndesTech、芯来科技的线上免费RISC-V培训还在持续进行。

### TVM 社区

风平浪静。

### Mozilla

风平浪静。新的 Firefox 版本正常发布。

### 方舟开源编译器社区

OpenArkCompiler Weekly - #13 May 31st 2020

社区动态:

1、方舟编译器社区在5月27日上午举行了会议。会议纪要如下:
社区版:https://gitee.com/harmonyos/OpenArkCompiler/issues/I1IN42

Commits:

1、更新了关于LLVM/Clang工具链的配置信息,包含文档及配置文件中的内容(主要是更改了引用工具链名称为默认的名称,方便配置):
https://gitee.com/harmonyos/OpenArkCompiler/commit/c8f9b4d079f2ea762be2eda982a280b266865efd

2、为测试框架添加fail-verbose参数:
https://gitee.com/harmonyos/OpenArkCompiler/commit/68cadf071f3a2c470de73790451d0075293257e6

3、为源码编译cflags_cc添加AARCH64参数:
https://gitee.com/harmonyos/OpenArkCompiler/commit/cbe25bb99f0482ef6f09fcb28cd6bd4459985dc5

4、后端O2代码开源:
https://gitee.com/harmonyos/OpenArkCompiler/commit/52a8ea04e9588b03f67b422aabd7ea82d1a40596

### 其它社区的 Weekly

欢迎感兴趣的小伙伴提 Pull Requests 完善内容❤️
我们希望能够尽可能多的扩展下OSDT的覆盖范围。

(没更新)
This Week in Rust #339:
https://this-week-in-rust.org/blog/2020/05/27/this-week-in-rust-340/

Golang Weekly #313:
https://golangweekly.com/issues/314

(又没更新)
WebAssembly Weekly #118:
https://wasmweekly.news/issue-118/

最近更新的都(不怎么)规律 :)

### Academic

风平浪静

### 本周工具链岗位

远程实习机会: 
[PLCT实验室招聘编译器/虚拟机/IDE开发实习生](https://mp.weixin.qq.com/s/bVaNK2kVGstnZ6Onkc98zQ)

同时,开放了面向开源基础软件的 Code Analyst 岗位:
https://github.com/isrc-cas/PLCT-Weekly/blob/master/interns.md

## 本周推荐阅读

本周推荐:《象与骑象人》

作者: [美]乔纳森•海特 (Jonathan Haidt)
译者: 李静瑶

这是一本积极心理学的书,有点不太油腻的心灵鸡汤的味道。或许第一次翻起这本书的时候看一会儿就会很快放下,书中有不少的内容可能已经耳熟能详(当然,这是因人而异的)。

不过,这类图书,这本书,其重要的意义或许就是偶尔在你需要积极的自我调整的时候,正好能够看到你想要看到的自我打气的话。

偶尔喝一喝挺好的,可以更从容和乐观的面对这个日益魔幻的现实世界。


-- 
Best wishes,
Wei Wu (吴伟)

Other related posts:

  • » [hellogcc] OSDT Weekly 2020-06-03 第048期 - 吴伟