摘要 |
A method for compiling a source code listing (50) into an object code listing comprises the steps of: extracting a block of source code statements from a source code listing (58, 64); mapping each source code statement in the block into a wide intermediate code (WIC) statement in object form (60, 66); performing an initial approximate simulation of each WIC statement and the block (76) and statements (78); dependent upon the performance results, revising the WIC statements in the block (94) in accordance with one of a group of code transform algorithms and heuristics in an attempt to improve the code's performance results; repeating the simulation and if the performance results have been improved, proceeding to another algorithm to enable further revision of the WIC statements, until a decision point (96) is reached, and then producing the revised WIC statements in object form. |