发明名称 Self initialized host cell spatially aware emulation of a computer instruction set
摘要 A plurality of Guest cells of Guest instructions are provided with corresponding Host cells for emulating Guest instructions, each Guest instruction having a Guest cell corresponding to a Host cell. Each of the Host cells are initialized with an initialization routine for discovering a corresponding semantic routine for emulating the Guest instruction. When an instruction is to be emulated for the first time, the initialization routine patches itself with the discovered semantic routine such that subsequent emulation of the Guest instruction can be directly performed.
申请公布号 US8768683(B2) 申请公布日期 2014.07.01
申请号 US201313866366 申请日期 2013.04.19
申请人 International Business Machines Corporation 发明人 Bohizic Theodore J;Copeland Reid T;Mitran Marcel;Sheikh Ali I
分类号 G06F9/455;G06F17/50;G06F13/10 主分类号 G06F9/455
代理机构 Cantor Colburn LLP 代理人 Cantor Colburn LLP ;Chiu Steven
主权项 1. A computer program product for emulating execution of Guest processor instructions on a Host processor, the computer program product comprising a non-transitory tangible storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: creating a cell association wherein each of n Guest cells of Guest addressable memory are associated with a corresponding Host cell of n Host cells of Host addressable memory, each of said n Guest cells corresponding to a beginning portion of a Guest instruction to be emulated, wherein each Guest cell is Guest cell is x bytes of memory, wherein each Host cell is y bytes of memory; initializing each Host cell associated with a first Guest cell of each Guest instruction with an initialization routine; responsive to the emulator determining that a Guest instruction is to be emulated, the emulator causing the corresponding Host cell to be executed comprising: responsive to the corresponding Host cell having the initialization routine, executing the initialization routine of the corresponding Host cell, the execution causing the Host processor to patch the initialized Host cell with a semantic routine for executing the corresponding Guest instruction of the first Guest cell; and responsive to the corresponding Host cell having the semantic routine, executing the semantic routine to perform the function of the Guest instruction.
地址 Armonk NY US