Patent ID: 7251811

Claim:
A machine-readable medium selected from the group consisting of a memory, a read only memory (ROM), a random access memory (RAM), a magnetic disk storage media, an optical storage media, and a flash memory device, that provides instructions, which when executed by a machine, cause the machine to perform operations comprising: receiving a binary of a program code, the binary based on a first instruction set architecture; checking one or more settable compatibility controls defined on top of a second instruction set architecture that have been set by a program environment, wherein the one or more settable compatibility controls indicate a compatibility with which the binary is to be translated; and translating the binary to a translated binary based on the one or more settable compatibility controls, wherein the translated binary is based at least in part on the second instruction set architecture, and wherein the translating is performed without fully preserving program semantics of the binary by deviating from the program semantics of the binary in exchange for improved execution performance of the translated binary according to the one or more settable compatibility controls.