Program optimization
AssigneeInternational Business Machines Corporation
InventorsTatsushi Inagaki, Hideaki Komatsu
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsTatsushi Inagaki, Hideaki Komatsu
Estimating the term…
The present invention optimizes program execution by reducing previous restrictions for an exception generative instruction for another instruction, so that the parallelisms of the instructions of a program, including exception generative instructions, can be effectively obtained. Preferably, the novel compiler comprises: a DAG (directed acyclic graph) generator for analyzing quadruple intermediate code in a target program and for generating a DAG; a DAG editing unit for editing the DAG and for reducing for the operators order restrictions due to the occurrence of an exception; and a quadruple intermediate code reproduction unit for generating quadruple intermediate code which reflects the structure of the obtained DAG. An exception generative instruction and an exception generation detection instruction are thus detected. The exception generation detection instruction is divided into a first instruction, which detects the exception occurrence condition, and a second instruction, which branches the process for the exception process. A dependency is set among the instructions, so that the process is shifted from the first instruction to the second instruction when the exception occurrence condition is detected, or so that the process is shifted from the first instruction to the exception generative instruction when the exception occurrence condition is not detected.
A program optimization method for converting program source code written in a programming language into machine language comprising the steps of:
A compiler for converting the source code for a program written in a programming language into machine language and for optimizing said program comprising:
A compiler for converting the source code for a program written in a programming language into machine language and for optimizing the program comprising:
A computer system comprising:
A storage medium on which input means of a computer stores a computer-readable program that permits said computer to perform:
A program transmission apparatus comprising:
Dependencies are inferred from the claim text.