Compiler and processor for processing loops at high speed
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsShuichi Takayama, Nobuo Higaki, Nobuki Tominaga, Shinya Miyaji
Life of this patent
Estimating the term…
Loading patent…
AssigneeMatsushita Electric Industrial Co., Ltd.
InventorsShuichi Takayama, Nobuo Higaki, Nobuki Tominaga, Shinya Miyaji
Estimating the term…
A compiler comprises a loop detecting unit for extracting information of loops, and a high-speed loop applying unit generating a first loop exclusive instruction, placing the instruction immediately before the entry of a loop, generating second loop exclusive instructions, and placing the instruction at each place to branch to the entry of the loop. A processor comprises: a pipeline comprising: an instruction fetching unit, an instruction decoding unit, and an executing unit; a branch target storage unit; a branch target registering unit for, after the instruction decoding unit has decoded a first loop exclusive instruction, registering branch target information of an instruction succeeding to the first loop exclusive instruction in the branch target registering unit; and a branch executing unit for, after the decoding unit has decoded a second loop exclusive instruction, judging whether to execute a loop, if judges to execute, reading the branch target information registered in the branch target storage unit, and controlling the pipeline so that the program executes the loop using the read branch target information.
A compiler for compiling a source program and generating a program containing a machine-language instruction sequence for a processor, comprising:
A processor for executing a program containing a machine-language instruction sequence which includes certain instructions, namely a first loop exclusive instruction and a second loop exclusive instruction, comprising:
A processor for executing a program containing a machine-language instruction sequence which includes certain instructions, namely a first loop exclusive instruction and a second loop exclusive instruction, comprising:
A compiler for compiling a source program and generating a program containing a machine-language instruction sequence for a processor, comprising:
Dependencies are inferred from the claim text.