Instruction pipeline microprocessor.
Abstract
An instruction pipeline type microprocessor comprises an operation execution section consisting of a first operation execution section (10) for executing instructions having no memory operand, a second operation execution section (11) for executing instructions having memory operand respectively, and a third operation execution section (12) for executing floating point instructions, and a general purpose register (8′) consisting of a second register group for storing data processed as a result executed by the operation execution section (10) in the form of flow of programs and a first register group for storing processed data as the result of a lock-forward execution of instructions which can be processed by the operation execution section(10) and compare and decision means for determining whether or not succeeding instructions have been executed by jumping preceding instructions is made and for sending processed data held in the first register group to the second register group so as to be exchanged along a program flow in accordance with the result of the determination.

Term
Term ended
Projected expiry passed 11 August 2009, 17.1 years ago.
- Priority
- Filed
- Published
- Projected expiry
- Today
4 claims: 1 independent, 3 dependent
- 1An instruction pipeline type microprocessor, comprising:(a) a plurality of operation execution sections for executing a plurality of decoded different kinds of instructions simultaneously in accordance with the different kinds of instructions;(b) a first storing means for storing processed data as a result of having in look-forward manner executed instructions capable of processing by said plurality of operation execution sections;(c) a second storing means for storing the processed data as a result of one executed by said operation execution sections in the form along a predetermined program flow;and (d) a compare and decision means for determining whether or not succeeding instructions are executed by jumping preceding instructions among instructions successively issued and decoded along the predetermined program flow and for sending the processed data stored in said first storing means to said second storing means so as to be replaced in the form along the predetermined program flow, whereby processable succeeding instructions can be executed in a look-forward manner.
38 paragraphs in 4 sections, as filed
BACKGROUND OF THE INVENTION
Field of the Invention
0001The present invention relates to an instruction parallel execution type microprocessor, more particularly to an instruction pipeline type microprocessor capable of rapidly executing instructions.
Description of the Prior Art
0002In the instruction pipeline type microprocessor according to the prior art, a particular register or registers are used in order to perform an operand address calculation in such as an ADD instruction. However, as the content of the register is modified by a previous instruction such as a TRANSFER instruction, the ADD instruction can not be shifted to an operand address calculation stage before a write stage to a general purpose register is terminated, thus delaying the processing of the instruction.
0003Namely, Fig. 2 shows an outline construction of the instruction pipeline type microporcessor according to the prior art.
0004In Fig. 2, reference numeral 1 indicates a bus control section (BCU) for connecting a microprocessor P to an external circuit, numeral 2 indicates an instruction fetch section (IFU), 3 indicates a decoder (DEC) for decoding instructions, 4 an operand address calculation section (OAG), 5 an address translation section (AT) for converting a logical address into a physical address, 6 an operand fetch section (0PF) for fetching an operand, 7 an operation execution section (EXU) for executing instructions, 8 general purpose register group (GR) consisting of a plurality of registers R₁, R₂, R₃, R₄, ... (not indicated).
0005When machine instructions shown in Fig. 1 are executed by the microprocessor P shown in Fig. 2 for instance, the timing of the instruction pipeline processing becomes the one shown in Fig. 3. As shown in Figs. 1 and 3, supposing that a₁ is an instruction which transfers the content of an address A to the register R₁ (not indicated) in GR₈, a₂ is an instruction which transfers data in the register R₃ in GR₈ to the register R₂, a₃ is an ADD instruction which transfers the content of an address B which is modified by the register R₂ to the register R₄, and a₄ is an instruction which transfers data in the register R₂ to a memory indicated by address C, the content of the register R₂ is used by the instruction a₃ in order to perform an operand address calculation. However, the content of the register R₂ is modified by the instruction a₂. As a result, the instruction a₃ can not move to OAG₄ until the transfer of the instruction a₂ to GR₈ is terminated, thus delaying the processing of the instruction a₃.
0006Since the operation execution section and the general purpose register group in the microprocessor according to the prior art are not duplicated, succeeding instructions can not be executed only after the instructions for updating the general purpose register group GR₈ have been completely executed.
0007Accordingly, the merits of the pipeline system can not be demonstrated due to stagnation of the processing flow in the instruction pipeline type microprocessors according to the prior art.
SUMMARY OF THE INVENTION
0009It is therefore an object of the present invention to provide an instruction pipeline type microprocessor in which succeeding instructions can be in a look-forward manner executed without waiting for the result of the execution of preceding instructions.
0010For the purpose of achieving the above object, the feature of the present invention resides in an instruction pipeline type microprocessor which comprises an operation execution section consisting of a first operation execution section for executing instructions having no memory operand, a second operation execution section for executing instructions having memory operand respectively, and a third operation execution section for executing floating point instructions, and a general purpose register consisting of a second register group for storing data processed as a result executed by the operation execution section in the form of flow of programs and a first register group for storing processed data as the result of a look-forward execution of instructions which can be processed by the operation execution section and compare and decision means for determining whether or not succeeding instructions have been executed by jumping preceding instructions is made and for sending processed data held in the first register group to the second register group so as to be exchanged along a program flow in accordance with the result of the determination.
0011Namely, the operation execution section is duplicated while the construction of the general purpose register group is duplicated by the second register group for storing processed data along the flow of the programs and a first register group for storing the processed data as a result which has been a look-forward manner executed about processable instructions, whereby succeeding instructions are a look-forward manner executed without waiting for the execution result of the preceding instructions by updating data in the general purpose register group in order that the processed data in the first register group can be formed along the program flow, thus increasing the performance of the microprocessor.
0012These and other objects, features and advantages of the present invention will be more apparent from the following description of a preferred embodiment, taken in conjunction with the accompanying drawings.
FIRST DESCRIPTION OF THE DRAWINGS
0013<ul id="ul0001" list-style="none"><li>Fig. 1 is one example of a program for clarifying problems which the microprocessors according to the prior art have,</li><li>Fig. 2 is the construction of the microprocessor of the instruction pipeline type according to the prior art,</li><li>Fig. 3 illustrates a flow of instruction processing in the microprocessor shown in Fig. 2,</li><li>Fig. 4 is a basic construction of the instruction pipeline type microprocessor according to the present invention,</li><li>Fig. 5 illustrates a flow of instruction processing in each section constituting the microprocessor shown in Fig. 4,</li><li>Fig. 6 is a detailed construction of the operation execution section and the general purpose register group shown in Fig. 4,</li><li>Fig. 7 illustrates a format of each instruction register shown in Fig. 6, and</li><li>Fig. 8 illustrates an input format of the register group FGR for storing the result of the instructions in the general purpose registers, processed in a look-forward manner.</li></ul>
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
0015Fig. 4 shows a principle construction of the instruction pipeline type microprocessor according to the present invention.
0016In the figure, same constructing elements as those shown in Fig. 2 are indicated by the same reference numerals. The instruction pipeline type microprocessor comprises an operation execution section consisting of a first operation execution (SEP) 10 for executing instructions having no memory operand respectively, a second operation execution section (IEP) 11 for executing instructions having memory operand respectively, and a third operation execution section (FEP) 12 for executing floating point instructions. In addition, reference numeral 13 indicates an instruction sending section for sending decoded instructions to each operation section and numeral 14 indicates a floating point register.
0017In the microprocessor according to the present invention shown in Fig. 4, the pipeline instructions shown in Fig. 4 are executed in a manner shown in Fig. 5. Namely, each instruction is fetched and processed for every clock; Instruction a₂ having a memory operand is processed in the order from the instruction fetch section 2 → the decoder 3 → the instruction issue section 13 → the operand address section 4 → the address translation section 5 → the operand fetch section 6 to the second operation execution section 11.
0018Instruction a₂ having no memory operand but only a register operand is processed in the order from the instruction fetch section 2 → the decoder 3 → the instruction issue section 13 to the first operation execution section 10.
0019As shown in Fig. 5, since the executions of the instructions a₂ and a₁ are terminated at the fifth and sixth clocks respectively, it is necessary to avoid discrepancy between the data in the general purpose register group 8′ and the program flow. To this end, the general purpose register group 8′ comprises register group for holding resulting data program-processed which will be described later and register group for temporarily holding the execution result of instruction in the look-forward manner, i.e., the two register groups are duplicated.
0020In Fig. 6, the first operation execution section 10 comprises a first operator 20 and a first instruction register 21, the second operation execution section 11 comprises a second operator 22 and a second instruction register 23, and the third operation execution section 12 comprises a third operator 24 and a third instruction register 25. Each of the instruction registers 21, 23, and 25 has an instruction format shown in Fig. 7.
0021That is to say, in Fig. 7, OP indicates an operational function designation field of the associated operators, SR indicates a source register designation field, DR a destination register field, SA/ID a source operand address or immediate data holding field, DA a destination operand address holding field, and PC an address holding field of an instruction in execution.
0022Returning to Fig. 6, the general purpose register group 8′ is divided into a register group CGR<sub>i</sub> (i= 1,2, 3, ... n) for storing data as a result processed in accordance with a program and a register group FGR<sub>i</sub> (i = 1, 2, 3, ... n). Moreover, in Fig. 6, reference numeral 30 indicates an instruction address compare section, which is included in the general purpose register 8′.
0023In Fig. 8, there is shown a detailed format of the register group FGR which is consisted of three tag portions F, I, S each consisting of three bits and a data holding portion FGRi for holding each data.
0024Now, turning back to Fig. 6, each PC field of the instruction registers 21, 23, 25 is applied to the instruction address compare section 30 in order to determine whether or not a succeeding instruction is being executed by jumping a preceding instruction, for the comparisons of each PC field.
0025From the result of the comparison, when the PC field of the first instruction register 21 is not minimum "1" output signal is produced from the output C₁ of the compare section and when the PC field of the second instruction register 23 is not minimum, "1" output signal is produced from the output C₂ thereof, while when the DC field of the instruction register 25 is not minimum, "1" output signal is produced from the output C₃ thereof.
0026Furthermore, when the address PC of the instruction register in the operator which has executed an instruction is not minimum, "1" output signal (FGR WRITE signal) is produced from the output C₄ of the address compare section 30, while when the address PC of the instruction register is minimum, "1" output signal (CGR WRITE signal) is produced from the output C₅ of the compare section 30.
0027When the operation in each operator is terminated, the tag S in the register FGR is set at "1" when C₄=1, C₁=1, and the I tag is set at "1" when C₂=1, while the F tag is set at "1" when C₃=1.
0028The operation result from each of the operators 20, 22, and 24 are stored in the data holding section FGRi designated by the DR field of each of the instruction registers 21, 23, 25.
0029When the operation of each of the operators 20, 22, and 24 is terminated, the result of each operation is stored in the data holding section FGR<sub>i</sub> and CGR<sub>i</sub>, designated by the DR field of each instruction register subject to C₄=0, C₅=1. The data in another FGR<sub>i</sub> in which any one of the tags F, I, and S has been set up, is designated in the corresponding CGR<sub>i</sub>.
0030Accordingly, as shown in Fig. 5, in operation, the PC field of the first instruction register 21 shown in Fig. 3, contains the address of the instruction a₂ at the fifth clock at which time the instruction a₂ is to be executed and the PC field of the second instruction register 23 contains the instruction a₁. However, since an instruction has not been sent to the PC field of the third instruction register 25 from the instruction sending section 13, its PC field contains no address. As a result, no instruction is executed in the third operation execution section 12.
0031On the other hand, since the first instruction register 21 contains the instruction a₂ and the address PC field thereof is larger than that of the instruction a₁, C₁=1 is established and the result of the operation is written into FGR₂ while the tag S is set at "1".
0032The instruction a₁ is executed in the second operator 11 in the sixth clock. In this case, however, as the instruction register 21 in the first operator 10 contains no instruction because the instruction a₂ has already been executed therein, no action is performed. Accordingly, since C₄=0, C₅=1, the result of the operation of the instruction a₁ is stored in the CGR₁ and FGR₁, while the data in FGR₂ in which the tag S₁ has been set at "1" is now transferred to CGR₂ and is stored for a later use as data processed along the program flow.
0033As will be appreciated from the above description, the data necessary for the calculation of the effective address of the next instruction a₃ can be picked up from the FGR₂ (which corresponds to the register R₂) at the termination of the fifth clock. As a result, the instruction a₃ can be moved to the effective address calculation section 4 immediately.
0034Accordingly, unlike the microprocessors of this type according to the prior art, in the instruction pipeline type microprocessor according to the present invention, a sequential program processing in such that the instruction a₃ is processed only after the instructions a₁ and a₂ have been executed, is not required in the present invention.
0035As has been described in the foregoing, in the instruction pipeline type microprocessor according to the present invention, the operation execution section is duplicated so as to execute a plurality of instructions simultaneously, while the general purpose register group is also divided into a second register group for storing data processed along the program flow and a first register group for storing data as a result of having in look-forward manner executed a succeeding instruction.
0036In the instruction pipeline type microprocessor according to the present invention, there is also provided a compare and decision means whereby a decision is made whether or not the succeeding instruction is being executed by jumping the preceding instructions and the processed data which have been held in the first register group are sent to the second register group so as to replace them in the form along the program flow in accordance with the result of the decision.
0037Since succeeding instructions can be in look-forward manner executed without waiting for the result of the execution of the preceding instructions, the performance of the microprocessor of the instruction pipeline type according to the present invention can be strikingly improved.
0038Various modification will become possible for those skilled in the art after receiving the teachings of the present disclosure without departing from the scope thereof.
Contents4
7 sheets
Sheet 1 Sheet 2 Sheet 3 Sheet 4 Sheet 5 Sheet 6 Sheet 7
Every citation, both ways
| Document | Relation | Office | Cited during |
|---|---|---|---|
| US6101594A | Cited by | United States of America | Search report |
| US6915412B2 | Cited by | United States of America | Applicant |
| WO9301545A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| US6128723A | Cited by | United States of America | Search report |
| US6948052B2 | Cited by | United States of America | Applicant |
| US7000097B2 | Cited by | United States of America | Applicant |
| EP0886209A2 | Cited by | European Patent Office (EPO) | Search report |
| US5448705A | Cited by | United States of America | Search report |
| KR100325175B1 | Cited by | Republic of Korea | Examiner |
| US5560032A | Cited by | United States of America | Search report |
| US6038653A | Cited by | United States of America | Search report |
| US6954847B2 | Cited by | United States of America | Applicant |
| US6038654A | Cited by | United States of America | Search report |
| US5961629A | Cited by | United States of America | Search report |
| US7162610B2 | Cited by | United States of America | Applicant |
| EP0886209A3 | Cited by | European Patent Office (EPO) | Search report |
| US5367694A | Cited by | United States of America | Search report |
| US6263423B1 | Cited by | United States of America | Applicant |
| US6282630B1 | Cited by | United States of America | Applicant |
| US5983334A | Cited by | United States of America | Search report |
| US7941635B2 | Cited by | United States of America | Applicant |
| US6959375B2 | Cited by | United States of America | Applicant |
| US6986024B2 | Cited by | United States of America | Applicant |
| US5539911A | Cited by | United States of America | Search report |
| US7343473B2 | Cited by | United States of America | Applicant |
| US5689720A | Cited by | United States of America | Search report |
| US5832292A | Cited by | United States of America | Search report |
| US6934829B2 | Cited by | United States of America | Applicant |
| US7028161B2 | Cited by | United States of America | Applicant |
| US5481685A | Cited by | United States of America | Search report |
| US6272619B1 | Cited by | United States of America | Applicant |
| US6092181A | Cited by | United States of America | Search report |
| US6941447B2 | Cited by | United States of America | Applicant |
| US6920548B2 | Cited by | United States of America | Applicant |
| US7555632B2 | Cited by | United States of America | Applicant |
| US6954847B2 | Cited by | United States of America | Applicant |
| US6256720B1 | Cited by | United States of America | Applicant |
| US7664935B2 | Cited by | United States of America | Applicant |
| US6954847B2 | Cited by | United States of America | Applicant |
| US6647485B2 | Cited by | United States of America | Applicant |
| WO9301545A1 | Cited by | World Intellectual Property Organization (WIPO) | International search |
| EP0106670A2 | Cites | European Patent Office (EPO) | Search report |
4 priority claims, no other members on record
Priority claims4
| Document | Office | Kind | Date |
|---|---|---|---|
| 19878988 | Japan | A | |
| 19878988 | Japan | – | |
| JP19880198789 | – | – | – |
| 19878988 | – | – | – |
24 legal events, as 3 offices reported them to INPADOC
Over the term
Point at a mark for the eventEvents
| Event | Code | Office | |
|---|---|---|---|
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Notification of lapseLapsedST | ST | FR | |
| Gb: european patent ceased through non-payment of renewal feeCeasedGBPC | GBPC | EP | |
| Lapsed in a contracting state [announced via postgrant information from national office to epo]LapsedPG25 | PG25 | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| Annual fee paid to national office [announced via postgrant information from national office to epo]GrantedPGFP | PGFP | EP | |
| European patent in force as of 2002-01-01IF02 | IF02 | GB | |
| Patent endorsed licences of rightsD6 | D6 | FR | |
| Register noted 'licences of right' (sect. 46/1977)746 | 746 | GB | |
| No opposition filedOpposition26N | 26N | EP | |
| No opposition filed within time limitOppositionORIGINAL CODE: 0009261PLBE | PLBE | EP | |
| Information on the status of an ep patent application or granted ep patentGrantedSTATUS: NO OPPOSITION FILED WITHIN TIME LIMITSTAA | STAA | EP | |
| Corresponds to:REF | REF | EP | |
| Fr: translation filedET | ET | EP | |
| Designated contracting statesAK | AK | EP | |
| (expected) grantORIGINAL CODE: 0009210GRAA | GRAA | EP | |
| First examination report despatched17Q | 17Q | EP | |
| Designated contracting statesAK | AK | EP | |
| Search report despatchedORIGINAL CODE: 0009013PUAL | PUAL | EP | |
| Request for examination filed17P | 17P | EP | |
| Designated contracting statesAK | AK | EP | |
| Public reference made under article 153(3) epc to a published international application that has entered the european phaseORIGINAL CODE: 0009012PUAI | PUAI | EP |
Numbers
- Publication
- 0354585
- Publication, DOCDB
- 0354585
- Publication, EPODOC
- EP0354585
- Application
- 89114907
- Application, DOCDB
- 89114907
- Application, EPODOC
- EP19890114907
Titles6
- German
- Mikroprozessor mit Befehlspipeline.
- English
- Instruction pipeline microprocessor.
- French
- Microprocesseur à pipeline d'instructions.
- German
- Mikroprozessor mit Befehlspipeline
- English
- Instruction pipeline microprocessor
- French
- Microprocesseur à pipeline d'instructions
Classification
- CPC, 3
- G06F9/3873
- G06F9/3836
- G06F9/3885
- IPC, 1
- G06F9 38
Designated states3
- Contracting states, 3
- Germany
- France
- United Kingdom