发明名称 Method and apparatus for preserving precise exceptions in binary translated code
摘要 The present invention provides a system and method for determining the cause of an exception and for reliably handling precise exceptions in a computer system that executes a plurality of operations in parallel. Binary compilation techniques are used to port code from a foreign architecture to a host architecture but in order to exploit the parallelism of the host processor architecture in binary translated code, the code must optimized by extracting the inherent parallelism of the foreign code while maintaining precise exceptions. Because the optimization process violates precise exception order, the host computer system uses a speculative mode of execution whereby the host computer system puts a speculative value into the destination register. To denote that a speculative value is stored in the register, an additional bit is associated with every host register to indicate that the operand is speculative. It is only after the speculative value is consumed by an operation in non-speculative mode, that a real exception will be invoked. The method and apparatus of the present invention further preserves the data and conditions that gave rise to the exception. The present invention minimizes the time to recover from an exception by minimizing the side effects that must be handled to recover from exceptions but extracts performance improvements associated with executing operations in parallel while achieving precise exception maintenance.
申请公布号 US2002092002(A1) 申请公布日期 2002.07.11
申请号 US20010838552 申请日期 2001.04.18
申请人 BABAIAN BORIS A.;YAKUSHEV ANDREW V.;ROZHKOV SERGEY A.;GUSHCHIN VLADIMIR M. 发明人 BABAIAN BORIS A.;YAKUSHEV ANDREW V.;ROZHKOV SERGEY A.;GUSHCHIN VLADIMIR M.
分类号 G06F9/455;G06F12/10;(IPC1-7):G06F9/44 主分类号 G06F9/455
代理机构 代理人
主权项
地址