首页> 外文会议>International Conference on Information, Communications and Signal Processing >EM-code optimization algorithm using tree pattern matching
【24h】

EM-code optimization algorithm using tree pattern matching

机译:使用树模式匹配的EM代码优化算法

获取原文

摘要

The ACK intermediate code optimizer generates a good code through performing a peephole optimization over the EM intermediate code. The peephole optimization is very cost efficient and should use a string pattern matching algorithm to find the optimization pattern corresponding to the EM intermediate code when it is in the optimization. The authors have designed and implemented a tree pattern matching algorithm for more efficient optimization by improving the string pattern matching method of the ACK intermediate code optimizer. For this, an appropriate EM tree is constructed to the tree pattern matching of the EM code with a sequential structure from the front end of the ACK. Also, the pattern described in the optimization pattern table and the replacement should be reconstructed as a tree structure. The tree pattern matching optimizer conducting an optimization in real-time, applies a tree pattern matching algorithm in order to find an optimization pattern more efficiently while it circulates in the top-down method. Thus the tree pattern matching method requires a searching time to find an optimization pattern that is less than the string pattern matching method of ACK.
机译:ACK中间代码优化器通过在EM中间代码上执行PeEphole优化来生成良好的代码。 Peephole优化非常有效,并且应该使用字符串模式匹配算法在优化时找到与EM中间代码对应的优化模式。作者已经设计和实现了一种树形模式匹配算法,通过改进ACK中间代码优化器的字符串模式匹配方法来更有效优化。为此,适当的EM树被构造成与来自ACK的前端的顺序结构的EM代码的树模式匹配。而且,应将优化模式表和替换中描述的模式作为树结构重建。树模式匹配优化器实时进行优化,适用树模式匹配算法,以便在自上而下方法中循环时更有效地找到优化模式。因此,树形模式匹配方法需要搜索时间来找到小于ACK的串模式匹配方法的优化模式。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号