Patent ID: 7386844
Filing Date: 2008-06-10
Classification: G06F,Y02D

Abstract:
1. A computer-readable storage medium encoded with a compiler apparatus for generating a machine language program for a processor, the processor including a plurality of instruction issue units and a plurality of corresponding execution units, each instruction issue unit issuing instructions to a corresponding execution unit, and each instruction issue unit including instruction registers for storing the instructions issued to the corresponding execution unit, the compiler apparatus comprising: a parser unit operable to parse a source program by extracting, from the source program, a reserved word stored in a storage unit and by carrying out a lexical analysis of the source program; an intermediate code conversion unit operable to receive the parsed source program and convert each statement included in the parsed source program into intermediate codes according to a predetermined rule stored in the storage unit, the intermediate codes including instructions; an optimization unit operable to receive the intermediate codes and optimize scheduling of the instructions of the intermediate codes by: a code generation unit operable to receive the optimized intermediate codes and convert the optimized intermediate codes into machine language instructions according to a conversion table stored in the storage unit.