Compiling method, apparatus, and program
AssigneeInternational Business Machines Corporation
InventorsKauaki Ishizaki, Tatshushi Inagaki, Hideaki Komatsu
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsKauaki Ishizaki, Tatshushi Inagaki, Hideaki Komatsu
Estimating the term…
In compiling a program written in a type-safe language, instructions are reordered for speculative execution while reducing the execution time of the program, with respect to an exception dependency between an instruction (H-PEI) that can cause the program to unusually terminate due to a hardware exception and an exception check instruction (S-PEI) inserted in the program before the H-PEI for ensuring that the program does not terminate unusually. A dependency graph is generated wherein exception dependent arcs are discriminated from arcs of other dependency types. Determination is made whether earliest execution start time of the H-PEI will be earlier when executed with a constraint by the exception dependent arc or will be earlier when executed without a constraint by the exception dependent arc. If it is determined that it will be earlier in the latter case, the instruction sequence including the H-PEI is reordered for speculative execution.
A compiling method comprising the steps of:
A compiling apparatus comprising:
A compiling program for causing a computer to execute the steps of:
Dependencies are inferred from the claim text.