发明名称 Precise handling of exceptions during program code conversion
摘要 Precise exception handling relies on a precise subject state including an accurate program counter and register values of a subject processor. Subject code (17) is translated into target code (21) executable by a target processor (13). The generated target code (17) includes counterpart target instructions (214) associated with fault-vulnerable subject code instructions (174). Further, each of the counterpart target code instruction (214) is associated with recovery information (195). When an exception (e.g. a fault) occurs, the recovery information (195) is retrieved and used to recover a precise subject state, in particular by taking account of optimizations to generate the common-case target code (21). The precise subject state is then used to precisely handle the exception. Interupts to the target code execution may be handled by continuing execution until a target instruction, which corresponds to a potentially faulting subject instruction, and using the associated recovery information to handle the interrupt (figures 10 and 11).
申请公布号 GB2425372(A) 申请公布日期 2006.10.25
申请号 GB20050007943 申请日期 2005.04.20
申请人 TRANSITIVE LIMITED 发明人 GAVIN BARRACLOUGH;KIT MAN WAN;ABDUL RAHMAN HUMMAIDA
分类号 G06F9/318;G06F9/38;G06F9/455 主分类号 G06F9/318
代理机构 代理人
主权项
地址