基于LLVM的RISC-V自定义扩展指令支持方法  被引量:3

Method of LLVM-Based RISC-V Custom Extended Instructions Support

在线阅读下载全文

作  者:王鹏[1,2] 陈影[1,3] 邢明杰 WANG Peng;CHEN Ying;XING Ming-Jie(Institute of Software,Chinese Academy of Sciences,Beijing 100190,China;Shenzhen Institute of Advanced Technology,Chinese Academy of Sciences,Shenzhen 518055,China;School of Mathematics,Hefei University of Technology,Hefei 230601,China)

机构地区:[1]中国科学院软件研究所,北京100190 [2]中国科学院深圳先进技术研究院,深圳518055 [3]合肥工业大学数学学院,合肥230601

出  处:《计算机系统应用》2021年第11期20-26,共7页Computer Systems & Applications

基  金:中国科学院战略性先导科技专项(C类)(XDC05040200)。

摘  要:RISC-V指令集架构具有模块化、可扩展等特性.基于RISC-V架构的处理器,可以在整数指令集的基础之上,有选择地支持官方标准指令集扩展,以及非标准的用户自定义指令集扩展.这也意味着,对于每个新增的自定义扩展指令集,用户都需要自己在编译工具链中实现相应支持.通过分析LLVM编译框架,研究RISC-V自定义扩展指令支持的通用方法,并以玄铁C910自定义指令集为例进行实现和验证.为基于LLVM基础架构的RISC-V自定义指令集扩展研究与实现提供借鉴.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.

关 键 词:LLVM RISC-V 玄铁C910 

分 类 号:TP332[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象