<div dir="ltr">Hi all,<br><br>FYI all slides are now available at [1]. We thank Bin Meng for providing both English[2] and Chinese versions.<br>The LLVM + RISC-V meetup notice could be found here [3]. We also thank Shanghai RISC-V group for online registration [4].<br><br><br>- Meng Wang - implement snapshot feature for Spike RISC-V simulator<br>- MaskRay - GCov implementations in Clang<br>- Bin Meng - VxWorks on RISC-V: What we've learned about LLVM RISC-V toolchain<br>- Ying Chen - Custom ISA Support Using LLVM: XuanTie C910 as an example<br><br><br><br>[1] <a href="https://github.com/hellogcc/OSDT-Slides/tree/master/20200705-LLVM-RISC-V-Meetup">https://github.com/hellogcc/OSDT-Slides/tree/master/20200705-LLVM-RISC-V-Meetup</a><br>[2] <a href="https://github.com/hellogcc/OSDT-Slides/blob/master/20200705-LLVM-RISC-V-Meetup/VxWorks%20on%20RISC-V%20-%20What%20we've%20learned%20about%20LLVM%20RISC-V%20toolchain%20(English%20Edition).pdf">https://github.com/hellogcc/OSDT-Slides/blob/master/20200705-LLVM-RISC-V-Meetup/VxWorks%20on%20RISC-V%20-%20What%20we've%20learned%20about%20LLVM%20RISC-V%20toolchain%20(English%20Edition).pdf</a><br>[3] <a href="https://github.com/hellogcc/osdt-weekly/blob/master/events/2020-07-05-LLVM%2BRISC-V-meetup.md">https://github.com/hellogcc/osdt-weekly/blob/master/events/2020-07-05-LLVM%2BRISC-V-meetup.md</a><br>[4] <a href="https://www.meetup.com/shanghai-riscv/">https://www.meetup.com/shanghai-riscv/</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 3, 2020 at 1:49 PM Wei Wu (吴伟) <<a href="mailto:lazyparser@gmail.com">lazyparser@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi all,<br>
<br>
OSDT社区组织的 LLVM + RISC-V 技术讨论会将在7月5日周日上午10点开始。本次讨论的议题已经确定,活动形式采用线上 Zoom<br>
会议 + B站直播的形式,欢迎国内外的小伙伴参与。报告以中文为主。<br>
<br>
The next OSDT Meetup will happen on July 5th, 2020. The location is<br>
webinar style, using Bilibili live streaming and Zoom Meeting. Topics<br>
cover RISC-V software porting / enhancement and LLVM toolchain family.<br>
Talks are given in Chinese language.<br>
<br>
本次活动由OSDT开源开发工具社区(含HelloGCC、HelloLLVM)与 Shanghai RISC-V Group<br>
联合组织。感谢中科院软件所智能软件研究中心(ISRC)提供 Zoom 会议支持。<br>
<br>
We thank Shanghai RISC-V Group for event organization and I.S.C.A.S.<br>
for Zoom support<br>
. This meetup is hold by OSDT community (formerly HelloGCC and<br>
HelloLLVM communities).<br>
<br>
## 活动时间 / Time<br>
<br>
2020年7月5日 周日 10:00 AM - 12:00 AM<br>
<br>
Sunday, July 5, 2020 at 10:00:00 am CST UTC+8 hours Shanghai<br>
<br>
Saturday, July 4, 2020 at 7:00:00 pm PDT UTC-7 hours Las Vegas<br>
(USA - Nevada)<br>
<br>
Sunday, July 5, 2020 at 02:00:00 Corresponding UTC (GMT)<br>
<br>
## 活动议程 / Program<br>
<br>
- 开场介绍(吴伟 as MC)<br>
- Opening - Wei Wu (chair)<br>
<br>
- 蒙斌 - VxWorks on RISC-V: 切换 LLVM 编译器遇到的一些问题分享<br>
- Bin Meng - VxWorks on RISC-V: What we've learned about LLVM RISC-V toolchain<br>
<br>
- MaskRay - Clang 的 gcov 实现<br>
- MaskRay - GCov implementations in Clang<br>
<br>
- 王萌 - Spike模拟器Snapshot功能技术方案及实现分享<br>
- Meng Wang - implement snapshot feature for Spike RISC-V simulator<br>
<br>
- 陈影 - 基于LLVM实现RISC-V用户自定义指令支持——以玄铁C910处理器为例<br>
- Ying Chen - Custom ISA Support Using LLVM: XuanTie C910 as an example<br>
<br>
- 自由话题讨论<br>
- Free discussion<br>
<br>
**蒙斌 - VxWorks on RISC-V: 切换 LLVM 编译器遇到的一些问题分享**<br>
<br>
Bin Meng - VxWorks on RISC-V: What we've learned about LLVM RISC-V toolchain<br>
<br>
分享 VxWorks 操作系统在支持 RISC-V 架构从 GCC 编译器切换到 LLVM 过程中遇到的各种“坑”.<br>
<br>
In this talk we will share our lessons learned in the transition of<br>
using LLVM RISC-V toolchain to build VxWorks Operation System.<br>
<br>
演讲者蒙斌来自风河系统中国研发中心,VxWorks 产品部门高级研发经理。开源社区积极参与者和贡献者,RISC-V 坚定的推广者 :)<br>
<br>
Bin Meng is from WindRiver. He is the senior R&D manager in VxWorks<br>
Department. Bin is very active tech promoter for RISC-V and other open<br>
source communities.<br>
<br>
**MaskRay - Clang 的 gcov 实现**<br>
<br>
MaskRay - GCov implementations in Clang<br>
<br>
GCC提供 gcov 用于实现code coverage。本次主题浅析clang对它的兼容实现和最近本人的一些改进。<br>
<br>
gcov is a code coverage tool which originated from GNU GCC. In this<br>
talk MaskRay will introduce the gcov implementation in Clang, with a<br>
few new improvements realized by him.<br>
<br>
MaskRay,一个活跃的LLVM开发者 (LLD+binary utilities 维护者,缓慢学习<br>
clang/middle-end/CodeGen),退休的Algo/CTF/Student Cluster Competition 选手 /<br>
emacs-lsp 维护者。ccls++🎉<br>
<br>
MaskRay is an active LLVM developer (maintains LLD + Binary Utilities,<br>
learning clang/middle-end/codegen slowly), a retired Algo / CTF /<br>
Student Cluster Competition athlete / emacs-lsp maintainer. ccls++🎉<br>
<br>
**王萌:Spike模拟器snapshot功能技术方案及实现分享**<br>
<br>
Meng Wang - implement snapshot feature for Spike RISC-V simulator<br>
<br>
Spike 是用于验证RISC-V程序的模拟器,使用 C++ 编写,提供了模拟一个或多个 RISC-V hart<br>
的功能模型。我们在spike的基础上进行开发,为其实现 snapshot<br>
即快照功能,用于程序状态的保存及恢复。目前,我们已经完成了部分功能开发,本次报告将针对其技术方案和具体实现进行介绍。<br>
<br>
Spike is a simulator for RISC-V. We are implementing a few new<br>
features for Spike. In this talk, we will share details of our ongoing<br>
work for snapshot feature.<br>
<br>
王萌,武汉大学大二和大三之间,PLCT实验室模拟器分支LV3实习生。指导老师:PLCT实验室李威威主管。<br>
<br>
同时我们感谢中科院信工所宋威老师提出并完善了 snapshot 功能需要达到的各项功能指标。<br>
<br>
Meng Wang is an undergraduate from Wuhan University. He is currently<br>
working with his intern mentor Weiwei Li in PLCT Lab as intern.<br>
<br>
We thank Dr. Wei Song from IIE. The idea was provided by Dr. Song.<br>
<br>
**陈影:基于LLVM实现RISC-V用户自定义指令支持——以玄铁C910处理器为例**<br>
<br>
Ying Chen - Custom ISA Support Using LLVM: XuanTie C910 as an example<br>
<br>
基于LLVM框架,说明如何实现其中RISC-V后端的用户自定义指令的支持,并以玄铁C910处理器为例,具体说明如何在LLVM中添加其扩展指令集的支持。玄铁<br>
C910的指令集架构是在RISC-V标准指令集架构的基础上,增加了部分自定义指令,以提高处理器性能,这部分扩展指令集主要包括有Cache指令子集,同步指令子集,算术运算指令子集,位操作指令子集以及存储指令子集。本次报告阐述的主要工作就是如何RISC-V后端实现这些扩展指令的支持。具体工作内容包括:为LLVM的RISCV后端添加一个C910命令行选项,实现llvm-mc汇编器的支持,使用TableGen语言编写全部扩展指令的汇编代码,能够将玄铁C910汇编指令汇编生成二进制文件,并编写测试用例,验证汇编指令编码的正确性。本项目对于在LLVM中添加用户自定义指令具有良好的指导意义,未来计划考虑添加对其他指令集架构的支持。<br>
<br>
We have implemented an open source toolchain for XuanTie C910. In this<br>
talk Ying Chen will give a short tutorial about custom ISA support<br>
using LLVM. source code could be download or viewed at:<br>
<a href="https://github.com/isrc-cas/c910-llvm" rel="noreferrer" target="_blank">https://github.com/isrc-cas/c910-llvm</a><br>
<br>
陈影,就读于合肥工业大学计算数学专业,研究生在读,目前在中科院软件所PLCT实验室实习。指导老师PLCT实验室邢明杰高级工程师。<br>
<br>
Ying Chen is a graduate from Hefei University of Technology. She is an<br>
intern in PLCT lab. Mingjie Xing is her intern mentor.<br>
<br>
## 直播观看(永久地址,可收藏)<br>
<br>
<a href="https://live.bilibili.com/10339607" rel="noreferrer" target="_blank">https://live.bilibili.com/10339607</a><br>
<br>
不需要报名,直接看。如果有B站账号,登陆之后可以进行弹幕提问。<br>
<br>
Anyone who has internet access could watch this meetup using Bilibili<br>
live streaming.<br>
<br>
Login users could post questions using DanMu feature.<br>
<br>
## 通过 Zoom 参加<br>
<br>
我们将在会议当天上午通过 HelloGCC 公众号(搜索<br>
hellogcc2007)发布会议信息。请通过负责人微信或HelloGCC公众号与我们联系,获取Zoom会议室信息。没有微信的朋友请通过<br>
lazyparser at <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a> 跟我联系,请在邮件标题中体现本次活动信息以免被垃圾邮件过滤。<br>
<br>
Please drop an email to Wei Wu (lazyparser at <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>) for Zoom ID<br>
(and passcode).<br>
<br>
## 演讲报名<br>
<br>
目前仍可以进行闪电演讲,请联系OSDT社区负责人吴伟报名。直接负责人微信报名或通过 lazyparser at <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a> 后台留言。<br>
<br>
Lightning talks are welcome. Please contact Wei Wu if you want to give a talk.<br>
<br>
-- <br>
Best wishes,<br>
Wei Wu (吴伟)<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Best wishes,<br>Wei Wu (吴伟)<br></div>