首页> 外文会议>International Conference on Embedded Systems and Applications >Identifying Multiply-Add Operations in Kylin Compiler
【24h】

Identifying Multiply-Add Operations in Kylin Compiler

机译:在Kylin编译器中识别乘法添加操作

获取原文

摘要

There has been a trend in the embedded microprocessor industry in which the Instruction Set Architecture of a processor includes multiply-add (MADD) instruction to offer potentially smaller code size and/or better performance for specific classes of numerical applications. To exploit the power of this instruction, compilers should be able to identify MADD opportunities and use general optimization techniques to generate code sequence with MADD instructions. This paper reports our MADD identify strategies implemented in the Kylin C compiler. We developed two MADD opportunity identification algorithms which are implemented in different phases of the Kylin compiler. One of this methods is implemented in the middle end based on a MADD super tree. The other method is implemented in the back end based on CGIR representation. Our strategies can process up to four MADD-candidate patterns. Therefore, it can identify almost all of the MADD opportunities. We also discuss the pros and cons of implementing the MADD identify strategy in two different phases of a compiler in terms of code size and performance.
机译:嵌入式微处理器行业具有趋势,其中处理器的指令集架构包括乘法添加(MADD)指令,为特定类别应用程序提供潜在较小的代码大小和/或更好的性能。为了利用本指令的权力,编译器应该能够识别MADD机会,并使用一般优化技术与MADD指令生成代码序列。本文报告了我们的MADD确定Kylin C编译器中实施的策略。我们开发了两个MADD机会识别算法,该算法在Kylin编译器的不同阶段实施。其中一个方法是在基于Madd Super树的中间端实现。基于CGIR表示,在后端实现其他方法。我们的策略可以加入最多四个Madd候选模式。因此,它可以识别几乎所有MADD机会。我们还讨论了在代码规模和性能方面,在编译器的两个不同阶段实施MADD标识策略的优缺点。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号