-
公开(公告)号:US20110112820A1
公开(公告)日:2011-05-12
申请号:US12614656
申请日:2009-11-09
申请人: Theodore J Bohizic , Reid Copeland , Ali Sheikh , Kirk A. Stewart
发明人: Theodore J Bohizic , Reid Copeland , Ali Sheikh , Kirk A. Stewart
IPC分类号: G06F9/455
摘要: Native code corresponding to an invalidated trace is re-used in a system emulator. A first trace is identified. A dropped second trace is identified. The dropped second trace is associated with a first native code for emulating the second trace. If the identified first trace corresponds to the dropped second trace, the first native code is associated to the first trace, and the first native code is executed. If the identified first trace does not correspond to the dropped second trace, a second native code for emulating the first trace is created, the second native code is associated with the first trace, and the second native code is executed.
摘要翻译: 对应于无效跟踪的本机代码在系统仿真器中重新使用。 第一个痕迹被识别。 确定了丢弃的第二个跟踪。 丢弃的第二个跟踪与用于模拟第二个跟踪的第一本地代码相关联。 如果所识别的第一个跟踪对应于丢弃的第二个跟踪,则第一本地代码与第一个跟踪关联,并且执行第一本地代码。 如果所识别的第一跟踪不对应于丢弃的第二跟踪,则创建用于模拟第一跟踪的第二本地代码,第二本地代码与第一跟踪相关联,并且执行第二本地代码。
-
公开(公告)号:US08612731B2
公开(公告)日:2013-12-17
申请号:US12614085
申请日:2009-11-06
申请人: Carlos Cavanna , Reid Copeland , Chad McIntyre , Ali Sheikh
发明人: Carlos Cavanna , Reid Copeland , Chad McIntyre , Ali Sheikh
IPC分类号: G06F9/00
CPC分类号: G06F9/3806 , G06F9/30058 , G06F9/3848 , G06F9/455 , G06F12/0875 , G06F2212/452
摘要: Branch instructions are managed in an emulation environment that is executing a program. A plurality of entries is populated in a branch target buffer that resides within an emulated environment in which the program is executing. Each of the entries comprises an instruction address and a target address of a branch instruction of the program. When an indirect branch instruction of the program is encountered a processor analyzes one of the entries in the branch target buffer to determine if the instruction address of the one entry is associated with a target address of the indirect branch instruction. If the instruction address of the one entry is associated with the target address of the indirect branch instruction a branch to the target address of the one entry is performed.
摘要翻译: 分支指令在正在执行程序的仿真环境中进行管理。 多个条目填充在驻留在程序正在执行的仿真环境中的分支目标缓冲器中。 每个条目包括程序的分支指令的指令地址和目标地址。 当遇到程序的间接分支指令时,处理器分析转移目标缓冲器中的一个条目以确定该条目的指令地址是否与间接分支指令的目标地址相关联。 如果一个条目的指令地址与间接分支指令的目标地址相关联,则执行到该条目的目标地址的分支。
-