跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:1401.3041 (cs)
[提交于 2014年1月14日]

标题:Removing Dynamic Type Tests with Context-Driven Basic Block Versioning

作者:Maxime Chevalier-Boisvert, Marc Feeley
查看论文《Removing Dynamic Type Tests with Context-Driven Basic Block Versioning》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Dynamic typing is an important feature of dynamic programming languages. Primitive operators such as those for performing arithmetic and comparisons typically operate on a wide variety of in put value types, and as such, must internally implement some form of dynamic type dispatch and type checking. Removing such type tests is important for an efficient implementation. In this paper, we examine the effectiveness of a novel approach to reducing the number of dynamically executed type tests called context-driven basic block versioning. This simple technique clones and specializes basic blocks in such a way as to allow the compiler to accumulate type information while machine code is generated, without a separate type analysis pass. The accumulated information allows the removal of some redundant type tests, particularly in performance-critical paths. We have implemented intraprocedural context-driven basic block versioning in a JavaScript JIT compiler. For comparison, we have also implemented a classical flow-based type analysis operating on the same concrete types. Our results show that basic block versioning performs better on most benchmarks and removes a large fraction of type tests at the expense of a moderate code size increase. We believe that this technique offers a good tradeoff between implementation complexity and performance, and is suitable for integration in production JIT compilers.
评论: 22 pages, 10 figures
主题: 程序设计语言 (cs.PL); 性能 (cs.PF)
引用方式: arXiv:1401.3041 [cs.PL]
  (或者 arXiv:1401.3041v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1401.3041

提交历史

来自:Maxime Chevalier-Boisvert
[v1] 2014年1月14日 星期二 00:25:38 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2014-01
切换浏览方式为:
cs
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站