发明名称 Method for decoding sequences of guest instructions for a host computer
摘要 Emulator performance can be improved by recognizing repeated sequences of the same instruction, or commonly groups of instructions. For example, it is very common to see a three instruction sequence of MOVEM, UNLK A6, and RTS instructions for a 68020 processor in procedure exit code. By looking for these sequences, and combining the operations performed by the separate sequences, overhead of decoding and dispatching the individual instructions in the sequence can be eliminated, and performance improved. Common instruction sequences or repeated sequences in a guest program are detected during emulation of the guest program on a host processor, and performance of the emulation optimized based on the detected sequences. Thus, the emulation logic comprising host instructions embedded within a particular emulation program for a particular guest instruction, detects a particular sequence of guest instructions and in response to detection of the particular sequence bypasses the dispatch logic for guest instructions within the particular sequence. The sequences detected can comprise repeated guest instructions, or common sequences of two or more than two guest instructions.
申请公布号 US5623617(A) 申请公布日期 1997.04.22
申请号 US19950478426 申请日期 1995.06.07
申请人 APPLE COMPUTER, INC. 发明人 DAVIDIAN, GARY G.
分类号 G06F9/318;G06F9/455;(IPC1-7):G06F9/455 主分类号 G06F9/318
代理机构 代理人
主权项
地址