[go: up one dir, main page]

JPS61195429A - Arithmetic processing unit - Google Patents

Arithmetic processing unit

Info

Publication number
JPS61195429A
JPS61195429A JP3524585A JP3524585A JPS61195429A JP S61195429 A JPS61195429 A JP S61195429A JP 3524585 A JP3524585 A JP 3524585A JP 3524585 A JP3524585 A JP 3524585A JP S61195429 A JPS61195429 A JP S61195429A
Authority
JP
Japan
Prior art keywords
instruction
instruction code
stored
read
storage means
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.)
Pending
Application number
JP3524585A
Other languages
Japanese (ja)
Inventor
Takayuki Fujita
孝行 藤田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP3524585A priority Critical patent/JPS61195429A/en
Publication of JPS61195429A publication Critical patent/JPS61195429A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/38Concurrent instruction execution, e.g. pipeline or look ahead
    • G06F9/3802Instruction prefetching

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Advance Control (AREA)

Abstract

PURPOSE:To shorten an instruction reading time and to promote a processing speed by reading out an instruction from an instruction buffer in case the instruction to be executed has been stored at the instruction buffer. CONSTITUTION:At the outset of instruction code reading cycles, a control circuit 2 checks for an output of an instruction buffer reading signal 29. When the signal 29 is outputted and the instruction code to be executed in the second place is situated within the instruction buffer 20, the instruction code is read from the corresponding address within the instruction buffer 20 and is outputted to an internal bus 10. Successively such an output is housed at an instruction register 6 and is analyzed by an instruction decoder 7 to execute. On the other hand, if the instruction code to be executed is not housed at the instruction buffer, the control circuit 2 outputs a control signal to a memory control circuit 13 to start a memory reading.

Description

【発明の詳細な説明】 し技術分野1 本発明はメインメモリ等の記憶装置より命令を読み込み
、該読み込んだ命令コードに従い演算処理を実行する演
算処理装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Technical Field 1 The present invention relates to an arithmetic processing device that reads instructions from a storage device such as a main memory and executes arithmetic processing according to the read instruction code.

〔従来技術] 従来、この種の演算処理装置においては、メインメモリ
に実行手順である命令プログラムが格納されており、こ
のメインメモリ中の命令プログラム列をプログラムカウ
ンタの保持値に対応した番地より順次読み出し、実行し
ている。
[Prior Art] Conventionally, in this type of arithmetic processing device, an instruction program, which is an execution procedure, is stored in the main memory, and the instruction program sequence in the main memory is sequentially stored starting from the address corresponding to the value held in the program counter. Read and execute.

この従来の演算処理装置の概略ブロック図を第1図に示
す。
A schematic block diagram of this conventional arithmetic processing device is shown in FIG.

図中3は全体の制御を司どる制御回路、4は演算処理を
行なうアキュムレータ(以下ALtJと称す)、5は命
令後の記憶位、!を記憶するプログラムカウンタ、6は
命令レジスタ、7は命令レジスタ6の命令の解析を行な
う命令デコーダ、8はメモリアドレスレジスタ、9はメ
モリデータレジスタ、13はメモリ制御回路、14はプ
ログラム命令列が記憶されていると共に、演算処理装置
での1理において発生するデータを一時記憶するメモリ
である。そしてメモリ14内のプログラム命令列は通常
プログラムカウンタ5の内容をメモリアドレスレジスタ
8に格納し、メモリ制御回路13にこのメモリアドレス
レジスタ8よりのアドレスデータを送り、対応したデー
タ、即ちプログラム命令がメモリデータレジスタに読み
込まれ、この命令コードが命令レジスタ6に送られ、命
令デコーダ7で解析され、解析結果は制御回路3に送ら
れ、解析結果に従った処理を実行する。この時プログラ
ムカウンタ5の値はその内容がメモリアドレスレジスタ
8に格納された後に1つカウントアツプされ、次の命令
コード読出し時にはこの1つカウントアツプされた値が
メモリアドレスレジスタ8に格納されることになる。
In the figure, 3 is a control circuit that manages the overall control, 4 is an accumulator (hereinafter referred to as ALtJ) that performs arithmetic processing, and 5 is a memory location after an instruction. 6 is an instruction register, 7 is an instruction decoder that analyzes the instructions in the instruction register 6, 8 is a memory address register, 9 is a memory data register, 13 is a memory control circuit, and 14 is a memory for storing program instruction sequences. It is a memory that temporarily stores data generated during one process in an arithmetic processing unit. Then, the program instruction sequence in the memory 14 normally stores the contents of the program counter 5 in the memory address register 8, sends the address data from this memory address register 8 to the memory control circuit 13, and the corresponding data, that is, the program instruction, is stored in the memory address register 8. The instruction code is read into the data register, sent to the instruction register 6, analyzed by the instruction decoder 7, and the analysis result is sent to the control circuit 3, which executes processing according to the analysis result. At this time, the value of the program counter 5 is counted up by one after its contents are stored in the memory address register 8, and when the next instruction code is read, this value counted up by one is stored in the memory address register 8. become.

この様にある命令を実行する毎に命令コードをメモリ1
4より読み出さねばならず、この命令の読込み時にはア
ドレスバスに対するアドレスデータを出力確定させ、そ
の後制御回路3よりメモリ制御回路13に制御信号を出
力して行なわなければならない、このためこの命令の読
込み時間が他の命令の解析実行処理時間を遅らせてしま
っていた。
In this way, each time a certain instruction is executed, the instruction code is stored in memory 1.
4, and when reading this instruction, the address data to the address bus must be output and determined, and then a control signal must be output from the control circuit 3 to the memory control circuit 13. Therefore, the reading time of this instruction is was delaying the analysis execution processing time of other instructions.

又、これを避け、処理の高速化を計るため、大型のCP
U装置においてはパイプライン処理を行なっているが、
実行制御も複雑となってしまい。
In addition, in order to avoid this and speed up processing, a large CP
Pipeline processing is performed in the U device, but
Execution control also becomes complicated.

構成も複雑となり、高価格化を招いていた。またこの場
合においてもメインメモリよりの命令の読込みが連続し
たアドレス値の場合はよいが、例え短いステップでのプ
ログラムルーズ処理であっても分岐命令のある毎に(又
は次のアドレス値の命令コードを必要としない場合)新
たにメインメモリより次の命令コードを読込まねばなら
ず、CPUの処理を遅らす原因ともなっていた。
The configuration also became complicated, leading to higher prices. In this case as well, it is fine if instructions are read from the main memory at consecutive address values, but even if program loose processing is performed in short steps, each time there is a branch instruction (or the instruction code of the next address value) (If the next instruction code is not required), the next instruction code must be newly read from the main memory, which causes a delay in the processing of the CPU.

[目的] 本発明は上述従来技術の欠点に鑑みなされたもので、そ
の目的とする所は、演算処理装置に一定鰻の既実行命令
データを記憶する手段を備え1次に実行すべき命令が該
手段に記憶されてい゛る時には該手段より実行すべき命
令を読込むことにより命令読込み時間を短縮し、処理速
度の高速化、効率向とが実現した演算処理装置を提供す
ることにある。
[Objective] The present invention has been made in view of the above-mentioned drawbacks of the prior art, and its object is to provide a processing unit with a means for storing executed command data of a certain number, and to store a command to be executed next. It is an object of the present invention to provide an arithmetic processing device which shortens instruction reading time by reading instructions to be executed from the means when they are stored in the means, thereby achieving higher processing speed and efficiency.

〔実施例」 以F1図面を参照して本発明に係る一実施例を詳説する
[Embodiment] Hereinafter, an embodiment of the present invention will be described in detail with reference to drawing F1.

第2図は本発明に係る一実施例のブロック図であり、第
1図と同様構成には同一番号を附してあり、同一構成に
ついての説明は重複するので省略する。
FIG. 2 is a block diagram of an embodiment according to the present invention, in which the same components as in FIG. 1 are given the same numbers, and the description of the same components will be omitted since it will be redundant.

第2図において、2は全体の制御を司どる制御回路であ
り、制御回路2では命令デコーダ7で解析された実行す
べき命令の解析結果に従って、内蔵するマイクロプログ
ラムが選択され、命令処理に対応する各種信号の出力、
及び、各種信号の読取り1判別処理が実行される。ここ
で、制御回路2はマイクロプログラム内蔵タイプではな
く、論理回路で全てが形成されたものでもよいことゝは
いうまでもない。
In FIG. 2, reference numeral 2 denotes a control circuit that manages the overall control, and in the control circuit 2, a built-in microprogram is selected according to the analysis result of the instruction to be executed analyzed by the instruction decoder 7, and corresponds to instruction processing. Output of various signals,
Then, reading 1 determination processing of various signals is executed. Here, it goes without saying that the control circuit 2 is not of the microprogram built-in type, but may be formed entirely of logic circuits.

また、20はメモリ14より読込んだ命令コード列を順
次記憶しておく命令バッファであり。
Further, 20 is an instruction buffer for sequentially storing instruction code strings read from the memory 14.

命令バッファは高速にて読み/書きが行なえ、読み/書
きデータは内部バス10を介して授受される。即ち、命
令バッファ20への書込みデータはメモリデータレジス
タ9より内部バスlOに送出され、この時の命令バッフ
ァ20への格納アドレス価はプログラムカウンタ5より
Pアドレスデータ26として与えられる。また、読出し
データは内部バス10に田方され、この出力データは必
要に応じて命令レジスタ6に信号@30を介して与えら
れ、其他必要に応じて不図示のレジスタ等に直接格納さ
れる。このPアドレスデータ26の指示値であるプログ
ラムカウンタ値の下位アドレスイーが選択され命令バッ
ファ20へ出力される。
The instruction buffer can be read/written at high speed, and read/write data is exchanged via the internal bus 10. That is, the write data to the instruction buffer 20 is sent from the memory data register 9 to the internal bus IO, and the address value stored in the instruction buffer 20 at this time is given as P address data 26 by the program counter 5. Further, the read data is transferred to the internal bus 10, and the output data is given to the instruction register 6 via the signal @30 as necessary, and is directly stored in a register (not shown) or the like as necessary. The lower address E of the program counter value, which is the instruction value of the P address data 26, is selected and output to the instruction buffer 20.

−7j21は命令バッファ20に記憶されている命令コ
ード列のメモリ14における先頭アドレスイーを保持す
る先頭プログラムアドレス保持M8(以下SPCと称す
)、22は命令バッファ20に次に格納すべきメモリ1
4のアドレス値を保持する最終プログラムアドレス保持
部(以下EPCと称す)である、この5PC21及びE
PC22への格納データは、Pアドレスデータ26より
比較回路S23を介して5PC21へ、又は、比較回路
E24を介してEPC22にそれぞれセットされている
-7j21 is the start program address holding M8 (hereinafter referred to as SPC) that holds the start address in the memory 14 of the instruction code string stored in the instruction buffer 20; 22 is the memory 1 to be stored next in the instruction buffer 20;
These 5PC21 and EPC are final program address holding units (hereinafter referred to as EPC) that hold the address values of
The data stored in the PC22 is set from the P address data 26 to the 5PC21 via the comparison circuit S23, or to the EPC22 via the comparison circuit E24.

この5PC21及びEPC22と命令バッファ20との
関係を第3図に示す。
The relationship between the 5PC 21 and EPC 22 and the instruction buffer 20 is shown in FIG.

第3図に示す様に命令バッファ20に格納されている命
令列の最初の格納位置を5PC21が保持し、最後の格
納位置+1即ち次に格納されるべきプログラムカウンタ
5の指示位置に対応する命令バッファ20の位置をEP
C22が保持している。第3図斜線部分は有効な命令コ
ード列が記憶されている部分である。
As shown in FIG. 3, the 5PC 21 holds the first storage position of the instruction string stored in the instruction buffer 20, and the last storage position +1, that is, the instruction corresponding to the position indicated by the program counter 5 to be stored next. EP the position of buffer 20
It is held by C22. The shaded area in FIG. 3 is the area where valid instruction code strings are stored.

ここで命令コード列が命令バッファ20の容壷分格納さ
れると最先に格納された5PC21位置の命令コードが
削除され5PC21の内容が次の命令バフフッ20位置
に変更され、ここが新たなEPC22指示位置となり、
空領域が作られ、新たな命令コードが格納される。
When the instruction code string is stored for the capacity of the instruction buffer 20, the first stored instruction code at the 5PC21 position is deleted, the contents of 5PC21 are changed to the next instruction buffer 20 position, and this is the new EPC22. becomes the indicated position,
An empty area is created and a new instruction code is stored.

また、第2図中の23及び24は、5PC21及びEP
C22を次にメモリ14より読み出すべき命令コード即
ち、プログラムカウンタ5の指示するアドレス価とを比
較し、指示アドレス価に対応する命令コードが命令バッ
ファ20内に格納されているか否かを判断する。比較回
路S及び比較回路Eである。比較回路S23はPアドレ
スデータ26(プログラムカウンタ5の全アドレスデー
タ)と5PC21のデータとを比較し、(SPCI≦L
Pアドレス] であればS出力27を出力する。
Also, 23 and 24 in Figure 2 are 5PC21 and EP
C22 is compared with the instruction code to be read next from the memory 14, that is, the address value indicated by the program counter 5, and it is determined whether the instruction code corresponding to the indicated address value is stored in the instruction buffer 20. They are a comparison circuit S and a comparison circuit E. Comparison circuit S23 compares P address data 26 (all address data of program counter 5) and data of 5PC21, and (SPCI≦L
P address], outputs S output 27.

また、比較回路E24はPアドレスデータ(プログラム
カウンタ5の全アドレスデータ)26とEPC22のデ
ータとを比較し。
Further, the comparison circuit E24 compares the P address data (all address data of the program counter 5) 26 and the data of the EPC22.

LEPcI≧LPアドレス」 であればS出力28を出力する。このS出力27とS出
力28は共に論理積回路25に入力され、両出力のある
場合、即ちプログラムカウンタ5により読出すべき命令
コードが命令バッファ20に格納されている時、には命
令バッファ読出し信号29が出力される。
If LEPcI≧LP address, S output 28 is output. Both the S output 27 and the S output 28 are input to the AND circuit 25, and when both outputs are present, that is, when the instruction code to be read by the program counter 5 is stored in the instruction buffer 20, the instruction buffer is read. A signal 29 is output.

以下、以上の構成より成る本実施例のプログラム命令の
読出し処理及び命令実行処理を第4図のフローチャート
を参照して説明する。
The program instruction read processing and instruction execution processing of this embodiment having the above configuration will be described below with reference to the flowchart of FIG. 4.

制御回路2は命令コード読込み(メモリアクセス)サイ
クルの最初にステップ41で命令バッファ読出し信号2
9が出力されているか否か、即ち[SPC]≦[PC]
 < [EPCJか否かを調べる。ここで命令バッファ
読出し信号29が出力されており、次に実行すべき命令
コードが命令バッファ20内にある時にはステップ42
に進み、命令バッファ20内の対応するアドレス(本実
施例ではプログラムカウンタ5の下位アドレス値の示す
アドレス値)より命令コードを読み出し、内部バス10
に出力する。この命令バッファ20の格納アドレスをプ
ログラムカウンタ5の下位アドレスイーではなく固有の
アドレス値としてもよい。
The control circuit 2 outputs the instruction buffer read signal 2 in step 41 at the beginning of the instruction code read (memory access) cycle.
9 is output or not, that is, [SPC]≦[PC]
< [Check whether it is EPCJ or not. At this point, the instruction buffer read signal 29 is output, and if the next instruction code to be executed is in the instruction buffer 20, step 42 is performed.
The instruction code is read from the corresponding address in the instruction buffer 20 (in this embodiment, the address value indicated by the lower address value of the program counter 5), and the instruction code is read out from the internal bus 10.
Output to. The storage address of the instruction buffer 20 may be a unique address value instead of the lower address E of the program counter 5.

そしてステップ43でプログラムカウンタ5を1つイン
クリメントし、続くステップ44で内部バス10に出力
されている命令コードを命令レジスタ6に格納し、命令
デコーダ7で命令コードの解析が行なわれ、制御回路2
で対応する処理が実行される。ここで内部バス10への
出力命令コードが該演算データ、又はレジスタへの転送
データ等の場合には、この命令コードは必要に応じてA
LU4や不図示のレジスタ等ヘセットされ。
Then, in step 43, the program counter 5 is incremented by one, and in the following step 44, the instruction code output to the internal bus 10 is stored in the instruction register 6, the instruction decoder 7 analyzes the instruction code, and the control circuit 2
The corresponding process is executed. Here, if the instruction code output to the internal bus 10 is the calculation data or data transferred to the register, this instruction code may be changed to
It is set to LU4, a register (not shown), etc.

必要な処理が実行されることになる。そして再びステッ
プ41に戻り1次の命令の読出し処理を実行する。
Necessary processing will be executed. Then, the process returns to step 41 again to execute the reading process of the primary instruction.

一万ステップ41で実行すべきプログラムカウンタ5で
指定されたメモリ14位置の命令コードが命令バッファ
20に格納されていない場合にはステップ45に進み、
プログラムカウンタ5の内容をメモリアドレスレジスタ
8にセットし、続くステップ46で制御回路2はメモリ
制御回路13に制御信号(メモリ読出し開始信号)を出
力する。そしてステップ47で制御回路2はプログラム
カウンタ5の値とEPC22の値とを比較回路E24に
て比較し1両値が一致していれば一致信吟30が出力さ
れているためこの一致信号30を調べ、一致信号30の
入力時、即ち先に実行した命令がプログラム分岐命令で
ない場合にはステップ48に進み、命令バッファが満杯
であるかを調べる。ここで満杯である時にはステップ4
9に進み、5PC21の指示する内容をクリアし、続く
ステップ50で5PC2,1を1つインクリメントしス
テップ52に進む。
If the instruction code at the memory 14 location specified by the program counter 5 to be executed at step 41 is not stored in the instruction buffer 20, the process proceeds to step 45;
The contents of the program counter 5 are set in the memory address register 8, and in the following step 46, the control circuit 2 outputs a control signal (memory read start signal) to the memory control circuit 13. Then, in step 47, the control circuit 2 compares the value of the program counter 5 and the value of the EPC 22 in the comparator circuit E24, and if the two values match, the match signal 30 is outputted, so this match signal 30 is output. When the match signal 30 is input, that is, when the previously executed instruction is not a program branch instruction, the process advances to step 48 to check whether the instruction buffer is full. If it is full here, step 4
The process proceeds to step 9, where the content specified by the 5PC21 is cleared, and the subsequent step 50 increments 5PC2,1 by one, and the process proceeds to step 52.

一万ステップ48で命令バッファ20が満杯でない時に
はステップ52に進む、ここで命令レジスタ20が満杯
か否かは、本実施例ではLEPCI +1 (EPCの
指示する次の命令バツファの指定位置)がl5PcJ 
となった時に満杯としているが、命令バッファ20のア
ドレスが完全に儂環していない場合には1例えば、命令
バッファ20の命令コード列を1つずらし、一番古いコ
ード列を捨て、5PC21を1つ進める様に制御しても
よい。
10,000 If the instruction buffer 20 is not full in step 48, the process advances to step 52. Here, whether or not the instruction register 20 is full is determined by LEPCI +1 (the specified position of the next instruction buffer specified by the EPC) in this embodiment.
However, if the address of the instruction buffer 20 is not completely circular, for example, shift the instruction code string of the instruction buffer 20 by one, discard the oldest code string, and change the address of 5PC21. It may be controlled to advance by one.

一方ステップ47で先の命令処理の結果、命令バッファ
20に格納している命令コード列以外へのプログラム分
岐命令の場合にはステップ51に進み、命令バッファ2
0内の格納命令列を全て無効と(クリア)するべく5P
C21及びEPC22にプログラムカウンタ(PL)5
の内容を格納する。
On the other hand, if the result of the previous instruction processing in step 47 is a program branch instruction to an instruction code string other than the instruction code string stored in the instruction buffer 20, the process proceeds to step 51, and the instruction buffer 20
5P to invalidate (clear) all stored instruction sequences in 0
Program counter (PL) 5 in C21 and EPC22
Stores the contents of.

そして共にステップ52に進み、先にステップ46でメ
モリ制御回路13に指示したメモリ14読田し起動命令
に従い読み出され、メモリデータレジスタ9にセットさ
れているメモリ14よりの命令コードを、内部バス10
を介して命令バッフ/20に格納する。そしてステップ
53でプログラムカウンタ5を1つインクリメントし、
続くステップ54でこのインクリメントしたプログラム
カウンタ5の値をEPC22に格納する。そしてステッ
プ44に進む。
The process then proceeds to step 52, in which the instruction code from the memory 14 that has been read out and set in the memory data register 9 is transferred to the internal bus in accordance with the memory 14 reading start command instructed to the memory control circuit 13 in step 46. 10
is stored in the instruction buffer/20 via the . Then, in step 53, the program counter 5 is incremented by one,
In the following step 54, the incremented value of the program counter 5 is stored in the EPC 22. The process then proceeds to step 44.

以E説明した様に本実施例によれば、メモリ14より読
み込んだ命令コードをCPU内の命令バッファ20内に
格納しておくため、短い処理ループ(はとんどの場合は
短い処理ループで実行される)の場合にはメモリ14に
対するアクセスを必要とせず、命令バララフ20内の命
令コードを読み出すのみでこの処理を実行でき、その間
アドレスバス、データバス等を専有する時間、又メモリ
14を専有する時間も減らすことができる。
As explained below, according to this embodiment, since the instruction code read from the memory 14 is stored in the instruction buffer 20 in the CPU, execution is performed in a short processing loop (in most cases, the instruction code is executed in a short processing loop). ), this process can be executed simply by reading the instruction code in the instruction barrage 20 without requiring access to the memory 14, and during this time the address bus, data bus, etc. are occupied, and the memory 14 is occupied. You can also reduce the amount of time you spend doing it.

このため車にCPUそのものの処理時間の向上のみなら
ず、!続I10装置とメモリ間のDMA転送(タイレフ
トメモリアクセス転送)も非常に効率よく、かつ短時間
で行なうことができる。
This not only improves the processing time of the CPU itself in the car! DMA transfer (tie-left memory access transfer) between the secondary I10 device and the memory can also be performed very efficiently and in a short time.

また本実施例に係る処理を実行してもプログラムには何
らの変更も必要なく、かつプログラムの処理スピードが
早くなるという大きな効果が得られる。
Moreover, even if the processing according to this embodiment is executed, no changes are required to the program, and the great effect of increasing the processing speed of the program can be obtained.

し効果」 以上説明した様に本発明によれば、プログラムに何らの
変更を必要とせずそのプログラム処理時間を高速化でき
る効率のよい演算処置装置を提供できる。
Effects As described above, according to the present invention, it is possible to provide an efficient arithmetic processing device that can speed up the program processing time without requiring any changes to the program.

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

第1図は従来の演算処置装置の命令読込み処理部のブロ
ック構成図。 第2図は本発明に係る一実施例のブロック構成図。 第3図は本実施例の命令バッファと5PC1EPCとの
関係を示す図。 $4図は本実施例の命令解析及び命令処理を示すフロー
チャートである。 図中2.3・・・制御回路、5・・・プログラムカウン
タ、6・・・命令レジスタ、7・・・命令デコーダ、1
0・・・内部パス、13・・・メモリ制御回路、14・
・・メモリ、20・・・命令バッファ、21・・・SP
C,22・・・EPC123,24・・・比較回路であ
る。 特許出願人  キャノン株式会社 第3図 第4図
FIG. 1 is a block diagram of an instruction reading processing section of a conventional arithmetic processing device. FIG. 2 is a block diagram of an embodiment according to the present invention. FIG. 3 is a diagram showing the relationship between the instruction buffer and 5PC1EPC of this embodiment. Figure $4 is a flowchart showing instruction analysis and instruction processing in this embodiment. In the figure 2.3...Control circuit, 5...Program counter, 6...Instruction register, 7...Instruction decoder, 1
0... Internal path, 13... Memory control circuit, 14.
...Memory, 20...Instruction buffer, 21...SP
C, 22... EPC123, 24... Comparison circuit. Patent applicant Canon Co., Ltd. Figure 3 Figure 4

Claims (2)

【特許請求の範囲】[Claims] (1)記憶手段より命令コードを読み込み、該読み込ん
だ命令コードに従い演算処理を実行する演算処理装置で
あつて、前記記憶手段より読み込み実行する命令コード
列を順次記憶する命令記憶手段と、該命令記憶手段に記
憶されている最初と最後の命令コードを読み込んだ前記
記憶手段のアドレス値を記憶するアドレス記憶手段と、
次に実行すべき命令コードが前記命令記憶手段に記憶さ
れているか否かを判別する判別手段とを備え、該判別手
段が記憶されていると判別した時には前記命令記憶手段
より前記命令コードを読み込み実行することを特徴とす
る演算処理装置。
(1) An arithmetic processing device that reads an instruction code from a storage means and executes arithmetic processing according to the read instruction code, an instruction storage means that sequentially stores an instruction code string to be read and executed from the storage means, and the instruction address storage means for storing address values of the storage means that have read the first and last instruction codes stored in the storage means;
determination means for determining whether or not an instruction code to be executed next is stored in the instruction storage means; when the determination means determines that the instruction code is stored, the instruction code is read from the instruction storage means; An arithmetic processing device characterized by executing.
(2)記憶手段より読み込み実行する命令コードが命令
記憶手段に記憶の命令コード以外に分岐する命令の場合
には該分岐命令より新たに前記命令記憶手段に記憶させ
、以前に記憶の命令コードはクリアすることを特徴とす
る特許請求の範囲第1項記載の演算処理装置。
(2) If the instruction code read from the storage means and executed is an instruction that branches to an instruction code other than the instruction code stored in the instruction storage means, a new instruction code from the branch instruction is stored in the instruction storage means, and the previously stored instruction code is The arithmetic processing device according to claim 1, wherein the arithmetic processing device clears the information.
JP3524585A 1985-02-26 1985-02-26 Arithmetic processing unit Pending JPS61195429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3524585A JPS61195429A (en) 1985-02-26 1985-02-26 Arithmetic processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3524585A JPS61195429A (en) 1985-02-26 1985-02-26 Arithmetic processing unit

Publications (1)

Publication Number Publication Date
JPS61195429A true JPS61195429A (en) 1986-08-29

Family

ID=12436451

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3524585A Pending JPS61195429A (en) 1985-02-26 1985-02-26 Arithmetic processing unit

Country Status (1)

Country Link
JP (1) JPS61195429A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4998197A (en) * 1987-07-06 1991-03-05 Hitachi, Ltd. Data processor with fast break in program execution by selectively processing either external control signal or external interrupt

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4998197A (en) * 1987-07-06 1991-03-05 Hitachi, Ltd. Data processor with fast break in program execution by selectively processing either external control signal or external interrupt

Similar Documents

Publication Publication Date Title
US4476525A (en) Pipeline-controlled data processing system capable of performing a plurality of instructions simultaneously
US4879646A (en) Data processing system with a pipelined structure for editing trace memory contents and tracing operations during system debugging
JPS63301339A (en) Computer device
JPH0248931B2 (en)
JPH0527971A (en) Information processor
JPS62115542A (en) Information processor
EP0240606A2 (en) Pipe-line processing system and microprocessor using the system
JPS61195429A (en) Arithmetic processing unit
JPH0363092B2 (en)
JP3490005B2 (en) Instruction control apparatus and method
EP0012242B1 (en) Digital data processor for word and character oriented processing
EP0136699B1 (en) Programmable controller
JPS5826584B2 (en) data processing equipment
US5978925A (en) System for improving processing efficiency in a pipeline by delaying a clock signal to a program counter and an instruction memory behind a system clock
JP2783285B2 (en) Information processing device
JP2812610B2 (en) Pipeline control method
JP2883465B2 (en) Electronic computer
US5854919A (en) Processor and its operation processing method for processing operation having bit width exceeding data width of bit storage unit
JPS59188779A (en) Vector processor
JPS6391756A (en) Partial write instruction processing system for storage device
JPS6145359A (en) Information processor
JPS59208650A (en) Single chip microprocessor
JPS61229125A (en) Arithmetic processing unit
JPS61217833A (en) Arithmetic processor
JPS6120907B2 (en)