首页> 外文会议>IEEE/ACM International Symposium on Code Generation and Optimization >Super-Node SLP: Optimized Vectorization for Code Sequences Containing Operators and Their Inverse Elements
【24h】

Super-Node SLP: Optimized Vectorization for Code Sequences Containing Operators and Their Inverse Elements

机译:超节点SLP:针对包含运算符及其逆元素的代码序列的优化矢量化

获取原文

摘要

SLP Auto-vectorization converts straight-line code into vector code. It scans input code for groups of instructions that can be combined into vectors and replaces them with their corresponding vector instructions. This work introduces Super-Node SLP (SN-SLP), a new SLP-style algorithm, optimized for expressions that include a commutative operator (such as addition) and its corresponding inverse element (subtraction). SN-SLP uses the algebraic properties of commutative operators and their inverse elements to enable additional transformations that extend auto-vectorization to cases difficult for state-of-the-art auto-vectorizing compilers. We implemented SN-SLP in LLVM. Our evaluation on a real system demonstrates considerable performance improvements of benchmark code with no significant change in compilation time.
机译:SLP自动矢量化将直线代码转换为矢量代码。它扫描输入代码以查找可组合为向量的指令组,并将其替换为其相应的向量指令。这项工作介绍了超节点SLP(SN-SLP),这是一种新的SLP样式算法,针对包含可交换运算符(例如加法)及其对应的逆元素(减法)的表达式进行了优化。 SN-SLP利用可交换运算符及其逆元素的代数性质来实现其他转换,从而将自动矢量化扩展到最先进的自动矢量化编译器所难以解决的情况。我们在LLVM中实现了SN-SLP。我们在真实系统上的评估表明,基准代码的性能得到了显着提高,而编译时间没有明显变化。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号