Abstract:
The present invention discloses a speculative execution processor including a plurality of executing units for processing in parallel a plurality of instructions in an instruction sequence stored in its memory. The processor comprises an instruction type distinguishing device for distinguishing a type of a conditional branch instruction included in the unexecuted instruction sequence, the condition of the conditional branch instruction depending on another instruction, an instruction parallel-issuing device for issuing in parallel instructions included in a succeeding instruction sequence to be executed following the conditional branch instruction and/or instructions included in an instruction sequence to be executed after the branching to the executing units while whether or not to branch is not determined, a branching determining device for determining whether to branch when the another instruction is executed, and an execution result managing device for identifying whether the execution results of the instruction sequences are effective based on the determining results of the branching determining device.

Description:
BACKGROUND OF THE INVENTION 
     (1) Field of the Invention 
     The present invention relates to a processor including a plurality of parallel executing units, and particularly, to a high-speed processing of conditional branch instructions thereof. 
     (2) Description of the Related Art 
     Recent efforts of computer researchers in increasing a processing speed culminated in the building of sophisticated processors that employ a plurality of executing units known as Superscalar or VLIW(Very Long Instruction Word). These processors enable parallel processing of several instructions which used to be processed in sequential. A well known commercialized example is a Motorola Inc.&#39;s MC88100, details of which are in &#34;MC88100 MICROPROCESSOR USER&#39;S MANUAL SECOND EDITION&#34;, Motorola, Inc. 
     Another type of sophisticated processors that employ a high-speed processing method called the out-of-order execution also attracts public interest, in which executable instructions free of data-dependence are processed regardless of instruction order Further information is in &#34;An Extended Superscalar Processor Prototype Based on the SIMP(Simple Instruction Stream/Multiple Instruction Pipelining) Architecture&#34;, Interdisciplinary Graduate School of Engineering Sciences, Kyushu University, Shingaku Giho, CPSY-90-6.54, July 1990. 
     However, parallel processing by these processors causes more frequent occurrence of conditional branch instructions per cycle than the sequential processing. Given that the processors will not determine whether to branch or not to branch until the conditions thereof have been decided or a PSR(Program Status Register) has been updated, they cause an interlock in each instruction flow due to so-called control-dependence, offsetting the advantages of parallel processing. 
     In order to overcome this, these sophisticated processors exploit a speculative execution: they predict whether they will determine to branch or not to branch before its condition is decided, for example, by following the result of the preceding conditional branch instruction, and execute the predicted instruction in advance. 
     However, when the prediction turns out wrong, it is necessary to return to the branch point and execute alternate instructions from the start, resulting in a great time loss. Given these circumstances, it can be said that these conventional processors do not necessarily increase the processing speed for a program. 
     SUMMARY OF THE INVENTION 
     The present invention has an object to provide a processor that enables a high-speed processing by executing instructions before the condition of the conditional branch instruction is decided, while minimizing the occurrence of the interlocks in the instruction flows. 
     The above object is fulfilled by a processor including a plurality of executing units for processing in parallel a plurality of instructions in an instruction sequence stored in its memory. The processor comprises an instruction type distinguishing device for distinguishing a type of a conditional branch instruction included in the unexecuted instruction sequence, the condition of the conditional branch instruction depending on another instruction, an instruction parallel-issuing device for issuing in parallel instructions included in a succeeding instruction sequence to be executed following the conditional branch instruction and/or instructions included in an instruction sequence to be executed after the branching to the executing units while whether or not to branch is not determined, a branching determining device for determining whether to branch when another instruction is executed, and an execution result managing device for identifying whether the execution results of the instruction sequences are valid based on the determining results of the branching determining device. 
     The instruction type distinguishing device may distinguish a first type of instructions from the others, of which possibilities for branching and non-branching are substantially equal from the others, the instruction parallel-issuing device issues instructions included in both the succeeding instruction sequence to be executed following the conditional branch instruction and in the instruction sequence to be executed after the branching to the executing units in parallel when the conditional branch instruction is one of the first type of instructions while it issues instructions included in either of the succeeding instruction sequence to be executed following the conditional branch instruction or the instruction sequence to be executed after the branching to the executing units in parallel when the conditional branch instruction is not one of the first type of instructions. The execution results managing device makes the execution result of the instructions included in either succeeding instruction sequence to be executed following the conditional branch instruction or the instruction sequence to be executed after the branching valid and the other result invalid based on the determining result of the branching determining device when the conditional branch instruction is one of the first type of instructions. While the execution result managing device selectively makes the execution results of instructions included in the succeeding instruction sequence to be executed following the conditional branch instruction and the instruction sequence to be executed after the branching valid or invalid based on the result of the branching determining device when the conditional branch instruction is not one of the first type of instructions. 
     The instruction type distinguishing device may further distinguish a second type of instruction that has a good possibility for branching compared with the first type of instructions and a third type of instructions that has a good possibility for non-branching compared with the first type of instructions besides the first type of instructions, and the instruction parallel-issuing device issues instructions included in the instruction sequence to be executed after the branching into the executing units in parallel when the conditional branch instruction is one of the second type of instructions, while it issues instructions included in the succeeding instruction sequence to be executed following the conditional branch instruction to the executing units in parallel when the conditional branch instruction is one of the third type of instructions. 
     The processor may further comprise a first instruction fetch buffer for storing temporarily the succeeding instruction sequence to be executed following the conditional branch instruction, a second instruction fetch buffer for storing temporarily the instruction sequence to be executed after the branching, and an instruction fetching device for fetching instructions stored in the memory and selectively writes them into the first instruction fetch buffer and the second instruction fetch buffer. 
     The instruction fetch device may include a program counter for outputting read-out addresses to the memory while incrementing its address, a conditional branch instruction detecting device for detecting a conditional branch instruction among the instructions fetched from the memory, a calculating device for calculating a branch address based on the conditional branch instruction detected by the conditional branch instruction detecting device, and a fetch controlling device for writing the instructions into the first instruction fetch buffer while incrementing its address every time an instruction is fetched from the memory, and for writing instructions included in the succeeding instruction sequence to be executed following the conditional branch instruction into the first instruction fetch buffer and instructions included in the instruction sequence to be executed after the branching into the second instruction fetch buffer by writing the branch address calculated by the calculating device into the program counter when the conditional branch instruction is detected. 
     The instruction parallel-issuing device may include a plurality of decoding devices for decoding the instructions and thence generating control signals outputted to the executing units, a transfer controlling device for transferring the instructions in the first instruction fetch buffer and the second instruction fetch buffer to the plurality of decoding device one for each, a mode adding device for adding a mode to each instruction transferred from the transfer controlling device, which indicates that which instruction sequence the instruction belongs to by adding one mode to the succeeding instruction sequence to be executed following the conditional branch instruction and another mode to the instruction sequence to be executed after the branching. 
     Each mode added by the mode adding device may be data in the form of 2-bit, the mode adding device adds a first value to the current mode of the conditional branch instruction for the succeeding instruction sequence to be executed following the conditional branch instruction, while it adds a second value to the current mode of the conditional branch instruction for the instruction sequence to be executed after the branching. 
     Another instruction on which the conditional branch instruction depends may be an instruction that updates a PSR, and the branching determining device may detect the execution of the instruction that updates the PSR and refer to the execution result. 
     The processor may further comprise a data-dependence detecting device for detecting data-dependence among a plurality of the decoded instructions by referring to a plurality of decoding results of the decoding device, a scoreboard managing device for managing which registers are in operation for the instructions being executed by the executing units, an availability detecting device for detecting the availability of the executing units, and an instruction issuance allowing device for allowing the instruction parallel-issuing device to issue instructions identified with the issuable ones based on the detecting result of the data-dependence detecting device, the status of the scoreboard managing device, and the detecting result of the availability detecting device into the executing units, while allowing the instruction parallel-issuing device to issue the conditional branch instruction to the branching determining device. 
     The instruction issuance allowing device may identify instructions with issuable ones by confirming that the decoding results of the plurality of the decoding device have no data-dependence among each other from the detecting result of the data-dependence detecting device, that the registers designated by the operand of the decoding results are not being in operation for the instructions being executed by the executing units from the data in the scoreboard managing device, and that the executing units for the instructions are available from the detecting result of the availability detecting device. 
     The processor may further comprise an execution unit managing table for holding data for each executing unit as to whether they are executing the instructions, the data being referred by the availability detecting device, and a scoreboard for holding data as to which registers are in operation for the instructions being executed by the executing units, the data being referred by the scoreboard managing device. 
     The execution result managing device may include an initial mode holding device for holding the mode of the conditional branch instruction issued by the instruction parallel-issuing device as an initial mode, a speculative execution type holding device for holding the type of the conditional branch instruction issued by the instruction parallel-issuing device, and a speculative execution status indicating device for indicating that the condition of the conditional branch instruction issued by the instruction parallel-issuing device has not been decided by means of a flag, wherein the instruction parallel-issuing device issues the conditional branch instruction to the branching determining device, while at the same time it sets the mode thereof in the initial mode holding device, the type thereof in the speculative execution type holding device, and the flag in the speculative status indicating device. 
     The execution result managing device may include a temporarily storing device storing a set of the execution results of the executing units, the modes of the instructions, and data as to where these execution results are to be stored. 
     The temporarily storing device may store the register numbers of the execution results when they are to be stored into the registers, and stores the memory addresses thereof when they are to be stored in the memory. 
     The branching determining device may reset the flag in the speculative execution status indicating device upon its determination, and the execution result managing device identifies whether the execution results in the temporarily storing device are effective ones by referring to the initial mode holding device based on the detecting result of the branching determining device and speculative execution type holding device, thence transfers only the effective execution results into where they are to be stored while clearing the other invalid execution results. 
     According to the above construction, the processor of the present invention selects which instructions are to be speculatively executed in accordance with the types of the conditional branch instructions before the conditions thereof are decided, thus making it possible to minimize the interlocks in the instruction flows, hence increasing the processing speed of the program including the branch processing. In particular, such an effect can be obviously witnessed when a plurality of instructions are executed in parallel, because it efficiently minimizes a time lag between the conditional branch instructions and instructions that update the conditions thereof. 
     More precisely, the processor makes it possible to increase the processing speed by executing in advance instructions selected according to a type of the conditional branch instructions. In the present invention, they are divided into the first type, the second type and the third type based on their possibilities for branching and non-branching: 
     (1) When the conditional branch instruction is one of the first type, it speculatively issues only the instructions included in the instruction sequence to be executed after the branching to the executing units in parallel, and stores the execution results thereof temporarily until the condition thereof is decided, while it executes instructions included in the succeeding instruction sequence to be executed following the conditional branch instruction when the processor has determined not to branch. The conditional branch instructions of the first type have a good possibility for branching. 
     (2) When the conditional branch instruction is one of the second type, it speculatively issues both the instructions included in the instruction sequence to be executed after the branching and ones included in the succeeding sequence to be executed following the conditional branch instruction to the executing units in parallel, and stores the execution results thereof temporarily, thence uses only the execution results of effective instructions when the condition thereof have been decided. The instructions of the second type have substantially equal possibilities for branching and for non-branching. 
     (3) When the conditional branch instruction is one of the third type, it speculatively issues only the instructions included in the succeeding instruction sequence to be executed following the conditional branch instruction into the executing units in parallel, and stores the execution results temporarily until the condition thereof is decided, while it executes instructions included in the instruction sequence to be executed after the branching when it has determined to branch. The instructions of the third type have a good possibility for non-branching. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     These and other objects, advantages and features of the invention will become apparent from the following description thereof taken in conjunction with the accompanying drawings which illustrates a specific embodiment of the invention. In the drawings: 
     FIG. 1 is a block diagram of the processor of the present invention; 
     FIG. 2 is a block diagram of the instruction fetch unit 2 in FIG. 1; 
     FIG. 3 is a block diagram of the instruction decoding unit 7 in FIG. 1; 
     FIG. 4 is a view depicting an instruction flow with the respective modes; 
     FIG. 5 is a view explaining how to check data dependence among the instruction sequences; 
     FIG. 6 is the Bcc 13  i instruction flow; 
     FIG. 7 is the first illustration explaining how instructions are stored in the instruction decoding buffer 6 during the speculative execution for the Bcc --  i instruction; 
     FIG. 8 is a view showing which executing units 8-11 are executing which instructions during the speculative execution for the Bcc --  i instruction; 
     FIG. 9 is the second illustration explaining how instructions are stored in the instruction decoding buffer 6 during the speculative execution for the Bcc --  i instruction; 
     FIG. 10 is a view how the execution results are stored in the execution order management buffer 13 during the speculative execution for the Bcc --  i instruction; 
     FIG. 11 is the third illustration explaining how instructions are stored in the instruction decoding buffer 6 during the speculative execution for the Bcc --  i instruction; 
     FIG. 12 is the Bcc --  1 instruction flow; 
     FIG. 13 is the first illustration explaining how instructions are stored in the instruction decoding buffer 6 during the speculative execution for the Bcc --  1 instruction; 
     FIG. 14 is a view showing which executing units 8-11 are executing which instructions during the speculative execution for the Bcc --  1 instruction; 
     FIG. 15 is the second illustration explaining how instructions are stored in the instruction decoding buffer 6 during the speculative execution for the Bcc --  1 instruction; 
     FIG. 16 is a view how the execution results are stored in the execution order management buffer 13 during the speculative execution for the Bcc --  1 instruction; 
     FIG. 17 is the third illustration explaining how instructions are stored in the instruction decoding buffer 6 during the speculative execution for the Bcc --  1 instruction; 
     FIG. 18 is the Bcc --  n instruction flow; 
     FIG. 19 is the first illustration explaining how instructions are stored in the instruction decoding buffer 6 during the speculative execution for the Bcc --  n instruction; 
     FIG. 20 is a view showing which executing units 8-11 are executing which instructions during the speculative execution for the Bcc --  n instruction; 
     FIG. 21 is the second illustration explaining how instructions are stored in the instruction decoding buffer 6 during the speculative execution for the Bcc --  n instruction; 
     FIG. 22 is a view how the execution results are stored in the execution order management buffer 13 during the speculative execution for the Bcc --  n instruction; and 
     FIG. 23 is the third illustration explaining how instructions are stored in the instruction decoding buffer 6 during the speculative execution for the Bcc --  n instruction. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The construction and operation of the processor of the present invention is explained hereunder with referring to drawings. The processor is designed so that it speculatively executes instructions when it detects a conditional branch instruction which is referred to simply as a branch instruction hereinafter. In general, the branch instructions are divided into two groups in the programming language C: a loop group that maintains a good possibility for branching, and an if-then-else group that maintains substantially equal possibilities for branching and non-branching. In this embodiment, these two groups are further divided into three types of Branch with Condition Code Instructions (Bcc) in the form of the machine instruction as below, and referred to as such hereinafter. 
     (1) Bcc --  i Instruction : an if-then-else branch instruction of which possibilities for branching and non-branching are substantially equal. (Switch statements are generally regraded to be a Bcc-i instruction.) 
     (2) Bcc --  1 Instruction : a loop branch instruction that maintains a good possibility for branching compared with Bcc --  i Instruction. 
     (3) Bcc --  n Instruction: a branch instruction that maintains a good possibility for non-branching compared with Bcc --  i Instruction. 
     As is shown in FIG. 1, the processor of the present invention is composed of a memory 1, an instruction fetch unit 2, instruction fetch buffers 3 and 4, a selector 5, an instruction decoding buffer 6, an instruction decoding unit 7, executing units 8-11, an executing unit management table 12, an execution order management buffer 13, an initial mode holding circuit 14, a speculative execution type holding circuit 15, a speculative execution status indicating circuit 16, and an execution order management circuit 17, a branch judging circuit 18, a register file 19, and a scoreboard 20. 
     The memory 1 stores instruction sequences and operand data that constitute a program. 
     The instruction fetch unit 2 prefetches instructions from the memory 1 while detecting the branch instruction among these prefetched ones, and selectively writes them into the instruction fetch buffers 3 and 4 based on the detecting result: when it detects the branch instruction, it prefetches instructions included in a succeeding instruction sequence and ones included in a post-branching instruction sequence, and writes the former into one of the instruction fetch buffers 3 and 4 that has been storing the preceding instruction sequence, and the latter into the other; the former consists of the instructions to be executed when the processor has determined not to branch, and the latter consists of the ones to be executed when the processor has determined to branch. It prefetches instructions asynchronously with instruction decoding or execution, so that it steadily writes them into the instruction fetch buffers 3 and 4 to their full. 
     The instruction fetch buffers 3 and 4 are same in the capacity, and send the prefetched instructions to the instruction fetch buffer 6 using FIFO(First-In-First-Out) memories. 
     The selector 5 switches from the instruction fetch buffer 3 to the instruction fetch buffer 4 and vice versa under the control of the instruction decoding unit 7. 
     The instruction decoding buffer 6 stores the instructions to be decoded. It has a capacity of six instructions herein. However, it is preferable for the instruction decoding buffer 6 to have a capacity of as many instructions as the executing units. 
     The instruction decoding unit 7 controls the instruction fetch buffers 3 and 4 to transfer the instructions to the instruction decoding buffer 6, as well, it decodes thence issues these instructions to the executing units 8-11. 
     The executing unit 8 executes load instructions and store instructions; the executing units 9 and 10 executes integer instructions; and the executing units 11 executes floating point instructions. For explanation&#39;s convenience, the load instruction takes two cycles, and other instructions take one cycle herein. The number of unit pipeline stages is not defined, as it is not the gist of the present invention. 
     The executing unit management table 12 stores data concerning availability of the executing units 8-11 in the form of a bit per executing unit. These bits are set at the initiation of the execution and cleared at the termination by the respective executing units 8-11. 
     The execution order management buffer 13 stores the results of the speculative execution accompanied with their register numbers and modes. For this reason, it consists of a mode field, a register number field, and a storing field as shown in FIG. 10. 
     The initial mode holding circuits 14 holds the mode added to the branch instruction by the instruction decoding unit 7 as an initial mode. 
     The speculative execution type holding circuit 15 holds data as to which type of the branch instruction is being executed. 
     The speculative execution status indicating circuit 16 holds a flag indicating that the speculative execution is being proceeded. 
     The execution order management circuit 17 selectively writes the execution results of the instructions from the executing units 8-11 to the register file 19 and execution order management buffer 13 based on the data in the initial mode holding circuits 14, speculative execution type holding circuit 15, and speculative execution status indicating circuit 16: when an instruction is not under the speculative execution, it writes the execution result directly into the register file 19; when an instruction is under the speculative execution, it writes the execution result into the execution order management buffer 13 with the mode and register number thereof, so that it transfers the execution result to the register file 19 efficiently when the speculative execution has been completed. 
     The branch judging circuit 18 decides whether or not to branch based on an updated PSR, thence selectively sends an execution instruction to the instruction decoding unit 7, a data clearing instruction to the execution order management buffer 13, and a data transferring instruction to the execution order managing circuit 17: 
     (1) During the speculative execution for the Bcc --  l instruction, only the post-branching instructions are speculatively executed. Therefore, when the processor has determined not to branch, it clears all the results of the speculative execution in the execution order management buffer 13, while at the same time it sends an instruction to execute the succeeding instructions to the instruction decoding unit 7. 
     (2) During the speculative execution for the Bcc --  i instruction, the post-branching instructions and succeeding instructions are speculatively executed, it thus clears the results of the invalid speculative executions. 
     (3) During the speculative execution for the Bcc --  n instruction, only the succeeding instructions are speculatively executed. Therefore, when the processor has determined to branch, it clears all the results of the speculative execution in the execution order management buffer 13, while at the same time it sends an instruction to execute the post-branching instructions to the instruction decoding unit 7. 
     The register file 19 includes 32 registers and stores the execution results of the instructions. 
     The scoreboard 20 includes 32 flags of 2-bit, one for each register in the register file 19: a 1-bit indicates the speculative execution, while the other 1-bit does the non-speculative execution. 
     As is shown in FIG. 2, the instruction fetch unit 2 is composed of a program counter 21, a branch instruction detecting circuit 22, a calculating circuit 23, a selector 24, and a fetch controlling unit 25. 
     The program counter 21 outputs addresses of the instructions to be prefetched from the memory 1, and increments its address every time an instruction is pre-retched. 
     The branch instruction detecting circuit 22 detects the branch instruction among the prefetched instructions from the memory 1. 
     The calculation circuit 23 calculates a branch address based on the detected branch instruction. 
     The selector 24 selectively sends the outputs from the program counter 21 and calculation circuit 23 to the memory 1. 
     The fetch controlling unit 25 controls the instruction prefetch from the memory 1, and instruction writing to the instruction fetch buffers 3 or 4: it controls the program counter 21 to output the addresses steadily to the memory 1 while incrementing the address thereof, and to write the prefetched instructions to either the instruction fetch buffers 3 or 4 until the branch instruction detecting circuit 22 detects the branch instruction; upon the detection, it controls the calculating circuit 23 to output the branch address by inputting data concerning the branch address so as to prefetch the post-branching instructions as well, and writes them into the other instruction fetch buffer. 
     As is shown in FIG. 3, the instruction decoding unit 7 is composed of a branch instruction detecting circuit 31, a data transfer controlling circuit 32, a mode adding circuit 33, an instruction decoding circuit 34, a PSR-change instruction detecting circuit 35, a data-dependence detecting circuit 36, a scoreboard managing circuit 37, an availability detecting circuit 38, an instruction issuing circuit 39, and an instruction issue controlling circuit 40. 
     The branch instruction detecting circuit 31 detects the branch instruction among the outputs from the selector 5. 
     The data transfer controlling circuit 32 selectively transfers the instructions from the instruction fetch buffers 3 and 4 by means of the selector 5 to the instruction decoding buffer 6 based on the detecting result of the branch instruction detecting circuit 31: 
     (1) When the branch instruction detecting circuit 31 does not detect the branch instruction, it detects which one of the instruction fetch buffers 3 and 4 has been storing the instructions, thence transfers the instructions therefrom to the instruction decoding buffer 6 by means of the selector 5. 
     (2) When the branch instruction detecting circuit 31 detects the Bcc --  1 instruction, it switches the selector 5 to the other instruction fetch buffer so that only the post-branching instructions are transferred to the fetch buffer 6. 
     (3) When the branch instruction detecting circuit 31 detect the Bcc --  i instruction, it switches the selector 5 from the instruction fetch buffer 3 to the instruction fetch buffer 4 in turn, so that the succeeding and post-branching instructions are alternately stored in the instruction decoding buffer 6. 
     (4) When the branch instruction detecting circuit 31 detects the Bcc --  n instruction, it continues to transfer the succeeding instructions to the fetch buffer 6, so that only the succeeding instructions are stored therein. 
     The mode adding circuit 33 adds a mode to each instruction from the data transfer controlling circuit 32 in accordance with the following rule. 
     (1) Add a code &#34;01&#34; to its current mode for the succeeding instruction sequence. 
     (2) Add a code &#34;10&#34; to its current mode for the post-branching instruction sequence. 
     The flow of the instructions with their modes are shown in FIG. 4, wherein a mark ↓ denotes an instruction sequence, a mark ◯ denotes the branch instruction, a mark denotes a point where a loop returns to, and 1-3 denote how many times the loop iterates. 
     Assuming that the instruction sequence currently maintains a mode &#34;00&#34;, the succeeding instruction sequence maintains a mode &#34;01&#34; as the code &#34;01&#34; is added to the current mode &#34;00&#34;, while the post-branching instruction sequence maintains a mode &#34;10&#34; as the code &#34;10&#34; is added to the current mode &#34;00&#34;. This mode rule facilitates to sort out the preceding, succeeding, and post-branching instruction sequences. As well, it enables a trace of the instruction sequence even when the branch instruction repeatedly occurs. 
     The instruction decoding circuit 34 includes six decoders 34a-34f so that it decodes 6 instructions in parallel. It is desirable for the instruction decoding circuit 34 to have as many decoders as the executing units and as stages in the instruction decoding buffer 6. 
     The PSR-change instruction detecting circuit 35 detects whether these instructions update the PSR, and notifies the detecting result to the branch judging circuit 18 as the condition is decided based on the updated PSR. 
     The data-dependance detecting circuit 36 detects data-dependance among these six decoded instructions by comparing their register fields each other; it detects data-dependence when the destination register of the preceding instruction is the source register of the succeeding one. Data-dependance among the six instructions stored in the instruction decoding buffer 6 and ones that have not been stored therein is not subject to such detection as they are never executed simultaneously. Hence, only the six instructions stored in the instruction decoding buffer 6 are subject to the detection; however, as shown in FIG. 4, data-dependence between the one of post-branching instruction sequence (B) and the one of succeeding instruction sequence (C) are not subject to such detection due to their exclusivity. 
     The scoreboard managing circuit 37 checks which registers are in operation by referring to the scoreboard 20, and set the flags in the scoreboard 20 based on the decoding of the decoders 34a-34f when any of these instructions changes the registers. 
     The availability detecting circuit 38 detects which executing units 8-11 are available by referring to the executing unit management table 12. 
     The instruction issuing circuit 39 includes four selectors 39a-39d, and it issues instructions forwarded from the instruction issue controlling circuit 40 to the executing units 8-11 in parallel after adding an identifier to each instruction: an identifier &#34;1&#34; for the speculative execution, and an identifier &#34;0&#34; for the non-speculative one. 
     The instruction issue controlling circuit 40 controls the instruction issuing circuit 39. It detects issuable instructions among the decoded instructions by checking whether they have no data-dependence on each other(data-dependence detecting circuit 36), whether their registers are not being used(the scoreboard managing circuit 37); and whether the executing units for the instructions are available at the moment(the availability detecting circuit 38). Only when they satisfy all of these conditions, it forwards them to the instruction issuing circuit 39. Upon the issuance, it clears them from the instruction decoding buffer 6. 
     When the issuable instruction is the branch instruction, it does not issue the branch instruction to the executing units 8-11. Instead, it sets the mode thereof in the initial mode holding circuit 14, the type thereof in the speculative execution type holding circuit 15, the flag indicating that the speculation execution is proceeding in the speculation execution status indicating circuit 16, and the condition thereof in the branch judging circuit 18. Henceforward, the processor commences the speculative execution status. 
     For further explanation, each flow of the Bcc --  i, Bcc --  l, and Bcc --  n instructions is explained hereunder separately. 
     (Bcc --  i Instruction) 
     In FIG. 6, a instruction flow of the Bcc --  i instruction is illustrated, wherein a mark ↓ denotes the time sequence, a mark denotes data-dependence, and capital letters LD, INT, and FPU in brackets stand for a load instruction, an integer instruction, and a floating point instruction, respectively. 
     As previously explained, the instruction fetch unit 2 prefetches instructions steadily from the memory 1 using the program counter 21, and stores them into the instruction fetch buffer 3 until the branch instruction detecting circuit 22 detects the branch instruction among these instructions. Upon the detection, the calculation circuit 23 calculates the branch address thereof, thence the instruction fetch unit 2 prefetches the post-branching instructions in addition to the succeeding instructions and writes the former into the instruction fetch buffer 4 and the latter to the instruction fetch buffer 3 to their capacity. 
     Instructions N-3 to N+2 constitute the instruction sequence preceding to the branch instruction, namely Instruction Bcc --  i, Instructions M to M+3 do the post-branching instruction sequence, and Instructions N+3 to N+6 do the instruction sequence succeeding to the branch instruction. The instruction sequence preceding to Instruction N-3 is not explained herein as it is irrelevant here. 
     Assuming that the instruction fetch buffer 3 stores the succeeding instruction sequence while the instruction fetch buffer 4 does the post-branching instruction sequence, the speculative execution for the Bcc --  i instruction is proceeded with the following steps. 
     (1) The instruction decoding unit 7 reads out Instructions N-3 to N+2 from the instruction fetch buffer 3, and adds the mode &#34;00&#34; thereto, thence sends them to the instruction decoding buffer 6, which stores these Instructions as is shown in FIG. 7. 
     (2) The data-dependence detecting circuit 36 detects the data-dependence among the Instructions N-3 to N+2, while the scoreboard managing circuit 37 checks which registers are in operation, the availability detecting circuit 38 detects which executing units are available by referring to the executing unit management table 12, and based on which the instruction issue controlling circuit 40 identifies Instructions N-3, N-1, N, and N+1 with issuable ones, and forwards them to the instruction issuing circuit 39 for issuing, while clearing these four Instructions from the instruction decoding buffer 6 upon the issuance together with the identifiers. Being the instruction under the nonspeculative execution, their identifiers are &#34;0&#34;. Instruction N-2 is not issued until Instruction N-3 has been completed due to data-dependence. The executing units 8-11 sets the respective corresponding bits in the executing unit management table 12 once they receive these Instructions. The first row of the table in FIG. 8 shows which executing units 8-11 are executing which Instructions. 
     (3) The executing units 8-11 outputs the execution results to the execution order management circuit 17, which writes them directly into the register file 19, as it identifies them with the instructions under the non-speculative execution by their identifiers &#34;0&#34;. Until a branch instruction is detected, the processor repeats the steps (1)-(3). 
     (4) After the issuance, Instructions N-2 and N+2 are left in the instruction decoding buffer 6. The data transfer controlling circuit 32 reads out following instructions in sequential from the instruction fetch buffer 3, and sends them to the instruction decoding buffer 6 until the branch instruction detecting circuit 31 detects Instruction Bcc --  i. Upon the detection, the data transfer controlling circuit 32 reads out the post-branching instructions from the instruction fetch buffer 4 in addition to the succeeding instructions in turn by switching the selector 5, thence sends them alternately to the instruction decoding buffer 6. At the same time, the mode adding circuit 33 adds the code &#34;01&#34; to the succeeding instructions and the code &#34;10&#34; to the post-branching instructions, making the current mode &#34;00&#34; into the modes &#34;01&#34; and &#34;10&#34;, respectively. Thus, the instruction decoding buffer 6 stores Instructions as is shown in FIG. 9. 
     (5) The instruction decoding unit 7 sorts out issuable instructions in the same manner described in the step (2). Since Instruction N-3 is a load instruction that takes two cycles, Instruction N-2 is not issued in the instant cycle due to the data-dependence. Therefore, the instruction issue controlling circuits 40 controls the instruction issuing circuit 39 to issue Instructions N+2, Bcc --  i, N+3, and M respectively to the executing unit 11, branch judging circuit 18, executing unit 9, and executing unit 10 after adding the respective identifiers &#34;0&#34;, &#34;0&#34;, &#34;1&#34;, and &#34;1&#34;, while clearing these four Instructions from the instruction fetch buffer 6. The second row of the table in FIG. 8 shows which executing units are executing which Instructions. 
     (6) Each Instruction is executed as follows: 
     (6 - 1) Upon the receipt of the Instruction N+2, the executing unit 11 sets the corresponding bit in the executing unit management table 12, and executes Instruction N+2, thence sends the execution result to the execution order management circuit 17 while clearing the corresponding bit at the same time. The execution order management circuit 17 directly writes the execution result into the register file 19 as it identifies Instruction N+2 with the instruction under the non-speculative execution by its identifier &#34;0&#34; 
     (6 - 2) Upon the receipt of Instruction Bcc --  i, the branch judging circuit 18 sets condition thereof, while at the same time the instruction issue controlling circuit 40 sets the Instruction&#39;s mode &#34;00&#34; in the initial mode holding circuit 14, the kind of Instruction Bcc --  i in the speculative execution type holding circuit 15, and the flag indicating that the speculative execution is being proceeded in the speculative execution status indicating circuit 16. 
     (6 - 3) Upon the receipt of Instruction N+3, the executing unit 9 sets the corresponding bit in the executing unit management table 12, and executes Instruction N+3, thence sends the execution result to the execution order management circuit 17 while clearing the corresponding bit at the same time. The execution order management circuit 17 writes the register number and mode &#34;01&#34; thereof to the instruction execution management buffer 13, as it identifies Instruction N+3 with the instruction under the speculative execution by its identifier &#34;1&#34;. 
     (6 - 4) Upon the receipt of Instruction M, the executing unit 10 sets the corresponding bit in the executing unit management table 12, and executes Instruction M, thence sends the execution result to the execution order management circuit 17 while clearing the corresponding bit at the same time. The execution order management circuit 17 writes the register number and mode &#34;10&#34; thereof to the instruction execution management buffer 13, as it identifies Instruction M with the instruction under the speculative execution by its identifier &#34;1&#34;. 
     (7) The execution order management buffer 13 stores thus far Instructions N+3 and M as is shown in the first to second rows of the table in FIG. 10. 
     (8) When Instruction N-3 has been completed in the succeeding cycle, the instruction decoding buffer 6 stores Instructions as is shown in FIG. 11. Thus, the instruction issuing circuit 39 issues Instruction N-2, N+4, and M+1. The third row of the table in FIG. 8 shows which executing units 8-11 are executing which Instructions. The execution order management buffer 13 stores thus far Instructions N+3, M, N+4, and M+1 as shown in the first to fourth rows in the table in FIG. 10. 
     (9) The executing units 8-11 execute the respective Instructions, and clear the corresponding bits when they completes the execution in the executing unit management table 12, upon which the instruction decoding unit 7 issues the following Instructions accordingly. 
     (10) As can be seen in FIG. 8, the executing unit 9 executes Instruction N-2 that updates the PSR. Thus, the executing unit 9 clears the flag that has been set up in the speculative execution status indication circuit 16 when it completes the execution; however, the speculative execution continues to the fourth row of the table shown in FIG. 8, and the execution order management buffer 13 stores thus far Instructions N+3, M, N+4, M+1, N+5, and M+2 as shown in the first to sixth rows of the table in FIG. 10. 
     (11) Upon the clearance of the flag in the speculative execution status indicating circuit 16, the branch judging circuit 18 determines whether to branch based on the type of the branch instruction held in the speculative execution type holding circuit 15 and the updated PSR. Assuming that it determines to branch, the speculative execution results of the succeeding instruction sequence stored in the execution order management buffer 13 are no longer necessary, thus, the branch judging circuit 18 adds the code &#34;01&#34; to the initial mode &#34;00&#34; stored in the initial mode holding circuit 14, and clears the execution results of Instructions N+3, N+4, and N+5 accompanied with the modes &#34;01&#34; as can be seen in FIG. 10. Also, it notifies the instruction decoding unit 7 that the processor determines to branch, so that only the post-branching instructions are written into the instruction decoding buffer 6. 
     (12) Upon the notification, the execution order management circuit 17 forwards the execution results of the post-branching instruction sequence accompanied with the modes &#34;10&#34; from the execution order management buffer 13 into the register file 19, so that corresponding registers therein store these results respectively. 
     As can be understood from the above explanation, the speculative execution maintains a continuity with the instruction processing to be executed after the processor has determined to branch. Given that the possibility of exploiting these results of the speculative execution is fifty percent, the processor can increase the processing speed. 
     (Bcc --  1 Instruction) 
     As is shown in FIG. 12 where time sequence is indicated in a direction of arrow, Instructions N to N+8 constitute the instruction sequence preceding to the branch instruction, namely Instruction Bcc --  l, a loop instruction sequence comprises the post-branching instruction sequence, and Instructions N+9 and N+10 comprises the instruction sequence succeeding to the branch instruction. There is data-dependence between Instruction N+4 and N+7, and the instruction sequence preceding Instruction N is not explained herein as it is irrelevant here. 
     Assuming that the instruction fetch buffer 3 stores the succeeding instruction sequence while the instruction fetch buffer 4 does the post-branching instruction sequence, the speculative execution for the Bcc --  l instruction is proceeded with the following steps. 
     (1) The instruction decoding unit 7 reads out the Instructions N+4 to N+8 from the instruction fetch buffer 3, and sends them to the instruction decoding buffer 6 after adding the mode &#34;01&#34; thereto. The instruction decoding buffer 6 stores Instructions as is shown in FIG. 13 
     (2) The data-dependence detecting circuit 36 detects data-dependence among Instructions N+4 to N+8, while the scoreboard managing circuit 37 checks which registers are in operation, and the availability detecting circuit 38 detects which executing units are available, and based on which the instruction issue controlling circuit 40 identifies Instructions N+4, N+5, N+6, and N+8 with issuable ones, thence forwards them to the instruction issuing circuit 39 for issuing, while clearing these four Instructions form the instruction decoding buffer 6 upon the issuance together with the identifiers. Being the instruction under the nonspeculative execution, their identifiers are &#34;0&#34;. Instruction N+7 is not issued in the instant cycle due to the data-dependence. 
     The first row of the table in FIG. 14 shows which executing units 8-11 are executing which Instructions. Upon the receipt of these Instructions, the executing units 8-11 set the corresponding bits in the executing unit management table 12, respectively. 
     The executing units 8-11 output the processing results to the execution order management circuit 17, which writes them directly into the register file 19, as it identifies them with the instructions under the non-speculative execution by their identifiers &#34;0&#34;. 
     (3) Instructions N+7 and Bcc --  1 are left in the instruction decoding buffer 6 after the issuance. The data transfer controlling circuit 32 reads out following instruction sequence from the instruction fetch buffer 3. When the branch instruction detecting circuit 31 detects Instruction Bcc --  1, the data transfer controlling circuit 32 reads out the post-branching instruction sequence from the instruction fetch buffer 4 in addition to the succeeding instructions in turn by switching the selector 5, thence writes them to the instruction decoding buffer 6. At the same time, the mode adding circuit 33 adds the code &#34;10&#34; to the post-branching instructions, making the current mode &#34;01&#34; into modes &#34;11&#34;. Thus, the instruction decoding buffer 6 stores Instructions as is shown in FIG. 15. 
     (4) The instruction decoding unit 7 identifies issuable instructions in the same manner described in the step (2). Since Instruction N+4 issued to the executing unit 8 is a load instruction that takes two cycles, Instruction N+7 is not issued in the instant cycle due to the data-dependence. Thus, the instruction issue controlling circuit 40 controls the instruction issuing circuit 39 to issue Instructions Bcc --  1, N, N+1, and N+3 respectively to the branch judging circuit 18, executing unit 9, executing unit 10, and executing unit 11 after adding the respective identifiers &#34;0&#34;, &#34;1&#34;, &#34;1&#34; and &#34;1&#34;, while clearing them from the instruction decoding buffer 6 upon the issuance. The second row of the table in FIG. 14 shows which executing units are executing which Instructions. 
     (5) Each Instruction is executed as follows: 
     (5 - 1) Upon the receipt of Instruction Bcc --  1, the branch judging circuit 18 sets conditions thereof, while at the same time the instruction issue controlling circuit 40 sets the mode &#34;01&#34; thereof in the initial mode holding circuit 14, the kind of Instruction Bcc --  l in the speculative execution type holding circuit 15, and the flag indicating that the speculative execution is being proceeding in the speculative execution status indication circuit 16. Henceforward, it remains in the speculative execution status. 
     (5 - 2) Upon the receipt of the Instruction N, the executing unit 9 sets the corresponding bit in the executing unit management table 12, and executes Instruction N, thence sends the execution result to the execution order management circuit 17 while clearing the corresponding bit at the same time. The execution order management circuit 17 writes the register number and mode &#34;11&#34; thereof to the instruction execution management buffer 13, as it identifies Instructions N with the instruction under the speculative execution by its identifier &#34;1&#34;. 
     (5 - 3) Upon the receipt of the Instruction N+1, the executing unit 10 sets the corresponding bit in the executing unit management table 12, and executes Instruction N+1, thence sends the execution result to the execution order management circuit 17 while clearing the corresponding bit at the same time. The execution order management circuit 17 writes the register number and mode &#34;11&#34; thereof to the instruction execution management buffer 13, as it identifies Instruction N+1 with the one under the speculative execution by its identifier &#34;1&#34;. 
     (5 - 4) Upon the receipt of the Instruction N+3, the executing unit 11 sets the corresponding bit in the executing unit management table 12, and executes Instruction N+3, thence sends the execution result to the execution order management circuit 17 while clearing the corresponding bit at the same time. The execution order management circuit 17 writes the execution result into the instruction execution management buffer 13, as it identifies Instruction N+3 with the instruction under speculative execution by its identifier &#34;1&#34; 
     (6) The execution order management buffer 13 stores thus far Instructions N, N+1, and N+3 as is shown in the first to third rows of the table in FIG. 16. 
     (7) When Instruction N has been completed in the preceding cycle, the instruction decoding buffer 6 stores Instructions as is shown in FIG. 17. Thus, the instruction decoding unit 7 issues Instruction N+7 and N+2 through the steps explained above. The third row of the table in FIG. 14 shows which executing units 8-11 are executing which Instructions. The execution order management buffer 13 stores thus far Instructions N, N+1, N+3, N+2 as shown in the first to fourth rows in the table of FIG. 16. 
     (8) The executing units 8-11 execute the respective Instructions, and clear the corresponding bits when they complete the execution, upon which the instruction decoding unit 7 issues following Instructions accordingly. 
     (9) As can be seen in FIG. 14, the executing unit 9 executes Instruction N+7 that updates the PSR. Thus, the executing units 9 clears the flag that has been set up in the speculative execution status indication circuit 16 when it has completed the execution; however, the speculative execution continues to the fourth row of the table shown in FIG. 14. 
     (10) Upon the clearance of the flag in the speculative executing status indication circuit 16, the branch judging circuit 18 determines whether or not to branch based on the instruction type held in the speculative execution type holding circuit 15 and the updated PSR. For convenience, it determines to branch. 
     (11) The branch judging circuit 18 notifies the execution order management circuit 17 that the processor has determined to branch, hence the speculative execution mode has been terminated, whereby the execution order management circuit 17 transfers the execution results of the post-branching instruction sequence accompanied with the modes &#34;11&#34; to the register file 19 from the execution order management buffer 13. 
     As can be understood from the above explanation, the speculative execution maintains a continuity with the instruction processing to be executed after the processor has determined to branch. Given that the possibility of exploiting these results of the speculative execution is hundred percent, the processor can increase the processing speed. 
     Assuming that the branch judging circuit 18 determines not to branch, the steps (11&#39;) and (12) follow instead of the step (11). 
     (11&#39;) The branch judging circuit 18 clears all the results of the speculative execution of the post-branching instructions stored in the execution order management buffer 13; it clears the execution results of Instructions N+1, N+3, and N+2 accompanied with the mode &#34;11&#34; as is shown in FIG. 16. Also, it notifies the instruction decoding unit 7 that the processor has determined not to branch, so that only the succeeding instructions are written into the instruction decoding buffer 6. 
     (12) The branch judging circuit 18 also notifies the execution order management circuit 17 that it has determined not to branch, hence the speculative execution has been terminated, although the execution order management circuit 17 does nothing as all the execution results in the instruction execution order management buffer have been already cleared. 
     As can be understood from the above explanation, the speculative execution does not contribute to increasing the processing speed when the processor has determined not to branch. However, given that the Bcc --  l instruction itself maintains a small possibility for non-branching, it is rare to see such a case. Thus, when the processing speed for the program is concerned, it can be said that the processor can increase the processing speed. It is needless to say that the speculative execution maintains a continuity with the instruction processing to be executed after the processor has determined not to branch. 
     (Instruction Bcc --  n) 
     As is shown in FIG. 18 where time sequence is indicated in a direction of arrow, Instructions N to N+8 constitute the instruction sequence preceding to the branch instruction, namely Instruction Bcc --  n, Instruction M to M+5 do the post-branching instruction sequence, Instructions N+9 to N+17 do the instruction sequence succeeding to the branch instruction. There is data-dependence between Instruction N+4 and N+7, and the instruction sequence preceding to Instruction N is not explained herein as it is irrelevant here. 
     Assuming that the instruction fetch buffer 3 stores the succeeding instruction sequence while the instruction fetch buffer 4 does the post-branching instruction sequence, the speculative execution for the Bcc --  n instruction is proceeded with the following steps. 
     (1) The instruction decoding unit 7 reads out the Instructions N+4 to N+8 from the instruction fetch buffer 3, and sends them to the instruction decoding buffer 6 after adding the mode &#34;01&#34; thereto. The instruction decoding buffer 6 stores Instructions as is shown in FIG. 19. 
     (2) The data-dependence detecting circuit 36 detects data-dependence among Instructions N+4 to N+8, while the scoreboard managing circuit 37 checks which registers are in operation, and the availability detecting circuit 38 detects which executing units are available, and based on which the instruction issue controlling circuit 40 identifies Instructions N+4, N+5, N+6, and N+8 with issuable ones, thence forwards them to the instruction issuing circuit 39 for issuing, while clearing these four Instructions form the instruction decoding buffer 6 upon the issuance together with the identifiers. Being the instruction under the non-speculative execution, their identifiers are &#34;0&#34;. Instruction N+7 is not issued in the instant cycle due to the data-dependence. 
     The first row of the table in FIG. 20 shows which executing units 8-11 are executing which Instructions. Upon the receipt of these Instructions, the executing units 8-11 set the corresponding bits in the executing unit management table 12, respectively. 
     The executing units 8-11 output the execution results to the execution order management circuit 17, which writes them directly into the register file 19, as it identifies them with the instructions under the non-speculative execution by their identifiers &#34;0&#34;. 
     (3) Instructions N+7 and Bcc --  n are left in the instruction decoding buffer 6 after the issuance. The data transfer controlling circuit 32 reads out following instruction sequence from the instruction fetch buffer 3. When the branch instruction detecting circuit 31 detects Instruction Bcc --  n, the data transfer controlling circuit 32 continuously reads out the succeeding instruction sequence from the instruction fetch buffer 3, thence writes them to the instruction decoding buffer 6. At the same time, the mode adding circuit 33 adds the code &#34;01&#34; thereto, making the current mode &#34;01&#34; into modes &#34;10&#34;. Thus, the instruction decoding buffer 6 stores Instructions as is shown in FIG. 21. 
     (4) The instruction decoding unit 7 identifies issuable instructions in the same manner described in the step (2). Since Instruction N+4 issued to the executing unit 8 is a load instruction that takes two cycles, Instruction N+7 is not issued in the instant cycle due to the data-dependence. Thus, the instruction issue controlling circuit 40 controls the instruction issuing circuit 39 to issue Instructions Bcc --  n, N+9, N+10, and N+11 respectively to the branch judging circuit 18, executing unit 9, executing unit 10, and executing unit 11 after adding the respective identifiers &#34;0&#34;, &#34;1&#34;, &#34;1&#34;, and &#34;1&#34;, while clearing them from the instruction decoding buffer 6 upon the issuance. The second row of the table in FIG. 20 shows which executing units are executing which Instructions. 
     (5) Each Instruction is executed as follows: 
     (5 - 1) Upon the receipt of Instruction Bcc --  n, the branch judging circuit 18 sets conditions thereof, while at the same time the instruction issue controlling circuit 40 sets the mode &#34;01&#34; thereof in the initial mode holding circuit 14, the kind of Instruction Bcc --  n in the speculative execution type holding circuit 15, and the flag indicating that the speculative execution is being proceeding in the speculative execution status indication circuit 16. Henceforward, it remains in the speculative execution status. 
     (5 - 2) Upon the receipt of the Instruction N+9, the executing unit 9 sets the corresponding bit in the executing unit management table 12, and executes Instruction N+9, thence sends the execution result to the execution order management circuit 17 while clearing the corresponding bit at the same time. The execution order management circuit 17 writes the register number and mode &#34;10&#34; thereof to the instruction execution management buffer 13, as it identifies Instructions N+9 with the instruction under the speculative execution by its identifier &#34;1&#34;. 
     (5 - 3) Upon the receipt of the Instruction N+10, the executing unit 10 sets the corresponding bit in the executing unit management table 12, and executes Instruction N+10, thence sends the execution result to the execution order management circuit 17 while clearing the corresponding bit at the same time. The execution order management circuit 17 writes the register number and mode &#34;11&#34; thereof to the instruction execution management buffer 13, as it identifies Instruction N+10 with the one under the speculative execution by its identifier &#34;1&#34;. 
     (5 - 4) Upon the receipt of the Instruction N+11, the executing unit 11 sets the corresponding bit in the executing unit management table 12, and executes Instruction N+11, thence sends the execution result to the execution order management circuit 17 while clearing the corresponding bit at the same time. The execution order management circuit 17 writes the execution result into the instruction execution management buffer 13, as it identifies Instruction N+11 with the instruction under speculative execution by its identifier &#34;1 &#34; 
     (6) The execution order management buffer 13 stores thus far Instructions N+9, N+10, and N+11 as is shown in the first to third rows of the table in FIG. 16. 
     (7) When Instruction N+4 has been completed in the preceding cycle, the instruction decoding buffer 6 stores Instructions as is shown in FIG. 23. Thus, the instruction decoding unit 7 issues Instruction N+7, N+13, and N+12 through the steps explained above. The third row of the table in FIG. 20 shows which executing units 8-11 are executing which Instructions. The execution order management buffer 13 stores thus far Instructions N+7, N+12, N+13, N+14, N+15, and N+16 as shown in the first to fourth rows in the table of FIG. 23. 
     (8) The executing units 8-11 execute the respective Instructions, and clear the corresponding bits when they complete the execution, upon which the instruction decoding unit 7 issues following Instructions accordingly. 
     (9) As can be seen in FIG. 20, the executing unit 9 executes Instruction N+7 that updates the PSR. Thus, the executing units 9 clears the flag that has been set up in the speculative execution status indication circuit 16 when it has completed the execution; however, the speculative execution continues to the fourth row of the table shown in FIG. 20. 
     (10) Upon the clearance of the flag in the speculative executing status indication circuit 16, the branch judging circuit 18 determines whether or not to branch based on the instruction type held in the speculative execution type holding circuit 15 and the updated PSR. For convenience, it determines not to branch. 
     (11) The branch judging circuit 18 notifies the execution order management circuit 17 that the processor has determined not to branch, hence the speculative execution mode has been terminated, whereby the execution order management circuit 17 transfers the execution results of the succeeding instruction sequence accompanied with the modes &#34;10&#34; to the register file 19 from the execution order management buffer 13. 
     As can be understood from the above explanation, the speculative execution maintains a continuity with the instruction processing to be executed after the processor has determined not to branch. Given that the possibility of exploiting these results of the speculative execution is hundred percent, the processor can increase the processing speed. 
     Assuming that the branch judging circuit 18 determines to branch, the steps (11&#39;) and (12) follow instead of the step (11). 
     (11&#39;) The branch judging circuit 18 clears all the results of the speculative execution of the succeeding instructions stored in the execution order management buffer 13; it clears the execution results of Instructions N+9, N+10, N+11, N+12, and N+13 accompanied with the mode &#34;10&#34; as is shown in FIG. 22. Also, it notifies the instruction decoding unit 7 that the processor has determined to branch, so that only the post-branching instructions are written into the instruction decoding buffer 6. 
     (12) The branch judging circuit 18 also notifies the execution order management circuit 17 that it has determined to branch, hence the speculative execution has been terminated, although the execution order management circuit 17 does nothing as all the execution results in the instruction execution order management buffer have been already cleared. 
     As can be understood from the above explanation, the speculative execution does not contribute to increasing the processing speed when the processor has determined to branch. However, the Bcc --  n instruction itself maintains a small possibility for branching, it is rare to see such a case. Thus, when the processing speed for the program is concerned, it can be said that the processor can increase the processing speed. It is needless to say that the speculative execution maintains a continuity with the instruction processing to be executed after the processor has determined not to branch. 
     In summary, the processor of the present invention increases the processing speed by proceeding right speculative execution for the right branch instructions based on their possibilities for branching and non-branching, namely divided into Bcc --  1, Bcc -- , and Bcc --  n instructions. 
     It applies the speculative execution for Bcc --  1 instruction to a for-loop branch instruction in the programming language C of which compiler has a good possibility for branching, while it applies the one for Bcc --  i instruction to an if-then-else branch instruction that maintains substantially equal possibilities for branching and non-branching. It further increases the processing speed, when it is designed to execute as many instruction sequences as possible in a loop in parallel. In particular, such an effect is obvious with the if-then-else branch instruction where the speculative execution based on the prediction results a great time loss when the prediction turns out wrong. In addition, there is a case when the processor must execute only one instruction at a time due to data-dependence, thus, such a prediction does not necessarily increase the efficiency in parallel processing. Therefore, it can be said that it is most advantageous when both the succeeding and post-branching instruction sequences are speculatively executed. 
     In the embodiment, the executing unit maintains one pipe line for convenience&#39; sake; however, the number of pipe lines are changed by renewing the executing unit execution management table 12. 
     The succeeding and post-branching instructions are not necessarily stored alternatively into the instruction fetch buffer 6. These instructions may be stored arbitrary order, and the instruction fetch buffers 3 and 4 may directly transfer the instructions to the corresponding decoders in the instruction decoding circuit 34 through the selector 5. 
     Although the executing units 8-11 differ in their function, they may be identical in construction hence the function. 
     In order to distinguish the register file 19 from the execution order management buffer 13, the identifiers are added to the instructions upon their issuance, but the addresses of the program counter 21 may used as the identifiers. As well, the instruction decoding unit 7 may designate the execution order management 17 to where the instructions are to be stored. 
     The rule of how to add the mode to the instructions is not restricted to the one explained herein. 
     More than one branch instructions are speculatively executed when the speculative execution status indication circuit is designed to indicate more than one status. Likewise, a plurality of branch instructions can be speculatively executed when the sufficient number of the modes, initial mode holding circuits 14, speculative execution type holding circuits 15, speculative execution status indication circuits 16, and branch judging circuit 18 are provided, making a correlation between the instructions that update PSR and branch instructions specific. 
     The instruction decoding unit 7 may issue the instructions by so-called in-order method instead of out-of-order method employed herein. 
     Although the present invention has been fully described by way of examples with reference to the accompanying drawings, it is to be noted that various changes and modifications will be apparent to those skilled in the art. Therefore, unless otherwise such changes and modifications depart from the scope of the present invention, they should be construed as being included therein.