首页> 外国专利> Method and apparatus for performing correctness checks opportunistically

Method and apparatus for performing correctness checks opportunistically

机译:机会地执行正确性检查的方法和设备

摘要

A method and an apparatus that enable spare instruction slots within a code module to be utilized opportunistically for insertion of instructions associated with correctness check functions. The apparatus comprises a compiler that generates code and an initial instruction schedule. During generation of the initial instruction schedule, the compiler ignores code sequences associated with correctness check functions. After the initial instruction schedule has been generated, the compiler examines the initial instruction schedule and determines locations of spare instruction slots in the initial instruction schedule that can potentially be utilized for insertion of the code sequences associated with the correctness checks. The code sequences associated with the correctness checks are then inserted into the instruction schedule to the extent that insertion of the code sequences does not lengthen the final instruction schedule. Consequently, no performance penalty is incurred at run time.
机译:一种使代码模块内的备用指令槽能够被机会利用以插入与正确性检查功能相关联的指令的方法和装置。该设备包括生成代码和初始指令调度表的编译器。在生成初始指令调度表的过程中,编译器将忽略与正确性检查功能关联的代码序列。在生成初始指令调度表之后,编译器检查初始指令调度表,并确定备用指令槽在初始指令调度表中的位置,该备用指令槽可潜在地用于插入与正确性检查相关联的代码序列。然后,将与正确性检查相关联的代码序列插入到指令表中,以使代码序列的插入不会延长最终的指令表。因此,在运行时不会造成性能损失。

著录项

  • 公开/公告号US6883166B1

    专利类型

  • 公开/公告日2005-04-19

    原文格式PDF

  • 申请/专利权人 CAROL L. THOMPSON;

    申请/专利号US20000717570

  • 发明设计人 CAROL L. THOMPSON;

    申请日2000-11-21

  • 分类号G06F9/45;

  • 国家 US

  • 入库时间 2022-08-21 22:20:23

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号