...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >A functional macro expansion system for optimizing code generation: gaining context-sensitivity without losing confluence
【24h】

A functional macro expansion system for optimizing code generation: gaining context-sensitivity without losing confluence

机译:用于优化代码生成的功能宏扩展系统:在不失去融合的情况下获得上下文相关性

获取原文
获取原文并翻译 | 示例

摘要

As the machine-specific macro assembles offer little support for hierarchical program abstraction, they are rather weak code-generator writing tools: reusable optimized code libraries cannot be easily constructed. The underlying reasson is the locak of modularity For instance, if some assembly macro M uses some register R as a temporary data storage, the programmer has to be most cautious when calling M: the macro expander is not able to issue a warning that the value possibly already stored in R will be lost during the execution of M. Clearly, this problem cannot be solved without context-sensitive macros.
机译:由于特定于机器的宏程序集几乎不支持分层程序抽象,因此它们是相当弱的代码生成器编写工具:可重用的优化代码库不易构建。根本原因是模块化的局面。例如,如果某个程序集宏M使用某些寄存器R作为临时数据存储,则程序员在调用M时必须非常谨慎:宏扩展器无法发出警告该值在执行M时,可能已经存储在R中的数据将丢失。显然,如果没有上下文相关的宏,则无法解决此问题。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号