首页> 外文会议>International Symposium on Computing and Networking Workshops >Reduction of Instruction Increase Overhead by STRAIGHT Compiler
【24h】

Reduction of Instruction Increase Overhead by STRAIGHT Compiler

机译:通过STRAIGHT编译器减少指令增加开销

获取原文

摘要

It is effective to remove false dependencies to efficiently perform out-of-order (OoO) execution which improves single thread performance. Hardware register renaming removes these dependencies, but it is one of the bottlenecks of the processor because of its complexity. The use of a STRAIGHT architecture is one of the approaches that allow the compiler to remove these dependencies. Because the source operand is specified as the distance between the producer instruction and consumer instruction and there is no register overwriting, no false dependency occurs. Instead, the compiler must generate code that satisfies the constraint of specifying operands as constant distances that are not dependent on the execution path. Although the basic algorithms for realizing the constraint are already known, the machine code generated thereby cannot achieve high performance because it is necessary to execute many inter-register transfer instructions added by compiler to satisfy the constraints. This paper presents an efficient algorithm that uses data flow analysis to determine the value causing an increase in the number of executed instructions and improve the performance by spilling them on the stack. We developed a compiler that implements the proposed method using LLVM and evaluated using CoreMark as a benchmark. The number of executed instructions was reduced by approximately 31 %, and the execution performance improved by up to 32 %.
机译:删除错误的依赖关系以有效地执行无序(OoO)执行是有效的,这可以提高单线程性能。重命名硬件寄存器可以消除这些依赖性,但是由于其复杂性,它是处理器的瓶颈之一。使用STRAIGHT体系结构是允许编译器删除这些依赖项的方法之一。因为源操作数被指定为生产者指令和消费者指令之间的距离,并且没有寄存器覆盖,所以不会发生错误的依赖关系。而是,编译器必须生成满足以下条件的代码:将操作数指定为不依赖于执行路径的恒定距离。尽管已经知道用于实现约束的基本算法,但是由此生成的机器代码不能实现高性能,因为必须执行由编译器添加的许多寄存器间传送指令来满足约束。本文提出了一种有效的算法,该算法使用数据流分析来确定导致执行指令数量增加的值,并通过将其溢出到堆栈上来提高性能。我们开发了一种编译器,该编译器使用LLVM实现了所建议的方法,并使用CoreMark作为基准进行了评估。执行指令的数量减少了约31%,执行性能提高了多达32%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号