JPH0362129A - Instruction decoding device - Google Patents

Instruction decoding device

Info

Publication number
JPH0362129A
JPH0362129A JP19658589A JP19658589A JPH0362129A JP H0362129 A JPH0362129 A JP H0362129A JP 19658589 A JP19658589 A JP 19658589A JP 19658589 A JP19658589 A JP 19658589A JP H0362129 A JPH0362129 A JP H0362129A
Authority
JP
Japan
Prior art keywords
instruction
register
decoding
instructions
instruction register
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP19658589A
Other languages
Japanese (ja)
Other versions
JP2865717B2 (en
Inventor
Toru Shonai
亨 庄内
Yoichi Shintani
洋一 新谷
Eiki Kamata
釜田 栄樹
Kiyoshi Inoue
潔 井上
Toru Hiraoka
徹 平岡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Ltd
Hitachi Microcomputer Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd, Hitachi Microcomputer Engineering Ltd filed Critical Hitachi Ltd
Priority to JP19658589A priority Critical patent/JP2865717B2/en
Publication of JPH0362129A publication Critical patent/JPH0362129A/en
Application granted granted Critical
Publication of JP2865717B2 publication Critical patent/JP2865717B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Advance Control (AREA)
  • Executing Machine-Instructions (AREA)

Abstract

PURPOSE:To eliminate waste by providing newly a means which sends an instruction in a 2nd instruction register to a 1st register. CONSTITUTION:One instruction is held in each of buffers IBR1 - IBR4. An aligner 116 sends the instructions in the IBRs and following instructions, and selectors 122 and 124 select decoders 138 and 140. The decoders decode the instructions and an instruction decoding and reading, and end decision circuit 180 controls the selectors 122 and 124 to control the aligner 116 through an IR state update circuit 166. When the decoding of only a precedent instruction in the 1st instruction register is finished, a following instruction in the 2nd instruction register is put in the 1st instruction register according to an IR state flag. Consequently, while the following instruction in the 1st instruction register is decoded, a next following instruction can be decoded by the 2nd register and at this time, the limitation of the following instruction decoding is held after the end of the precedent instruction decoding, so that decoding is performed even by the 1st instruction register which had been empty when conventional technique was applied, thus saving waste.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置内の命令解読装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to an instruction decoding device within an information processing device.

〔従来の技術〕[Conventional technology]

複数の命令を同時に解読する従来技術としては、特開昭
56−7147r多重命令を同時に実行する方法」があ
る。
As a conventional technique for decoding a plurality of instructions at the same time, there is a method called JP-A-56-7147R, ``Method of simultaneously executing multiple instructions''.

以下、これについて説明していくが、ここでは。I will explain this below, but here.

2命令を同時に解読する場合で説明していく。−般にN
命令を同時に解読する場合でも事情はすこしも変らない
The explanation will be based on the case where two instructions are decoded at the same time. -Generally N
The situation does not change in the slightest even when the commands are decoded simultaneously.

2命令を同時に解読する場合、第tの命令レジスタと第
2の命令レジスタが置かれる。そして、設計を容易にす
るために、次の制限が課される。
When decoding two instructions simultaneously, a t-th instruction register and a second instruction register are placed. In order to facilitate design, the following restrictions are imposed.

(制限上)ある時刻で見た場合、第1の命令レジスタ中
の命令は、第2の命令レジスタ 中の命令より必ず先行する命令である。
(Limited) When viewed at a certain time, the instruction in the first instruction register is always an instruction that precedes the instruction in the second instruction register.

(制限2)ある時刻で見た場合、第1の命令レジスタ中
の命令(先行命令)の解読が終 らないうちに、第2の命令レジスタ中 の命令(後続命令)の解読が終わるこ とは絶対にない。
(Limitation 2) When viewed at a certain point in time, it is absolutely impossible for the instruction in the second instruction register (successor instruction) to finish decoding before the instruction in the first instruction register (preceding instruction) has finished decoding. Not in.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来技術の場合、第1の命令レジスタの先行命令だけが
解読を終えて、第2の命令レジスタの後続命令が解読を
終えない時に無駄が生じる。
In the case of the prior art, waste occurs when only the preceding instruction in the first instruction register finishes decoding and the subsequent instruction in the second instruction register does not finish decoding.

すなわち、先行命令の解読が終了した後第1の命令レジ
スタが空いているのに、後続命令はそのまま第2の命令
レジスタにあるので、上記制限のために、後続の次の命
令を第1の命令レジスタで解読できないのである。
In other words, even though the first instruction register is empty after the decoding of the preceding instruction is completed, the subsequent instruction remains in the second instruction register. It cannot be deciphered by the instruction register.

本発明の目的はこの無駄を無くすことである。The purpose of the present invention is to eliminate this waste.

〔課題を解決するための手段〕[Means to solve the problem]

この目的のために、第2の命令レジスタ中の命令を第1
の命令レジスタに送る手段を新たに設ける。
For this purpose, the instructions in the second instruction register are
A new means for sending the command to the instruction register is provided.

〔作用〕[Effect]

この手段があれば次のように無駄が無くなる。 With this method, waste will be eliminated as follows.

すなわち、第1の命令レジスタ中の先行命令だけが解読
を終えた時、この手段を使って、第2の命令レジスタ中
の後続命令を第1の命令レジスタに入れる。すると、第
1の命令レジスタでの後続命令の解読と同時に後続の次
の命令を第2の命令レジスタで解読することがoJ能と
なり、この時でも上述の制限は守られている。従来技術
では空いていた第1の命令レジスタでも解読が行われて
おり、無駄が無くなっているのである。
That is, when only the preceding instruction in the first instruction register has been decoded, this means is used to place the subsequent instruction in the second instruction register into the first instruction register. Then, it becomes possible to decode the subsequent instruction in the second instruction register at the same time as decoding the subsequent instruction in the first instruction register, and even in this case, the above-mentioned restrictions are observed. In the prior art, decoding is performed even in the first instruction register, which was vacant, eliminating waste.

(実施例) 以ド、第1図〜第4凶を坩いて本発明の一実施例を説明
する。
(Embodiment) Hereinafter, an embodiment of the present invention will be described by referring to FIGS. 1 to 4.

まず、全体構成を第1図を用いて説明する。First, the overall configuration will be explained using FIG. 1.

100〜106は先読みした命令を保持する命令バッフ
ァである。4つの命令バッファ(IBI(1〜4)には
それぞれ1命令ずつ保持されるとする。
100 to 106 are instruction buffers that hold prefetched instructions. It is assumed that four instruction buffers (IBI (1 to 4) each hold one instruction.

命令の先読み制御の詳細は、本実施例の説明には無関係
なので述べない。
The details of the instruction prefetch control are not related to the description of this embodiment, so they will not be described.

116はアライナであり、IBRO)’信号線198で
指されるIBR中の命令及びその後続命令が、Nl14
XTIR信号線118及びNHXTNE!XT工H信号
線120上に出力される。
116 is an aligner in which the instruction in IBR pointed to by IBRO' signal line 198 and its successor instruction are
XTIR signal line 118 and NHXTNE! It is output on the XT engineering H signal line 120.

122.124はセレクタであり、それぞれSHLNH
wIHI信号線182 、 St<LNt!IIIH2
信号線184により制御される。
122 and 124 are selectors, respectively SHLNH
wIHI signal line 182, St<LNt! IIIH2
Controlled by signal line 184.

IRI(130)、IR2(132)はそれぞれ第1及
び第2の命令レジスタである。II(2信号線136、
セレクタ122.信号線126が、第2の命令レジスタ
中の命令を第1の命令レジスタに送るためのパスを構成
する。
IRI (130) and IR2 (132) are first and second instruction registers, respectively. II (2 signal lines 136,
Selector 122. Signal line 126 provides a path for passing the instructions in the second instruction register to the first instruction register.

138.140はデコーダ(命令の解読wI)である、
142,144はデコード信号であり、DtICODE
HND 1信号146 、 DF、CODビEND2信
号148は、それぞれIRI、IR2の中の命令の解読
が終了したことを示す信号である。
138.140 is a decoder (instruction decoding wI),
142 and 144 are decode signals, DtICODE
The HND1 signal 146, DF, and CODBIEND2 signal 148 are signals indicating that the decoding of the instructions in IRI and IR2 has been completed, respectively.

IBHVAiLD(1〜4)150.152.154 
IBHVAiLD(1-4)150.152.154
.

156は命令バッファIBRL〜IBR4にそれぞれ対
応し、I BRI〜4に命令が存在するか否かを示す状
態フラグである。
A status flag 156 corresponds to the instruction buffers IBRL to IBR4, respectively, and indicates whether an instruction exists in IBRI to IBR4.

1B)tO)’196は次の命令レジスタに格納される
命令のある命令バッファIBRI〜4の番号1〜4を示
す。
1B)tO)'196 indicates the numbers 1-4 of the instruction buffers IBRI-4 in which the instruction to be stored in the next instruction register is located.

この状態フラグは命令を先読みし命令バッファに格納し
た時に対応するものが「1」になり、命令バッファから
命令か読み出されて命令レジスタに人力された時に対応
するものが「0」になる。
This status flag becomes "1" when an instruction is read ahead and stored in the instruction buffer, and becomes "0" when the instruction is read out from the instruction buffer and manually entered into the instruction register.

IRI)lビADY172.1R21(しAD’/F/
4はそれぞれ命令レジスタIRI、IR2に命令である
か否かを示す状態フラグである。
IRI)lBIADY172.1R21(SHIAD'/F/
4 are status flags indicating whether or not the instruction registers IRI and IR2 are instructions, respectively.

この状態フラグは対応するLBHVALiDが11」で
あ喝命令バッファから命令が読み出して命令レジへ スタに格納されたとき「1」となり、命令レジスタ中の
命令の解読が終了すると「0」となる。
This status flag becomes "1" when the corresponding LBHVALiD is "11" and an instruction is read from the instruction buffer and stored in the instruction register, and becomes "0" when the decoding of the instruction in the instruction register is completed.

166はIBR/IR状態更新回路であり、IHHVA
LiD (1〜4 )とIHIRHADY ト1828
1<ADY(1)値を更新するものである。200はI
BROPを更新する回路であり、180は命令解読終了
判定回路である。166.200,180は第2図と第
3図と第4vi4を用いて次に詳述する。
166 is an IBR/IR status update circuit;
LiD (1-4) and IHIRHADY 1828
1<ADY (1) The value is updated. 200 is I
This is a circuit for updating the BROP, and 180 is an instruction decoding completion determination circuit. 166.200 and 180 will be explained in detail next using FIGS. 2, 3, and 4vi4.

まず、第2−を用いて、命令解読終了判定回路180の
機能を説明する。この回路の人力信号は、IRIとIR
2に命令があるか否かを示すIHII(HADY信号と
IR2肺ADY信号、及び、IRI。
First, the function of the instruction decoding completion determination circuit 180 will be explained using the second example. The human input signals of this circuit are IRI and IR
IHII (HADY signal and IR2 lung ADY signal and IRI) indicating whether there is a command in 2.

IR2の命令の解読が終!したか否かを示すDECOD
hE:NL)1信号とLlhCODhEND2信号であ
る。この回路の出力信号は、セレクタ122と124を
制御すルShLNM111R1信号182とSl:LN
HILR2イd号支84゜及びNEEl)IR#信号1
86である。
The deciphering of IR2's command is finished! DECOD indicating whether or not
hE:NL)1 signal and LlhCODhEND2 signal. The output signals of this circuit are the ShLNM111R1 signal 182 and the Sl:LN signal that control selectors 122 and 124.
HILR2 ID branch 84° and NEEL) IR# signal 1
It is 86.

NEEL)IR#イd号は次に命令バッファから読み出
して命令レジスタに格納すべき命令の数を示す。f’l
:El)IR#=2 は、次に2命令を命令バッファか
ら読み出して命令レジスタに格納することを示し、NE
ED  IR#=1  は、次にl命令を命令バッファ
から読み出して命令レジスタに格納することを示し、N
EEL)IR#=Oは、次には命令バッファから命令を
読み出して命令レジスタに格納することはしないことを
示す。
NEEL) IR#id indicates the number of instructions to be read next from the instruction buffer and stored in the instruction register. f'l
:El) IR#=2 indicates that the next two instructions are read from the instruction buffer and stored in the instruction register, and NE
ED IR#=1 indicates that the next l instruction is read from the instruction buffer and stored in the instruction register, and N
EEL) IR#=O indicates that the instruction will not be read from the instruction buffer and stored in the instruction register next time.

命令解読終了判定回路180は、第2図の通りに機能す
ることにより、セレクタ122と124を制御し、NE
EI)IR# 信号上に必要な値をのせる。第2図を1
行ずつ説明する。
The instruction decoding completion determination circuit 180 controls the selectors 122 and 124 by functioning as shown in FIG.
EI) Place the required value on the IR# signal. Figure 2 is 1
Explain line by line.

第2図の41行は、IRII(ビADY = tH2H
ヒADY=Oの時、すなわち、iRlにもlR2にも命
令がない時を示す、この時には、NEEυ IR#=2
 であり命令バッファから2命令を読み出して命令レジ
スタに格納される。5hLNE111R1= NEXT
IRであり、これは、IRIにはNビXTIH信号上の
命令を人力すルコトを示す。また、 SI:LNt<1
11(2=NE<XTNhXTINであり、これは、l
R2にはNヒXTNビXTII(41号上の命令を人力
することをポす。
Line 41 of FIG. 2 shows IRII (BIADY = tH2H
When HADY=O, that is, when there is no command in either iRl or lR2, at this time, NEEυ IR#=2
Then, two instructions are read from the instruction buffer and stored in the instruction register. 5hLNE111R1= NEXT
IR, which indicates that the IRI is capable of manually inputting commands on the NBI-XTIH signal. Also, SI:LNt<1
11 (2=NE<XTNhXTIN, which means that l
R2 has NHIXTNBIXTII (instruction to manually execute the commands on No. 41).

第2図の43行は、1)lit(ヒADY =ロビC0
DIitfNDl= 1 。
Line 43 of Figure 2 is 1) lit(HIADY=RobiC0
DIitfNDl=1.

11(21(EADY= Oの時、すなわち、IBI中
の命令の解読は終了し、lR2には命令がない時を示す
11(21(21) indicates when EADY=O, that is, the decoding of the instruction in IBI is completed and there is no instruction in lR2.

コノ時にも、NEEυ I R# = 2 、5HLN
14Vl)11=Nt!:XTII(、SビLNI11
(2=N14XTNヒXTI)lであり、上記と同じよ
うに命令バッファから2命令を読出して、それらをIR
IとlR2に人力する。
Also at the time of cono, NEEυ I R# = 2, 5HLN
14Vl) 11=Nt! :XTII(, SbiLNI11
(2=N14XTNhiXTI)l, read two instructions from the instruction buffer in the same way as above, and transfer them to the IR.
Manually input I and lR2.

第2図の46行は、11(1)+1(ADY=IH21
(ビADY=DビCOOビビNDl=DヒCOD北ND
2=1の時、すなわち、IBI中の命令とlR2中の命
令の両方の解読が終了した時を示す、この時にも、NE
ED  IR#= 2 、5ELNI41111(1=
NHXTIR、S)!LNE!VII(2=N14XT
NHXTIl(であり、上記と同じように命令バッファ
から2命令を読出して、それらをIRIとlR2に人力
する。
The 46th line in Figure 2 is 11(1)+1(ADY=IH21
(B ADY = D B COO Bibi NDl = D H COD North ND
When 2=1, that is, the decoding of both the instruction in IBI and the instruction in lR2 is completed.
ED IR#=2, 5ELNI41111(1=
NHXTIR, S)! LNE! VII (2=N14XT
NHXTIl(, and in the same way as above, reads two instructions from the instruction buffer and inputs them to IRI and lR2.

第2図の42行は、1)+1HHADY= 1 、 D
I:C013141END1=0.IH2RヒADY=
Oの時、すなわち、lR1中に命令はあるが、N読が終
rしておらず、lRZ中には命令がない時を示す、この
時、 Nil!:EDIR$=1なので、命令バッファ
より1命令が読み出さ公、514LN[(VIB2 =
 N1(XTI)lなノテ、読み出されたl命令はlR
2に人力される。IRIの命令は解読が終了していない
のでそのままである。
Line 42 of Figure 2 is 1)+1HHADY=1, D
I:C013141END1=0. IH2RHIADY=
At the time of O, that is, there is an instruction in lR1, but N reading has not finished, and there is no instruction in lRZ. At this time, Nil! :Since EDIR$=1, one instruction is read from the instruction buffer.514LN[(VIB2=
N1 (XTI) l note, read l instruction is lR
2 is done manually. The IRI instruction remains as it is since the decoding has not yet been completed.

第2図(1)#4行は、1旧1(14ADY=1)12
1()<ADY= 1 。
Figure 2 (1) #4 line is 1 old 1 (14 ADY = 1) 12
1()<ADY=1.

1)I<C0DE![ENDl = 1)hcODEヒ
Nロ2=0の時、すなわち、IRI、lR2の両方に命
令はあるが、両方とも解読は終了しなかった時を示す、
この時、 NEEDIR$=Oであり、命令バッファか
ら命令は読み出されず、IRIとlR2の命令はそのま
まである。
1) I<C0DE! [ENDl = 1) When hcODE HiNro2 = 0, that is, there is an instruction in both IRI and lR2, but both have not finished decoding.
At this time, NEEDIR$=O, no instructions are read from the instruction buffer, and the instructions in IRI and lR2 remain as they are.

あ2図の45行は、IRI)lt<ADY=IR2Hヒ
ADY 〜1)ECODEヒND1= 1 、 DHC
ODヒヒND2=Oの時、すなわち。
Line 45 of Figure A2 is IRI)lt<ADY=IR2HHIADY ~1) ECODEHIND1=1, DHC
When OD Baboon ND2=O, that is.

xal、lR2の両方に命令があり、IRIの命令の解
読は終了したが、lR2の命令の解読は終!していない
時を示す。この時、NEEI)IL#=工なので、命令
バッファより1命令が読み出され、514LNHVI)
11 = I R2なノテ、l R14:はl)+2の
命令が人力され、また、514LNt<111H2= 
Nl:XTIHなので、読み出されたl命令はlR2に
人力される。
There are instructions in both xal and lR2, and the decoding of the IRI instruction has been completed, but the decoding of the lR2 instruction has finished! Indicates when not. At this time, since NEEI)IL#=ENG, one instruction is read from the instruction buffer, 514LNHVI)
11 = I R2 note, l R14: is l) + 2 command is manually input, and 514LNt<111H2=
Since Nl:XTIH, the read l instruction is manually input to lR2.

以上で命令解読終了判定回路の説明を終わる。This concludes the explanation of the instruction decoding completion determination circuit.

第3図は、IBM/IR状態更新間状態更新全路明する
図である。この回路の人力は、NEEI)工R#信号と
1BHVALiD(1〜4 )信号とIBHOP信号で
ある。この回路の出力は、N14111旧)IHAI)
Y信号とN11)t2HHADY信号とNl!、VIB
)tVALiD(1〜4 ”)信号である0人力に応じ
て1ltlltl!ADYと1R2)IEADYとIB
HVALiD(L〜4 )を更新する。
FIG. 3 is a diagram illustrating the entire state update process between IBM/IR state updates. The power of this circuit is the NEEI) R# signal, the 1BHVALiD(1-4) signal, and the IBHOP signal. The output of this circuit is N14111 (old) IHAI)
Y signal and N11) t2HHADY signal and Nl! , VIB
) tVALiD(1~4”) 1ltlltl!ADY and 1R2) IEADY and IB according to the 0 human power which is the signal
Update HVALiD (L~4).

第3図の#1行目のNEEI)IR#=Oの時には、 
NhlllHIHHAl)Y=:NHVII2)+1:
ADY= 1であり。
NEEI on line #1 in Figure 3) When IR#=O,
NhlllHIHHAl)Y=:NHVII2)+1:
ADY=1.

181)+14ADY、 If(2)1ビADYは「1
」 (命令があることを示す)のままである、また、「
0」にされるEllRVALiD (7)番号は「なし
」なノテ、IBI(VALiD(1〜4)の前のままで
ある。
181) +14 ADY, If (2) 1 Bi ADY is “1
” (indicating that there is an instruction), and “
EllRVALiD (7) The number is set to ``0'' and remains in front of the ``None'' note, IBI (VALiD (1-4)).

この場合は、命令バッファから命令が読み出されなかっ
た場合に対応し、それゆえ、IHII(ビADV 。
This case corresponds to the case where no instruction was read from the instruction buffer, and therefore IHII(BIADV).

1R2)1hADYはrlJ (7)ままであり、1B
RVALiD (1〜4)の前のままなのである。
1R2) 1hADY remains rlJ (7) and 1B
It remains the same as before RVALiD (1 to 4).

第3図の#2行目のNEEI)IR$=1 の時には、
Nh[I(II(?4ADY =工、 NHVII(2
8ビADY = 1)IHVALiD(IHRO)’)
であり、11(114#!、Al)Yは「1」のままで
あり、1)121(ビALl\にはIBRO)’″r指
される番号のIBRVALiD(7)値が人力される。
NEEI on line #2 in Figure 3) When IR$=1,
Nh[I(II(?4ADY = Eng, NHVII(2
8V ADY = 1)IHVALiD(IHRO)')
, 11(114#!, Al)Y remains "1", and 1) 121(IBRO for BiALl\)'''r IBRVALiD(7) value of the number pointed to is entered manually.

また、IBRO)’で指されルIBHVALiDがrO
Jにされる。
Also, IBHVALiD pointed to by IBRO)' is rO
Become J.

この場合は、IBRQ)’で指される命令バッファから
1命令が読み出されて命令レジスタに人力される場合に
対応する。
This case corresponds to the case where one instruction is read from the instruction buffer pointed to by IBRQ)' and manually input to the instruction register.

第3図の#3行目のN紅El)IR#=2 の時には、
NIwIHI)it(ADY = 1HHVALiD(
IBI(UP) 。
When IR#=2,
NIwIHI)it(ADY = 1HHVALiD(
IBI(UP).

Nt<VIH2HhADY=IBHVALjD(181
(0)’+ 1 ) ’?’あり。
Nt<VIH2HhADY=IBHVALjD(181
(0)'+1)'? 'can be.

IRl)1t:ADYニは1BROPで指される1B)
IVALiD(1)値が人力され、11(2HビADY
にはIk3ROPで指される所の次のIB)IVALi
Dの値が人力される。また、I B ROPテ指される
所とその次の所(1) 1B)IVALiDがrO」に
される。
IRl) 1t: ADY is 1B) pointed to by 1BROP
The IVALiD (1) value was manually set to 11 (2H BiADY
is the next IB) IVALi pointed to by Ik3ROP.
The value of D is entered manually. Also, at the point pointed to by IBROP and at the next point (1) 1B) IVALiD is set to rO.

この場合は、IBRO)’で指される命令バッファとそ
の次の命令バッファから2命令が読み出されて命令レジ
スタに入力される場合に対応している。
This case corresponds to the case where two instructions are read from the instruction buffer pointed to by IBRO' and the next instruction buffer and input into the instruction register.

以上でIHR/1尺状態更新IL!1路の説1す1を終
わる。
Above is the IHR/1 shaku status update IL! End of 1st route theory 1st1.

第4図はIBROP更斬−!路200の機能を説明する
図である。この回路の人力はIBRO)’信号トNEE
DII(#信号とIBRVALiD(1〜4 )信号で
ある。出力はIBRO)”の新しい値であるN已VIB
HOP信号である。第4図では、IIIIIBROPと
IBRO)’の差分ΔIBROPを示しである。
Figure 4 is IBROP Sarazan-! 2 is a diagram illustrating the function of a path 200. FIG. The human power of this circuit is IBRO)'signal
DII (# signal and IBRVALiD (1 to 4) signals. The output is IBRO)" is the new value of N VIB
This is a HOP signal. FIG. 4 shows the difference ΔIBROP between IIIBROP and IBRO'.

第4図の#1行目では、ΔIBROP=Oであり、IH
ROPは更新されない、これは、命令バッファからは命
令が読み出されなかった時に対応する。
In line #1 of FIG. 4, ΔIBROP=O, and IH
The ROP is not updated, which corresponds to when no instructions were read from the instruction buffer.

第4図の#2h目では、ΔIBKO)”=iBHVAL
il) (IBHOP) テあり、IBROP(1)指
す1tlHVALiDが1ならばIBROFは+1され
、0ならばIBROPは更新されない、これは、命令バ
ッファのIBROPで指される所から1命令が読み出さ
れた時に対応する。
At #2h in Figure 4, ΔIBKO)”=iBHVAL
il) (IBHOP) If 1tlHVALiD pointed to by IBROP (1) is 1, IBROF is +1, and if it is 0, IBROP is not updated. This means that one instruction is read from the location pointed to by IBROP in the instruction buffer. Respond when needed.

第4国の#3行目は、ΔIBRO)’=1B)IVAL
iD (IBROP)+IBRVALiD (iBRO
P+1 )であり、IBROPの指す所とその次の所の
113HVALil)の和がOなら、IBRO)’は更
新されずにそのままであり、和が1ならIBROPは+
1され、和か2ならIBROPは+2される。これは命
令バッファのIBROPで指される所とその次の所から
2命令が読み出された時に対応する。
#3 line of the fourth country is ΔIBRO)'=1B)IVAL
iD (IBROP) + IBRVALiD (iBRO
P+1), and if the sum of 113HVALil) at the location pointed to by IBROP and the next location is O, IBRO)' remains unchanged without being updated, and if the sum is 1, IBROP is +
1, and if the sum or 2, IBROP is increased by +2. This corresponds to when two instructions are read from the location pointed to by IBROP of the instruction buffer and the next location.

以上でIBROP更新回路の説明を終わる。This concludes the explanation of the IBROP update circuit.

本実施例によれば、IRIの命令の解読が終Yし、lR
2の命令の解読が終了しなかった場合。
According to this embodiment, the decoding of the IRI instruction is completed, and the lR
If the decoding of the second instruction is not completed.

第2図の#5行目の説明で見たように、lR2の命令は
IRIに入力されて、lR2にはその命令の次の命令が
人力されて解読が行われる。ゆえに、従来技術では空い
ていたIRIでも解読が行われ。
As seen in the explanation on line #5 in FIG. 2, the instruction of lR2 is input to the IRI, and the next instruction after that instruction is manually input to lR2 and decoded. Therefore, decoding is performed even in IRIs that are vacant in the conventional technology.

無駄が無くなっている。There is no more waste.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、第1の命令レジスタ中の先行命令だけ
が解読を終えた時、第2の命令レジスタ中の後続命令を
第1の命令レジスタに入れ、後続の次の命令を第2の命
令レジスタに入れて解読できるので、従来技術で空いて
いた第1の命令レジスタも有効に使われて、無駄がなく
なる。
According to the present invention, when only the preceding instruction in the first instruction register has finished decoding, the subsequent instruction in the second instruction register is placed in the first instruction register, and the subsequent next instruction is placed in the second instruction register. Since it can be placed in the instruction register and decoded, the first instruction register, which was vacant in the prior art, can be used effectively, eliminating waste.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は実施例の全体構成図、第2図は命令解続終了園
路の機能説明図、第3図はIBM/IR状態更新回路の
機能説明図、第4図はIHROP更新回路の機能説明図
である。 100〜106・・・命令バッファ、130〜132・
・・命令レジスタ、138〜140・・・デコーダ。 180・・・命令解読終了判定回路、166・・・IB
R/IR状態更新回路、200・・・IBROP更新回
路・ ?〜0−
Fig. 1 is an overall configuration diagram of the embodiment, Fig. 2 is a functional explanatory diagram of the instruction release termination path, Fig. 3 is a functional explanatory diagram of the IBM/IR status update circuit, and Fig. 4 is a functional explanatory diagram of the IHROP update circuit. It is an explanatory diagram. 100-106...instruction buffer, 130-132...
...Instruction register, 138-140...Decoder. 180...Instruction decoding completion determination circuit, 166...IB
R/IR status update circuit, 200...IBROP update circuit ? ~0-

Claims (1)

【特許請求の範囲】[Claims] 1、第1、第2の命令レジスタと、第1、第2の命令レ
ジスタの命令をそれぞれ解読する第1、第2の解読手段
とを有する命令解読装置において、第2の命令レジスタ
中の命令を第1の命令レジスタに送る手段を有すること
を特徴とする命令解読装置。
1, a first instruction register, and a second instruction register; and first and second decoding means for decoding the instructions in the first and second instruction registers, respectively; An instruction decoding device comprising means for sending a first instruction register to a first instruction register.
JP19658589A 1989-07-31 1989-07-31 Information processing apparatus and instruction processing method Expired - Lifetime JP2865717B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19658589A JP2865717B2 (en) 1989-07-31 1989-07-31 Information processing apparatus and instruction processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19658589A JP2865717B2 (en) 1989-07-31 1989-07-31 Information processing apparatus and instruction processing method

Publications (2)

Publication Number Publication Date
JPH0362129A true JPH0362129A (en) 1991-03-18
JP2865717B2 JP2865717B2 (en) 1999-03-08

Family

ID=16360187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19658589A Expired - Lifetime JP2865717B2 (en) 1989-07-31 1989-07-31 Information processing apparatus and instruction processing method

Country Status (1)

Country Link
JP (1) JP2865717B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06236267A (en) * 1993-01-08 1994-08-23 Internatl Business Mach Corp <Ibm> Method and system for enhancement of dispatch efficiency of instruction device in superscalar processor system
US6484253B1 (en) 1997-01-24 2002-11-19 Mitsubishi Denki Kabushiki Kaisha Data processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06236267A (en) * 1993-01-08 1994-08-23 Internatl Business Mach Corp <Ibm> Method and system for enhancement of dispatch efficiency of instruction device in superscalar processor system
US6484253B1 (en) 1997-01-24 2002-11-19 Mitsubishi Denki Kabushiki Kaisha Data processor

Also Published As

Publication number Publication date
JP2865717B2 (en) 1999-03-08

Similar Documents

Publication Publication Date Title
JPS5947905B2 (en) Information transmission method using a common transmission path
JPS6239780B2 (en)
JP2000330789A (en) Computer system and its instruction executing method
JPH0362129A (en) Instruction decoding device
JPH01188950A (en) Execution control system for avoidance of deadlock
EP0889412A3 (en) Split write data processing mechanism for memory controllers
JPH04245324A (en) Arithmetic unit
JPS63213014A (en) Data processor
JPH04284548A (en) Data base exclusive controlling system
JPH01271838A (en) Microprogram branching method
US5774712A (en) Instruction dispatch unit and method for mapping a sending order of operations to a receiving order
US5151993A (en) Data processor performing operation on data having length shorter than one-word length
US6671794B1 (en) Address generation interlock detection
JPS5810243A (en) Data processor
JPH0444136A (en) Memory access controller
JPH03269650A (en) Buffer storage
JPH01295347A (en) Microcomputer device
JP2588396B2 (en) Serial receiver with double buffer
JPH06282493A (en) Memory device
JPS63178335A (en) Microprocessor
JPH01258030A (en) Method for controlling branch forecasting
KR920005330B1 (en) Microcomputer and network connected with microcomputer
JPH0228724A (en) System for controlling branching instruction
JPH0474266A (en) Sequential control system for access instruction with identifier
JPH0419574B2 (en)

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071218

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081218

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091218

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091218

Year of fee payment: 11