发明授权
- 专利标题: Detecting reordered side-effects
- 专利标题(中): 检测重新排序的副作用
-
申请号: US09434394申请日: 1999-11-04
-
公开(公告)号: US07254806B1公开(公告)日: 2007-08-07
- 发明人: John S. Yates, Jr. , David L. Reese , Korbin S. Van Dyke , Paul H. Hohensee
- 申请人: John S. Yates, Jr. , David L. Reese , Korbin S. Van Dyke , Paul H. Hohensee
- 申请人地址: BB Hastings, Christ Church
- 专利权人: ATI International SRL
- 当前专利权人: ATI International SRL
- 当前专利权人地址: BB Hastings, Christ Church
- 代理机构: Willlkie Farr & Gallagher LLP
- 代理商 David E. Boundy
- 主分类号: G06F9/45
- IPC分类号: G06F9/45 ; G06F15/00
摘要:
A computer binary translator translates at least a segment of a binary representation of a program from a first instruction set architecture to a second instruction set architecture. A sequence of side-effects in the translation differs from a sequence of side-effects in the original. The translation distinguishes memory loads that are believed to be directed to well-behaved memory from memory loads that are believed to be directed to non-well-behaved memory device(s). Instruction execution circuitry identifies a memory reference that has a side-effect that has been reordered by translation, the memory reference having been believed at translation time to be directed to well-behaved memory but at execution it is found that the reference cannot be guaranteed to be well-behaved. The instruction execution circuitry identifies whether the difference in side-effect order may have a material effect on the execution of the program. A roll-back program state is established, and execution of the original code resumes.
信息查询