Patent ID: 7904893
Filing Date: 2011-03-08
Classification: G06F

Abstract:
1. A method comprising: receiving a plurality of non-native instructions in a selected one of a source form and an intermediate form; determining an initial number of times to interpretively execute the plurality of non-native instructions; interpretively executing the plurality of non-native instructions the initial number of times; monitoring execution of the plurality of non-native instructions to determine when the plurality of non-native instructions have been interpretively executed the initial number of times; compiling the plurality of non-native instructions to generate object code for the non-native instructions only after interpretively executing the plurality of non-native instructions the initial number of times, wherein compiling the plurality of non-native instructions includes replacing an object code segment from the generated object code with an alternative object code segment if the alternative object code segment improves at least a selected one of an execution power level required and an execution energy level required to execute the generated object code in a target execution environment.