Patent ID: 6502237
Filing Date: 2002-12-31
Classification: G06F

Abstract:
A method executed in a computer system for performing binary translation of a first binary image portion associated with a first computer architecture having a first instruction set to a second binary image portion associated with a second computer architecture having a second instruction set, the method comprising the steps of:producing an initial intermediate representation of the first binary image portion, elements of the first intermediate representation corresponding to instructions in the first binary image portion; translating, in accordance with profile execution information produced from a runtime execution of the first binary image portion by a runtime interpreter, the initial intermediate representation into a subsequent intermediate representation with elements of the subsequent intermediate representation corresponding to instructions in the second instructions et, said profile execution information characterizing said runtime execution of said first binary image, said translating step including optimizing the initial intermediate representation, optimization and translation substeps being intermixed to produce the subsequent intermediate representation; and generating the second binary image portion using the subsequent intermediate representation, the second binary image including instructions corresponding to elements in the subsequent intermediate representation.