JPH023822A - data processing equipment - Google Patents
data processing equipmentInfo
- Publication number
- JPH023822A JPH023822A JP63153248A JP15324888A JPH023822A JP H023822 A JPH023822 A JP H023822A JP 63153248 A JP63153248 A JP 63153248A JP 15324888 A JP15324888 A JP 15324888A JP H023822 A JPH023822 A JP H023822A
- Authority
- JP
- Japan
- Prior art keywords
- data
- flag
- bus
- data bus
- register file
- 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
Links
Landscapes
- Advance Control (AREA)
- Executing Machine-Instructions (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明はプロセッサのロード命令を実行するデータ処理
装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a data processing device that executes a load instruction of a processor.
従来の技術
第3図は従来のデータ処理装置の構成図を示すものであ
り、1は外部メモリのデータを保持するデータバッファ
、4はデータを転送するデータバスA、 5はデータ
を転送するデータバスB、 7はデータを転送するデ
ータバスC,2はデータバスC7のデータを転送する入
力データバス、3は入力データバス2のデータの書込み
とデータバスA、データバスBへのデータの読出しを行
い複数個のレジスタを含むレジスタファイル、6はデー
タバスA4. データバスB5を入力し演算を行ない
、その結果をデータバスC7に出力する演算回路、8は
演算回路6の結果からフラグを生成するフラグ生成回路
であ、る。BACKGROUND ART FIG. 3 shows a configuration diagram of a conventional data processing device, in which 1 is a data buffer that holds data in an external memory, 4 is a data bus A that transfers data, and 5 is a data bus that transfers data. Bus B, 7 is a data bus C for transferring data, 2 is an input data bus for transferring data from data bus C7, 3 is for writing data on input data bus 2 and reading data on data bus A and data bus B. A register file 6 includes a plurality of registers, and data bus A4. An arithmetic circuit receives the data bus B5, performs arithmetic operations, and outputs the result to the data bus C7; 8 is a flag generation circuit that generates a flag from the result of the arithmetic circuit 6;
以上のように構成された従来の装置においては、外部メ
モリのデータをレジスタファイル3に書込むロード命令
の場合には、外部メモリのデータを保持するデータバッ
ファ1のデータがデータバスB5に送出された後、演算
回路6を通過しデータバスC7を経由してレジスタファ
イル3に書込まれる。ここで、このロード命令でMSB
フラグなどのフラグ反映が必要となる場合は、演算回路
6の結果からフラグ生成回路8で必要となるフラグを生
成することになる。In the conventional device configured as described above, in the case of a load instruction to write data in the external memory to the register file 3, the data in the data buffer 1 holding the data in the external memory is sent to the data bus B5. After that, it passes through the arithmetic circuit 6 and is written into the register file 3 via the data bus C7. Here, with this load instruction, the MSB
If it is necessary to reflect a flag, etc., the flag generation circuit 8 generates the necessary flag from the result of the arithmetic circuit 6.
また、第4図は第3図でのバイブライン動作であり、外
部バス、演算実行、ライト(レジスタファイル)ステー
ジについて示しである。ここでn番目がロード命令であ
るとする。n−1番目の命令の演算実行後、n番目のソ
ースデータが外部バスに出力され、演算実行ステージの
後ライトステージになる。このため、ロード命令実行時
にはパイプラインに空きが生じてしまう。Further, FIG. 4 shows the vibe line operation in FIG. 3, and shows the external bus, arithmetic execution, and write (register file) stage. Here, it is assumed that the nth instruction is a load instruction. After the operation of the (n-1)th instruction is executed, the nth source data is output to the external bus, and the write stage follows the operation execution stage. Therefore, when a load instruction is executed, an empty space occurs in the pipeline.
発明が解決しようとする課題
このように上記のような構成では、フラグ反映が必要な
ロード命令を実行するとき、データバッフ1のデータは
演算回路を経由してレジスタファイルに書込まれるため
、ロード命令の実行に時間がかかり、パイプラインに空
きが生じるという課題を存していた。Problems to be Solved by the Invention In the above configuration, when executing a load instruction that requires flag reflection, the data in data buffer 1 is written to the register file via the arithmetic circuit. The problem was that it took a long time to execute the instructions, resulting in empty space in the pipeline.
本発明はかかる点に鑑み、ロード命令を高速に実行でき
るデータ処理装置を提供することを目的とする。In view of this, an object of the present invention is to provide a data processing device that can execute load instructions at high speed.
課題を解決するための手段
本発明は外部バスのデータを直接入力するレジスタファ
イルと、前記レジスタファイルの入力からフラグを生成
するフラグ生成回路とを備えたデータ処理装置である。Means for Solving the Problems The present invention is a data processing device comprising a register file into which data from an external bus is directly input, and a flag generation circuit which generates a flag from the input of the register file.
作用
本発明は前記した構成により、外部バスのデータを直接
レジスタファイルに書込むと同時にフラグ生成回路でフ
ラグを生成することでフラグ反映が必要なロード命令を
高速に実行することができる。Effect of the Invention With the above-described configuration, the present invention allows data on an external bus to be written directly to a register file and at the same time generates a flag in a flag generation circuit, thereby making it possible to execute a load instruction requiring flag reflection at high speed.
実施例
第1図は本発明の実施例におけるデータ処理装置の構成
図である。第1図において、4はデータを転送するデー
タバスA、 5はデータを転送するデータバスB、
7はデータを転送するデータバスC,2はデータバス
C7及び外部バスのデータを転送する入力データバス、
3は入力データバス2のデータの書込みとデータバスん
データバスBへのデータの読出しを行い複数個のレジ
スタを含むレジスタファイル、6はデータバスA4.
データバスB5を入力し演算を行ない、その演算結果
をデータバスC7に出力する演算回路、8は入力データ
バス2のデータを入力しフラグを生成するフラグ生成回
路である。Embodiment FIG. 1 is a block diagram of a data processing apparatus in an embodiment of the present invention. In Figure 1, 4 is a data bus A that transfers data, 5 is a data bus B that transfers data,
7 is a data bus C for transferring data; 2 is an input data bus for transferring data from the data bus C7 and an external bus;
3 is a register file that writes data to input data bus 2 and reads data to data bus B, and includes a plurality of registers; 6, data bus A4.
A calculation circuit inputs the data bus B5, performs calculations, and outputs the calculation result to the data bus C7. Reference numeral 8 denotes a flag generation circuit that receives data from the input data bus 2 and generates a flag.
以上のように構成された本実施例について、以下その動
作を説明する。The operation of this embodiment configured as above will be described below.
外部メモリのデータをレジスタファイルに書込むロード
命令の場合には、外部バスのデータは入力データバス2
に送出され、レジスタファイル3に書込まれる。ここで
、このロード命令でMSBフラグなどのフラグ反映が必
要となる場合は、フラグ生成回路8において直ちに必要
となるフラグを生成する。In the case of a load instruction that writes external memory data to a register file, the external bus data is input to input data bus 2.
and written to register file 3. Here, if this load instruction requires reflection of a flag such as the MSB flag, the flag generation circuit 8 immediately generates the necessary flag.
また通常のレジスタ間演算においても、入力データバス
に演算結果が出力されたときにフラグ生成回路8でフラ
グを生成することができる。Further, even in normal inter-register calculations, the flag generation circuit 8 can generate a flag when the calculation result is output to the input data bus.
第2図は本実施例でのパイプライン動作であり、外部バ
ス、演算実行、ライト(レジスタファイル)ステージに
ついて示しである。ここでn番目がロード命令であると
する。n−1番目の命令の演算実行後、n番目のソース
データが外部バスに出力された後、直ちにライトステー
ジになる。このため、ロード命令実行時にも効率良くパ
イプライン動作が実行できることになる。FIG. 2 shows the pipeline operation in this embodiment, and shows the external bus, arithmetic execution, and write (register file) stages. Here, it is assumed that the nth instruction is a load instruction. After the n-1st instruction is executed and the nth source data is output to the external bus, the write stage is immediately entered. Therefore, pipeline operations can be efficiently executed even when executing a load instruction.
以上のように、本実施例によれば、外部バスから直接デ
ータをレジスタファイルに書込むと同時にフラグ生成回
路でフラグを生成する構成により、フラグ反映が必要な
ロード命令は高速になり、効率良くパイプライン動作が
実行できる。As described above, according to this embodiment, with the configuration in which data is written directly from the external bus to the register file and the flag is generated by the flag generation circuit at the same time, load instructions that require flag reflection can be executed at high speed and efficiently. Pipeline operations can be executed.
発明の詳細
な説明したように、本発明によれば、外部バスから直接
データをレジスタファイルに書込むと同時にフラグ生成
回路でフラグを生成することでフラグ反映が必要なロー
ド命令を高速に実行することができ、その実用的効果は
大きい。As described in detail, according to the present invention, by writing data directly from an external bus to a register file and simultaneously generating a flag in a flag generation circuit, a load instruction that requires flag reflection can be executed at high speed. The practical effects are great.
第1図は本発明の一実施例におけるデータ処理装置の構
成を示すブロック図、第2図は第1図のパイプライン動
作を示すタイミング図、第3図は従来のデータ処理装置
の構成を示すブロック図、第4図は第3図のパイプライ
ン動作を示すタイミング図である。
1・・・データバッフハ 2・・・入力データバス、3
・・・レジスタファイル、4・・・データバスA15・
・・データバスB16・・・演算回路、7・・・データ
バスC,8・・・フラグ生成回路。FIG. 1 is a block diagram showing the configuration of a data processing device in an embodiment of the present invention, FIG. 2 is a timing diagram showing the pipeline operation of FIG. 1, and FIG. 3 is a diagram showing the configuration of a conventional data processing device. The block diagram, FIG. 4, is a timing diagram showing the pipeline operation of FIG. 1...Data buffer 2...Input data bus, 3
...Register file, 4...Data bus A15.
...Data bus B16...Arithmetic circuit, 7...Data bus C, 8...Flag generation circuit.
Claims (1)
前記レジスタファイルの入力からフラグを生成するフラ
グ生成回路とを備え、ロード命令を高速に実行すること
を特徴とするデータ処理装置。A register file that directly inputs external bus data,
A data processing device, comprising: a flag generation circuit that generates a flag from input of the register file, and executes a load instruction at high speed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63153248A JPH023822A (en) | 1988-06-21 | 1988-06-21 | data processing equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63153248A JPH023822A (en) | 1988-06-21 | 1988-06-21 | data processing equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH023822A true JPH023822A (en) | 1990-01-09 |
Family
ID=15558304
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63153248A Pending JPH023822A (en) | 1988-06-21 | 1988-06-21 | data processing equipment |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH023822A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100770203B1 (en) * | 2005-12-19 | 2007-10-25 | 전북대학교산학협력단 | Phosphate uptake of plants using tobacco-derived phosphate transporter genes and transgenic plants with increased phosphate uptake using this method |
| JP2013174942A (en) * | 2012-02-23 | 2013-09-05 | Le Tekku:Kk | Cpu including multiple conditional flags |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5054260A (en) * | 1973-05-14 | 1975-05-13 | ||
| JPS6155731A (en) * | 1984-08-28 | 1986-03-20 | Fujitsu Ltd | Processor provided with condition code discriminating function |
-
1988
- 1988-06-21 JP JP63153248A patent/JPH023822A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5054260A (en) * | 1973-05-14 | 1975-05-13 | ||
| JPS6155731A (en) * | 1984-08-28 | 1986-03-20 | Fujitsu Ltd | Processor provided with condition code discriminating function |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100770203B1 (en) * | 2005-12-19 | 2007-10-25 | 전북대학교산학협력단 | Phosphate uptake of plants using tobacco-derived phosphate transporter genes and transgenic plants with increased phosphate uptake using this method |
| JP2013174942A (en) * | 2012-02-23 | 2013-09-05 | Le Tekku:Kk | Cpu including multiple conditional flags |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4780819A (en) | Emulator system utilizing a program counter and a latch coupled to an emulator memory for reducing fletch line of instructions stored in the emulator memory | |
| KR970012203A (en) | Data processing system for executing trace functions and their methods | |
| JPS6243744A (en) | Microcomputer | |
| JPH0248732A (en) | Micro processor for instruction pipe line system | |
| JPH05342084A (en) | Device and method for storing data | |
| JPH06124207A (en) | Subroutine branch instruction execution method | |
| JP2657947B2 (en) | Data processing device | |
| JPS6226730B2 (en) | ||
| KR100246465B1 (en) | Apparatus and method for reducing cycle of microprocessor stack order | |
| JPH02112054A (en) | data processing equipment | |
| JPH04181454A (en) | Data access controller | |
| JP2866143B2 (en) | Dynamic pipeline processing unit | |
| JPS6086625A (en) | Data processing device | |
| JPH02230326A (en) | Pipe line information processor | |
| JPS62221751A (en) | Paging system | |
| JPH0241522A (en) | Function arithmetic processor | |
| JPH05173874A (en) | Information processing equipment | |
| JP2001100991A (en) | Digital signal processor | |
| JPS6014335A (en) | information processing equipment | |
| JPS6343782B2 (en) | ||
| JPH01195563A (en) | Bus controller | |
| JPS61240338A (en) | Hardware event processor device | |
| JPS60142748A (en) | Operation processing unit | |
| JPH04132540U (en) | Stack pointer control circuit | |
| JPH05204638A (en) | Pipeline processor |