摘要 |
PROBLEM TO BE SOLVED: To provide a code generation technique which adapt a code to dynamically modified profile information in response to the modification of profile information. SOLUTION: System configuration information is obtained. In dependence on it, a load process and a store process are performed, where they are called LoadX and StoreX, respectively. On the other hand, normal load process and store process are called load and store, respectively. Accordingly, the invention assumes a system configuration for each compile unit. Under this assumption, a load/store instruction for finding access to the normal RAM/ROM is converted not into the LoadX/StoreX instruction into the normal load/store instruction. This brings an optimization effect to compiling. An execution code obtained above is systematically registered in a two-dimensional table with an start address of a guest and an index of system configuration information as a key. This allows an optimization code obtained by searching the table to be executed in execution. COPYRIGHT: (C)2010,JPO&INPIT
|