屈秋雯, 梁利平. 基于LLVM的指令并行调度与实现[J]. 微电子学与计算机, 2013, 30(11): 60-63.
引用本文: 屈秋雯, 梁利平. 基于LLVM的指令并行调度与实现[J]. 微电子学与计算机, 2013, 30(11): 60-63.
QU Qiu-wen, LIANG Li-ping. Instruction Parallel Scheduling and Implementation Based on LLVM[J]. Microelectronics & Computer, 2013, 30(11): 60-63.
Citation: QU Qiu-wen, LIANG Li-ping. Instruction Parallel Scheduling and Implementation Based on LLVM[J]. Microelectronics & Computer, 2013, 30(11): 60-63.

基于LLVM的指令并行调度与实现

Instruction Parallel Scheduling and Implementation Based on LLVM

  • 摘要: IME-Diamond处理器是一款VLIW结构的多核处理器,具有多个通道,可并行执行多条指令。为了充分利用多通道并行执行的特性,IME-Diamond处理器需要编译器提供并行度信息来实现指令并行。开源的LLVM 编译器架构为编译器的移植和优化提供了一个便利的平台。在此平台上可以配置和插入相应的Pass模块对指令进行分析与静态调度,并根据分析结果插入Paralink指令来显式的指示出指令的并行度,指导硬件并行发射。实验结果表明,通过并行调度后,生成代码的性能提升了16%~30%。

     

    Abstract: IME-Diamond is multi-core processor based on VLIW (Very Long Instruction Word) and has multichannel to support instruction parallelism.To make full use of the character of IME-Diamond,compiler needed to provide information of parallelism.Low Level Virtual Machine (LLVM) is an open source compiler infrastructure which provides a convenient platform to transplant and optimize compiler.The Pass module can be inserted to implement instruction analysis and static scheduling.Paralink is a particular instruction in IME-Diamond that can be generated according to the result of analysis. Compared to the code before scheduling,the performances have developed 16%~30%.

     

/

返回文章
返回