Compiler device with branch instruction inserting unit
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsHajime Ogawa, Shuichi Takayama, Taketo Heishi, Nobuo Higaki
Life of this patent
Estimating the term…
Loading patent…
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsHajime Ogawa, Shuichi Takayama, Taketo Heishi, Nobuo Higaki
Estimating the term…
A compiler device includes a conditional-executable-instruction generation unit and a branch instruction insertion unit. The conditional-executable-instruction generation unit generates a conditional executable instruction that is executed when a condition that the conditional executable instruction refers to is satisfied. In the case where there is a section containing a non-executive condition under which no instruction is executed in one cycle or a plurality of cycles in series, the branch instruction insertion unit inserts a conditional branch instruction that refers to the non-executive condition and instructs to branch to a cycle immediately after a last cycle of the section, to after an instruction of a cycle immediately before a start of the section. Thus, a compiler device employing conditional executable instructions is provided that is capable of generating an assembler code that does not degrade the performance when the instructions are executed, even if a source program includes a branch instruction that causes a then part and an else part to be executed through unbalanced numbers of cycles, respectively.
A compiling device comprising:
A compiling program loaded in a computer and causing the computer to execute a computer implemented method, the method comprising:
Dependencies are inferred from the claim text.