Compiler
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorMasaitsu Nakajima
Life of this patent
Estimating the term…
Loading patent…
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorMasaitsu Nakajima
Estimating the term…
A compiler is adapted to minimize the ultimate code size of an object program that has been translated from a source program including a plurality of instructions. The compiler includes first instruction length calculator for calculating a total length of the instructions where variables for the source program are allocated to a first type of register resources in accordance with a first instruction format and second instruction length calculator for calculating a total length of the instructions where the variables are allocated to a second type of register resources in accordance with a second instruction format. The length of one instruction defined by the second instruction format is different from that defined by the first instruction format. The variables are allocated to respectively appropriate ones of the register resources based on the results of calculation derived by the first and second instruction length calculators.
A compiler for translating a source program, including a plurality of instructions, into an object program, the compiler comprising:
A system for minimizing the code size of an object program executable on a computer, the object program having been translated from a source program using a compiler, the source program including a plurality of instructions, the compiler comprising:
A computer-readable storage medium having stored thereon an object program that has been translated using a compiler from a source program including a plurality of instructions,
Dependencies are inferred from the claim text.