Method and apparatus for generating multiple processor-specific code segments in a single executable
AssigneeIntel Corporation
InventorsZia Ansari, Kevin B. Smith, Seth Abraham
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorsZia Ansari, Kevin B. Smith, Seth Abraham
Estimating the term…
A computer-implemented method analyzes a source code segment which is to be compiled for execution by any one of several different processor types. The method determines whether a performance advantage would be achieved by generating a customized version of object code that can be executed by one of the processor types compared with generating a non-customized version. If a performance advantage would be achieved, the method generates at least one customized object code version and a non-customized version for the source code segment, and it generates a control section that causes one of the object code versions to be called during execution of the object code in accordance with an executing processor's processor type. If no performance advantage would be achieved, the method generates a non-customized version of the object code that can be executed by any of the different processor types.
A computer-implemented method to be performed by a compiler comprising:
A machine-readable medium having stored thereon a plurality of instructions, designed to be executed by a processor, for implementing a function for,
A method comprising:
A processor executing a compiler program comprising the operations of:
A computer-readable medium containing computer instructions for instructing a processor, the instructions comprising:
Dependencies are inferred from the claim text.