摘要 |
PROBLEM TO BE SOLVED: To provide a compilation method for reducing an execution code size and improving an execution speed of a program by attaining loading of variables all at a time and batch processing. SOLUTION: It is judged whether a batch processing can be performed on each of sentences of a program to be compiled by an instruction provided in a CPU (step 206). When a plurality of variables used in the sentence are put in consecutive memory regions and a sum of the sizes thereof is not more than a register size, all values of the plurality of variables are loaded at a time on an identical register and an execution code for performing batch processing on the values on the register is generated (step 207). In other cases, a normal execution code is generated (step 208).
|