发明名称 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.
申请公布号 US6883166(B1) 申请公布日期 2005.04.19
申请号 US20000717570 申请日期 2000.11.21
申请人 HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. 发明人 THOMPSON CAROL L.
分类号 G06F9/45;G06F11/36;(IPC1-7):G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址