摘要 |
To provide a compiler apparatus which makes it easy to describe arithmetic operations in source programs, makes it simple to write source programs, and reduces bugs, when performing block floating-point operations in software. When the compiler apparatus is fed a source program containing computing expressions written using block floating variables, it detects computing expressions for addition in the source program, expands that part of the detected computing expressions which involves addition into instruction codes which specify addition for data blocks corresponding to a plurality of block floating variables to be subjected to addition, embeds the instruction codes in the object program to be generated, and outputs the object program.
|