###
计算机系统应用英文版:2021,30(11):20-26
本文二维码信息
码上扫一扫!
基于LLVM的RISC-V自定义扩展指令支持方法
(1.中国科学院 软件研究所, 北京 100190;2.中国科学院 深圳先进技术研究院, 深圳 518055;3.合肥工业大学 数学学院, 合肥 230601)
Method of LLVM-Based RISC-V Custom Extended Instructions Support
(1.Institute of Software, Chinese Academy of Sciences, Beijing 100190, China;2.Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences, Shenzhen 518055, China;3.School of Mathematics, Hefei University of Technology, Hefei 230601, China)
摘要
图/表
参考文献
相似文献
本文已被:浏览 1261次   下载 3279
Received:April 27, 2021    Revised:May 21, 2021
中文摘要: RISC-V指令集架构具有模块化、可扩展等特性. 基于RISC-V架构的处理器, 可以在整数指令集的基础之上, 有选择地支持官方标准指令集扩展, 以及非标准的用户自定义指令集扩展. 这也意味着, 对于每个新增的自定义扩展指令集, 用户都需要自己在编译工具链中实现相应支持. 通过分析LLVM编译框架, 研究RISC-V自定义扩展指令支持的通用方法, 并以玄铁C910自定义指令集为例进行实现和验证. 为基于LLVM基础架构的RISC-V自定义指令集扩展研究与实现提供借鉴.
中文关键词: LLVM  RISC-V  玄铁C910
Abstract:The RISC-V instruction set architecture features modularization and scalability. On the basis of the integer instruction set, the RISC-V architecture based processors can optionally support the official standard and non-standard custom instruction set extensions. This also means that, for each new custom extended instruction set, users need to implement corresponding support in the compiler toolchain. After analyzing the LLVM compilation framework and researching the general methods supporting RISC-V custom extended instructions, we conduct the implementation and verification with the XuanTie C910 custom instruction set as an example. The results can provide references for the research and implementation of RISC-V custom instruction set extension based on LLVM infrastructure.
keywords: LLVM  RISC-V  XuanTie C910
文章编号:     中图分类号:    文献标志码:
基金项目:中国科学院战略性先导科技专项(C类)(XDC05040200)
引用文本:
王鹏,陈影,邢明杰.基于LLVM的RISC-V自定义扩展指令支持方法.计算机系统应用,2021,30(11):20-26
WANG Peng,CHEN Ying,XING Ming-Jie.Method of LLVM-Based RISC-V Custom Extended Instructions Support.COMPUTER SYSTEMS APPLICATIONS,2021,30(11):20-26