JPH03268024A - Microprocessor, information processor and graphic display device using it - Google Patents

Microprocessor, information processor and graphic display device using it

Info

Publication number
JPH03268024A
JPH03268024A JP2067064A JP6706490A JPH03268024A JP H03268024 A JPH03268024 A JP H03268024A JP 2067064 A JP2067064 A JP 2067064A JP 6706490 A JP6706490 A JP 6706490A JP H03268024 A JPH03268024 A JP H03268024A
Authority
JP
Japan
Prior art keywords
register
arithmetic
instruction
bit
unit
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
JP2067064A
Other languages
Japanese (ja)
Inventor
Masamichi Fukaya
深谷 正道
Akihiro Katsura
晃洋 桂
Kazuyoshi Koga
和義 古賀
Takashi Hotta
多加志 堀田
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 Ltd
Original Assignee
Hitachi 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 filed Critical Hitachi Ltd
Priority to JP2067064A priority Critical patent/JPH03268024A/en
Publication of JPH03268024A publication Critical patent/JPH03268024A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute the picture element arithmetic operation at high speed by a small number of register resources by allocating plural arithmetic units having a multiplying function to one register unit, and actuating them simultaneously by an exclusive instruction. CONSTITUTION:Plural arithmetic units 2 - 5 having a multiplying function are provided, and also, one register designated by an instruction is divided into plural areas, and each arithmetic unit 2 - 5 is allowed to correspond to the respective areas. For instance, a register unit is divided into four areas, and the arithmetic units 2 - 5 are connected to each of them through data lines 10 - 13. Also, in an instruction controller 6, an instruction for actuating simultaneously the multiplying functions of the arithmetic units 2 - 5 is registered in advance, and in accordance with this instruction, a general arithmetic unit 1 executes such processings as an arithmetic operation and a data transfer, etc., to all areas of the register unit. In such a way, the information processing can be executed efficiently.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、電子技術を用いた情報処理装置に係り、特に
高速に図形データなどを処理することを目的としたマイ
クロプロセッサおよび図形処理装置に適用できる。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an information processing device using electronic technology, and particularly to a microprocessor and a graphic processing device that are intended to process graphic data at high speed. Applicable.

〔従来の技術〕[Conventional technology]

従来の装置は、アイ・イー・イー・イー、コンピュータ
 グラフィックス アンド アプリケーション、198
9年7月号、第85頁から第94頁(IEEE Com
puter Graphics & Applicat
ions、July。
Conventional devices are described in I.E.E., Computer Graphics and Applications, 198
July 9th issue, pages 85 to 94 (IEEE Com
puter Graphics & Applications
ions, July.

1987、 pp85−94)に紹介されているマイク
ロプロセッサのように、単純な加算について一つのレジ
スタを複数の領域に分割し、それぞれに対応する複数の
加算器を用いてデータを処理する技術によって、並列画
素演算などの情報処理を行なっていた。
1987, pp. 85-94), technology that divides one register into multiple areas for simple addition and processes data using multiple adders corresponding to each area. It performed information processing such as parallel pixel calculations.

この装置は、グラフィックス処理における輝度補間など
の単純な処理を行うのに適しているが、透明感を描出す
るアルファブレンド処理のように乗算を要する処理にお
いては、多数の命令の組合せによって画素計算用の乗算
プログラムを記述する必要があり、効果的な処理が困難
であった。
This device is suitable for performing simple processing such as brightness interpolation in graphics processing, but in processing that requires multiplication, such as alpha blending processing to create transparency, pixel calculations are performed using a combination of many instructions. It was necessary to write a multiplication program for this purpose, making effective processing difficult.

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

本発明は、従来技術では効率的な処理が困難であった乗
算を含む並列画素演算などの情報処理を効率的に実行で
きる手段を提供するものである。
The present invention provides a means for efficiently performing information processing such as parallel pixel operations including multiplication, which have been difficult to perform efficiently using conventional techniques.

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

上記目的を達成するために、本発明は、複数のレジスタ
からなるレジスタ群と、当該レジスタ群から一つのレジ
スタ単位を選択するレジスタ選択装置と、前記レジスタ
内の異なるビット列の演算を行う少なくとも乗算機能を
有する複数の演算装置と、前記レジスタ単位の全ビット
長に対してデータ処理を行う汎用演算装置と、前記レジ
スタ群、汎用演算装置及び演算装置を制御する制御装置
とから、情報処理装置を構成したものである。
To achieve the above object, the present invention provides a register group consisting of a plurality of registers, a register selection device that selects one register unit from the register group, and at least a multiplication function that performs operations on different bit strings in the register. An information processing device is configured from a plurality of arithmetic devices having a plurality of arithmetic devices, a general-purpose arithmetic device that performs data processing on the total bit length of the register unit, and a control device that controls the register group, the general-purpose arithmetic device, and the arithmetic device. This is what I did.

〔作用〕[Effect]

乗算機能を有する複数の演算装置を設け、さらに並列画
素演算におけるレジスタ使用効率を向上させるために、
命令で指定された一つのレジスタを複数の領域に分割し
、それぞれの領域に前記演算装置を対応させたものであ
る。演算結果の一部のビット列のみをレジスタに格納す
る手段を設けた場合には、レジスタの利用効率はさらに
高まる。
In order to provide multiple arithmetic units with multiplication functions and further improve register usage efficiency in parallel pixel operations,
One register specified by an instruction is divided into a plurality of areas, and each area is associated with the arithmetic unit. If a means for storing only a part of the bit string of the operation result in the register is provided, the register utilization efficiency will be further improved.

また、桁上がり信号などの演算補助信号を伝える信号線
を各演算装置間に設けた場合には1本発明で用いる演算
装置を複数個組み合わせることによって、よりビット長
の大きな演算装置として使用できる。これらのハードウ
ェアは制御装置によって制御される。
Furthermore, if a signal line for transmitting arithmetic auxiliary signals such as a carry signal is provided between each arithmetic unit, a plurality of arithmetic units used in the present invention can be combined to form an arithmetic unit with a larger bit length. These hardwares are controlled by a control device.

本発明による情報処理装置はマイクロプロセッサの構成
要素とすることができる。その場合にはマイクロプロセ
ッサは専用の命令を備え、それを解釈する制御装置を内
部に持つ。
The information processing device according to the present invention can be a component of a microprocessor. In that case, the microprocessor is equipped with dedicated instructions and has an internal control unit that interprets them.

以上の情報処理装置を陰極線管を用いた表示装置や印字
装置に適用することにより、高性能な図形処理装置を実
現できる。
By applying the above information processing device to a display device or a printing device using a cathode ray tube, a high-performance graphic processing device can be realized.

〔実施例〕〔Example〕

第1図は本発明による情報処理装置の一実施例を示す構
成図である。第1図において2,3,4゜5は演算装置
であり、それぞれ乗算機能を有する。
FIG. 1 is a configuration diagram showing an embodiment of an information processing apparatus according to the present invention. In FIG. 1, numerals 2, 3, and 4.5 are arithmetic units, each having a multiplication function.

汎用演算装置1は、データバス15に接続され、命令制
御装置6は、命令バス16に接続されている。命令バス
とデータバスは共用することもある。
General-purpose arithmetic unit 1 is connected to data bus 15 , and instruction control device 6 is connected to instruction bus 16 . The command bus and data bus may be shared.

命令制御装置6は制御線9によって、命令に応じた制御
信号を演算装置2,3,4,5、レジスタ選択装置7お
よび汎用演算装置1に伝達し、それぞれの動作を制御す
る。命令制御装置6には演算装置2,3,4.5の乗算
機能を同時に起動する命令が登録されている。制御4I
9は各装置に対し独立に与えられることもある。レジス
タ選択装置7は、命令に従ってレジスタ群8の中から必
要なレジスタ単位を選択する。14はレジスタ群制御線
である。汎用演算袋W1が32ビツトのプロセッサの場
合、レジスタ単位は原則として32ビツトであるが一1
倍精度演算などで用いるレジスタペアではレジスタ単位
を64ビツトや128ビツトとする場合もある。
The instruction control device 6 transmits control signals corresponding to the instructions to the arithmetic devices 2, 3, 4, and 5, the register selection device 7, and the general-purpose arithmetic device 1 via a control line 9, thereby controlling their respective operations. Registered in the instruction control device 6 is an instruction for simultaneously activating the multiplication functions of the arithmetic units 2, 3, 4.5. Control 4I
9 may be given to each device independently. The register selection device 7 selects a necessary register unit from the register group 8 according to the instruction. 14 is a register group control line. In the case of a processor with a 32-bit general purpose arithmetic bag W1, the register unit is 32 bits in principle, but
In register pairs used in double-precision operations, the register unit may be 64 bits or 128 bits.

本発明ではレジスタ単位を複数のビット列に分割して利
用する。分割された各領域に対応して演算装置を設ける
。第1図に示した実施例では、レジスタ単位を4領域に
分割し、それぞれに演算装置2,3,4.5をデータ線
10,11,12゜13を介して接続する。レジスタ単
位の分割数は、命令によって指定できる。演算装置の総
数は、第1図に示した実施例では4であるが、レジスタ
単位の分割数に応じて必要数だけ設ける。汎用演算装置
1は、レジスタ単位の全領域に対して演算やデータ転送
などの処理を行う。
In the present invention, a register unit is divided into a plurality of bit strings and used. An arithmetic unit is provided corresponding to each divided area. In the embodiment shown in FIG. 1, the register unit is divided into four areas, and arithmetic units 2, 3, 4.5 are connected to each area via data lines 10, 11, 12, 13. The number of divisions in register units can be specified by an instruction. The total number of arithmetic units is four in the embodiment shown in FIG. 1, but as many as necessary are provided depending on the number of divisions in register units. The general-purpose arithmetic unit 1 performs processing such as arithmetic operations and data transfer on the entire register unit area.

このような構成のシステムを図形データの演算に用いる
と、極めて高速なグラフィックス処理を実現できる。以
下、汎用演算袋W1が32ビツトプロセツサのシステム
において、コンビュータグラフィックスで多用されるア
ルファブレンド処理を実行した場合を例として説明する
。一般に画素は、R(赤)、G(緑)、B(青)の3要
素によって表現され、それぞれ例えば8ビツトのデータ
を割り当てる。アルファブレンド処理は、二つの画素デ
ータ(R1,Gl、Bl)、(R2,G2゜B2)をP
:Qの比で混ぜ合わせて透明感を描出する手法で、混合
後の画素データ(R3,G3゜B3)は次式で表される
When a system with such a configuration is used to calculate graphic data, extremely high-speed graphics processing can be achieved. Hereinafter, a case will be described as an example in which alpha blend processing, which is often used in computer graphics, is executed in a system where the general-purpose calculation bag W1 is a 32-bit processor. Generally, a pixel is expressed by three elements, R (red), G (green), and B (blue), and each is assigned, for example, 8-bit data. The alpha blend process converts two pixel data (R1, Gl, Bl) and (R2, G2°B2) into P
:Q ratio is used to create a sense of transparency, and the pixel data (R3, G3°B3) after mixing is expressed by the following equation.

R3=PXR1+QXR2 G3=PXG1+QXG2 B3=PXB1+QXB2 第6図は本発明に係る情報処理装置によって高速化でき
るアルファブレンドの模式図である。図中の小丸で囲ま
れた部分は画素を表す。この処理を32ビツトの汎用演
算装置によって行なうと6回の乗算と3回の加算を実行
しなければならない。
R3=PXR1+QXR2 G3=PXG1+QXG2 B3=PXB1+QXB2 FIG. 6 is a schematic diagram of alpha blending that can be accelerated by the information processing apparatus according to the present invention. The parts surrounded by small circles in the figure represent pixels. If this processing were to be performed by a 32-bit general-purpose arithmetic unit, six multiplications and three additions would have to be performed.

また、レジスタ単位である32ビット空間に8ビツトデ
ータを一つずつ割り当てると残りの24ビツト分が無駄
になってしまう欠点があった。本発明では、レジスタ単
位の32ビット空間に8ピントのデータを最大4個−度
に割当て、それぞれのデータを担当する乗算機能を有す
る演算装置2゜3.4.5を設けて並列に処理すること
によって高速化およびレジスタ利用効率の向上を図った
Another disadvantage is that when 8-bit data is allocated one by one to a 32-bit space, which is a register unit, the remaining 24 bits are wasted. In the present invention, 8 pints of data are allocated to a 32-bit space in register units at a maximum of 4 times, and an arithmetic unit 2゜3.4.5 having a multiplication function is provided to handle each data in parallel. By doing this, we aimed to increase speed and improve register usage efficiency.

また、複数の演算装置を同時に起動する専用の命令を備
えることによって、効率の良いプログラミングが可能と
なる。従来技術の中には、8ビツト単位の加算器を並列
に動作させることによって加算の回数を減らすことを可
能にしたものは存在したが、演算時間の大部分を占める
乗算については何ら有効な手段を持っていなかった。従
来技術では、加算の並列化のためのデータ構造を定義し
て32ビット空間に4個の8ビツトデータを割当てたと
しても、同じデータ構造に対する乗算手段を持っていな
いために、加算部分と乗算部分との間のデータ受渡しの
際にデータ型変換処理を要するなどの欠点があった。し
かし、本発明ではこれらの欠点は全て解決される。以上
に述べた例は、32ビツトの汎用演算装置と8ビツトの
演算装置を組み合わせた例であるが、これらのビット長
はシステムの設計者によって任意に決められる。
Furthermore, by providing a dedicated instruction for activating multiple arithmetic units at the same time, efficient programming becomes possible. Some conventional technologies have made it possible to reduce the number of additions by operating 8-bit adders in parallel, but there is no effective means for multiplication, which takes up most of the calculation time. I didn't have it. In the conventional technology, even if a data structure for parallelization of addition is defined and four pieces of 8-bit data are allocated in a 32-bit space, the addition part and the multiplication part are There were drawbacks such as the need for data type conversion processing when transferring data between parts. However, in the present invention all these drawbacks are solved. The example described above is an example in which a 32-bit general-purpose arithmetic unit and an 8-bit arithmetic unit are combined, but the bit lengths of these can be arbitrarily determined by the system designer.

第2図は、演算装置2,3,4.5が実行すべき演算内
容の一例を示す図である。21は被乗数、22は乗数、
23は演算結果である。被乗数21は32ビツトの領域
を8ビツトずつ区切り、4個の整数データa、b、c、
dが割り当てられている。乗数22には同様にev f
+ gv hが割り当てられている。演算結果23も8
ビツトずつ区切られて、aXe、bXf、cXg、dX
hのそれぞれ上位8ビツトが与えられる。乗数22.被
乗数21、演算結果23は、レジスタ群8の内部に格納
される。また、乗数22において一つの8ビツトデータ
hのみを指定し、演算結果23にdXh、bXh、cX
h、dXhの上位8ビツトを格納する命令を定義すれば
、一つの乗数が4つの被乗数に共通な場合の演算効率を
向上できる。
FIG. 2 is a diagram showing an example of the calculation contents to be executed by the calculation devices 2, 3, 4.5. 21 is the multiplicand, 22 is the multiplier,
23 is the calculation result. The multiplicand 21 divides a 32-bit area into 8-bit units, and stores four integer data a, b, c,
d is assigned. Similarly, for multiplier 22, ev f
+ gv h is assigned. Operation result 23 is also 8
Separated by bit, aXe, bXf, cXg, dX
The upper 8 bits of each h are given. Multiplier 22. The multiplicand 21 and the calculation result 23 are stored inside the register group 8. Also, only one 8-bit data h is specified in the multiplier 22, and the calculation result 23 is dXh, bXh, cX
By defining an instruction to store the upper 8 bits of h and dXh, calculation efficiency can be improved when one multiplier is common to four multiplicands.

以上の例では、積の上位8ビツトを演算結果としたが、
下位ビットを演算結果としてレジスタに格納する場合も
ある。レジスタペアを用いれば64ビツトの空間に4組
の8ビツト乗算で得られた16ビツトの積4組を格納す
ることもできる。
In the above example, the upper 8 bits of the product were used as the calculation result, but
In some cases, the lower bits are stored in a register as the result of the operation. By using register pairs, it is also possible to store four sets of 16-bit products obtained by four sets of 8-bit multiplications in a 64-bit space.

乗数22、被乗数21のデータとしては、符号付き整数
、符号なし整数、浮動小数点、固定小数点など、様々な
型に適用可能である。また、ビット長も8ビツト、16
ビツト、24ビツト、32ビツト、64ビツト、128
ビツト、13ビツトなどシステムに適した任意の値を選
択することができる。命令制御装置6は、命令バス16
から得られた情報に従ってデータの型、ビット長を判断
する機能を持つ。
The data for the multiplier 22 and the multiplicand 21 can be of various types, such as signed integers, unsigned integers, floating point numbers, fixed point numbers, etc. Also, the bit length is 8 bits and 16 bits.
bit, 24 bit, 32 bit, 64 bit, 128
Any value suitable for the system, such as 13 bits or 13 bits, can be selected. The command control device 6 has a command bus 16
It has the function of determining the data type and bit length according to the information obtained from the data.

演算装置2,3,4.5は、命令制御装置6によって制
御されるので乗算機能に加えて加減算機能や積和機能除
算機能を併せて持つことが容易となる。
Since the arithmetic units 2, 3, and 4.5 are controlled by the instruction control unit 6, they can easily have addition/subtraction functions, product-sum functions, and division functions in addition to multiplication functions.

積和演算を実行するための演算装置2,3,4゜5はそ
れぞれ加算器と乗算器が接続された構造となっている。
The arithmetic units 2, 3, and 4.5 for executing the product-sum operation each have a structure in which an adder and a multiplier are connected.

第7図に積和演算を実行させるために演算装置2,3,
4.5がとるべき構成の一実施例を示す。71は加算器
、72は乗算器である。
In FIG. 7, arithmetic units 2, 3,
An example of the configuration that 4.5 should take is shown below. 71 is an adder, and 72 is a multiplier.

以上に述べた演算内容に付随する情報を示すフラグは、
汎用演算装置1の内部に持つ場合と、演算装置2,3,
4.5にそれぞれ持つ場合と、レジスタ群8の内部に持
つ場合と、外部に信号として出力する場合などがあり、
システムによっては特にフラグを定義しないこともある
。第8図は汎用レジスタにフラグを格納するフラグ方式
の一実施例である。rlには加算の桁上がりや減算のボ
ローを示すキャリーフラグCを、r2には符号を表すサ
インフラグSをr3には零を表現するZフラグを格納し
た例である。このようにフラグをレジスタ群8のレジス
タ単位に格納する場合、レジスタ単位を演算結果を格納
するレジスタと同型に複数の領域に分割し、対応する領
域にそれぞれの演算に付随するフラグを格納する方式を
用いれば、演算装置2,3,4.5で発生したフラグ信
号を容易にレジスタ群8に格納することができる。
The flags indicating information accompanying the calculation contents described above are:
In the case of having it inside the general-purpose arithmetic unit 1, and in the case of having it inside the arithmetic unit 2, 3,
4.5, internally in the register group 8, and externally as a signal.
Some systems do not specifically define flags. FIG. 8 shows an embodiment of a flag method for storing flags in general-purpose registers. In this example, rl stores a carry flag C indicating a carry in addition or a borrow in subtraction, r2 stores a sign flag S representing a sign, and r3 stores a Z flag representing zero. When flags are stored in register units in register group 8 in this way, the register unit is divided into multiple areas in the same shape as the registers that store operation results, and the flags associated with each operation are stored in the corresponding areas. By using the flag signals generated in the arithmetic units 2, 3, 4.5, it is possible to easily store the flag signals in the register group 8.

第3図は1本発明の他の実施例を示す構成図である。演
算補助信号線30,31,32.33は、演算装置2,
3,4.5に接続され、演算装置E2゜3.4.5のう
ち複数を組み合わせて有機的に利用する場合に用いる。
FIG. 3 is a block diagram showing another embodiment of the present invention. The calculation auxiliary signal lines 30, 31, 32.33 are connected to the calculation device 2,
3.4.5, and is used when a plurality of arithmetic units E2゜3.4.5 are combined and used organically.

例として、演算装置2,3゜4.5を8ビツトの加算器
とし、演算補助信号を桁上がり信号として、演算補助信
号線30,31゜32を用いれば、演算装置2,3,4
.5は全体として32ビツトの加算器と等価になる。こ
のとき演算補助信号線31を接続しなければ2組の16
ビツト加算器となる。また、演算装置2,3゜4.5が
8ビツトのシフト演算器の場合には、演算補助信号線3
0,31,32,33を用いることによって32ビツト
のローテーシ五ン演算器となる。以上の機能の切替は命
令制御装置6によって行われる。
For example, if the arithmetic units 2, 3, 4.5 are 8-bit adders, the arithmetic auxiliary signal is a carry signal, and the arithmetic auxiliary signal lines 30, 31, 32 are used, the arithmetic units 2, 3, 4.
.. 5 is equivalent to a 32-bit adder as a whole. At this time, if the calculation auxiliary signal line 31 is not connected, two sets of 16
It becomes a bit adder. In addition, when the arithmetic units 2 and 3°4.5 are 8-bit shift arithmetic units, the arithmetic auxiliary signal line 3
By using 0, 31, 32, and 33, it becomes a 32-bit rotary quintuple arithmetic unit. The above switching of functions is performed by the command control device 6.

第4図は、演算装置2,3,4.5のうち複数の乗算機
能を同時に起動する命令の一実施例である。オペコード
41は、演算内容に応じて定義される。また、オペラン
ド42は演算に係るデータのソースおよびデスティネー
ションとなるレジスタ単位の指定を行う。rl、r2.
r3はレジスタ単位を表す。この命令は、一つのレジス
タ単位に対し複数の乗算器が同時に割り当てられる場合
でも、1ステツプで記述できることを特徴とし、本発明
による情報処理装置がマイクロプロセッサの構成要素と
なるときに有効な手段となる。命令のオペコードやオペ
ランドは、演算装置2,3゜4.5の演算単位が8ビツ
トの場合、16ビツトの場合、演算装置が乗算だけを実
行する場合、積和演算を実行する場合などに応じて表現
が異なる複数個を定義することができる。また、命令を
構成するビット列の一部を本発明に係る処理状態と、汎
用演算装置1による処理状態を区別するために利用する
。第9図は本発明に係る処理状態に切替えるためのビッ
トを備えた命令の一実施例である。
FIG. 4 shows an example of an instruction for simultaneously activating a plurality of multiplication functions among the arithmetic units 2, 3, and 4.5. The operation code 41 is defined according to the content of the operation. Further, the operand 42 specifies a register unit as a source and destination of data related to an operation. rl, r2.
r3 represents a register unit. This instruction is characterized in that it can be written in one step even when multiple multipliers are assigned to one register unit at the same time, and is an effective means when the information processing device according to the present invention becomes a component of a microprocessor. Become. The instruction opcode and operands differ depending on whether the operation unit of the arithmetic unit 2, 3, 4.5 is 8 bits or 16 bits, if the arithmetic unit only performs multiplication, or if it performs a multiply-accumulate operation. You can define multiple items with different expressions. Further, a part of the bit string constituting the instruction is used to distinguish between the processing state according to the present invention and the processing state by the general-purpose arithmetic unit 1. FIG. 9 is an example of an instruction provided with a bit for switching to a processing state according to the present invention.

92は命令のビット列、91は処理状態切替用ビットで
ある。処理状態切替用ビットを複数個値えれば、より複
雑な制御が可能となる。
92 is an instruction bit string, and 91 is a processing state switching bit. By setting a plurality of processing state switching bits, more complex control becomes possible.

第5図は、本発明の他の実施例である。マイクロプロセ
ッサ54は、本発明に係る情報処理装置の機能を含む。
FIG. 5 shows another embodiment of the invention. The microprocessor 54 includes the functions of the information processing device according to the present invention.

記憶装置151および表示装!!52をバス53を介し
て本発明によるマイクロプロセッサ54に接続すること
によって、特に高速なアルファブレンド処理を実現する
図形表示装置が得られる。フレームメモリ55は、画素
データを記憶する。バス53に印字装置を接続すれば表
示装置52に表示された図形を印字できる印字装置が得
られる。
Storage device 151 and display device! ! By connecting 52 via bus 53 to a microprocessor 54 according to the invention, a graphics display device is obtained which provides particularly fast alpha blending processing. Frame memory 55 stores pixel data. By connecting a printing device to the bus 53, a printing device capable of printing the figures displayed on the display device 52 is obtained.

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

以上述べたように、本発明では複数の乗算機能を有する
演算装置を一つのレジスタ単位に割当て、専用の命令に
よってそれらを同時に起動できるので、少ないレジスタ
資源で高速な画素演算を実行するシステムを実現できる
。特にグラフィックスにおけるアルファブレンド処理で
は、演算時間の大幅削減、プログラムの短縮によるメモ
リ利用効率の向上などの効果がある。
As described above, in the present invention, arithmetic units with multiple multiplication functions can be assigned to one register unit and can be activated simultaneously by a dedicated instruction, thereby realizing a system that executes high-speed pixel operations with few register resources. can. In particular, alpha blend processing in graphics has the effect of significantly reducing calculation time and improving memory usage efficiency by shortening programs.

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

第1図は本発明の一実施例を示す構成図、第2図は本発
明に係る演算装置が実行する演算内容の一例を示す図、
第3図は本発明の他の実施例を示す構成図1.第4図は
本発明に係る命令の一実施例を示す図、第5図は本発明
のさらに他の実施例を示す構成図、第6図はアルファブ
レンドの模式図、第7図は積和用演算器の一実施例を示
す構成図、第8図は本発明に係るフラグ方式の一実施例
、第9図は処理状態を切替えるビットを備えた命令の一
実施例を示す図である。 1・・・汎用演算装置、2,3,4.5・・・乗算機能
を有する演算装置、6・・・命令制御装置、7・・・レ
ジスタ選択装置、8・・・レジスタ群、9・・・制御線
、10゜11.12.13・・・データ線、14・・・
レジスタ群制御線、15・・・データバス、16・・・
命令バス、21・・・被乗数、22・・・乗数、23・
・・演算結果、30.31,32,33・・・演算補助
信号線、41・・・オペコード、42・・・オペランド
、51・・・記憶装置、52・・・表示装置、53・・
・バス、54・・・マイクロプロセッサ、55・・・フ
レームメモリ、71・・・加算器、72・・・乗算器、
91・・・処理状態切替用ビッ第 4 図 第 図 5 第 図 第 図 第 図
FIG. 1 is a configuration diagram showing an embodiment of the present invention, and FIG. 2 is a diagram showing an example of calculation contents executed by the calculation device according to the invention.
FIG. 3 is a configuration diagram showing another embodiment of the present invention. Fig. 4 is a diagram showing one embodiment of the instructions according to the present invention, Fig. 5 is a block diagram showing still another embodiment of the present invention, Fig. 6 is a schematic diagram of alpha blending, and Fig. 7 is a sum of products. FIG. 8 is a diagram showing an embodiment of a flag system according to the present invention, and FIG. 9 is a diagram showing an embodiment of an instruction having a bit for switching the processing state. DESCRIPTION OF SYMBOLS 1... General-purpose arithmetic device, 2, 3, 4.5... Arithmetic device with multiplication function, 6... Instruction control device, 7... Register selection device, 8... Register group, 9. ...Control line, 10°11.12.13...Data line, 14...
Register group control line, 15...data bus, 16...
Instruction bus, 21... Multiplicand, 22... Multiplier, 23.
... calculation result, 30.31, 32, 33 ... calculation auxiliary signal line, 41 ... operation code, 42 ... operand, 51 ... storage device, 52 ... display device, 53 ...
- Bus, 54... Microprocessor, 55... Frame memory, 71... Adder, 72... Multiplier,
91...Processing state switching bit 4 Figure 5 Figure Figure 5 Figure Figure Figure 5

Claims (1)

【特許請求の範囲】 1、複数のレジスタからなるレジスタ群と、当該レジス
タ群から一つのレジスタ単位を選択するレジスタ選択装
置と、前記レジスタ内の異なるビット列の演算を行う少
なくとも乗算機能を有する複数の演算装置と、前記レジ
スタ単位の全ビット長に対してデータ処理を行う汎用演
算装置と、前記レジスタ群、汎用演算装置および演算装
置を制御する制御装置とからなることを特徴とする情報
処理装置。 2、請求項1記載の情報処理装置において、該演算装置
の乗算結果のビット列の一部が、選択された該レジスタ
の分割された一部に格納されることを特徴とする情報処
理装置。 3、請求項1又は2記載の情報処理装置において、前記
演算装置間に演算補助信号を伝える信号線を設けたこと
を特徴とする情報処理装置。 4、請求項1乃至3記載の情報処理装置において、前記
複数の演算装置を同時に起動する専用命令を備えたこと
を特徴とするマイクロプロセッサ。 5、請求項1乃至4記載の情報処理装置に、外部記憶装
置および表示装置を設けたことを特徴とする図形表示装
置。
[Claims] 1. A register group consisting of a plurality of registers, a register selection device that selects one register unit from the register group, and a plurality of registers each having at least a multiplication function that performs an operation on different bit strings in the register. An information processing device comprising: an arithmetic device; a general-purpose arithmetic device that performs data processing on the total bit length of the register unit; and a control device that controls the register group, the general-purpose arithmetic device, and the arithmetic device. 2. The information processing apparatus according to claim 1, wherein a part of the bit string of the multiplication result of the arithmetic unit is stored in a divided part of the selected register. 3. The information processing apparatus according to claim 1 or 2, further comprising a signal line for transmitting a calculation auxiliary signal between the calculation units. 4. The information processing apparatus according to claim 1, wherein the microprocessor is provided with a dedicated instruction for simultaneously activating the plurality of arithmetic units. 5. A graphic display device, characterized in that the information processing device according to any one of claims 1 to 4 is provided with an external storage device and a display device.
JP2067064A 1990-03-19 1990-03-19 Microprocessor, information processor and graphic display device using it Pending JPH03268024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2067064A JPH03268024A (en) 1990-03-19 1990-03-19 Microprocessor, information processor and graphic display device using it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2067064A JPH03268024A (en) 1990-03-19 1990-03-19 Microprocessor, information processor and graphic display device using it

Publications (1)

Publication Number Publication Date
JPH03268024A true JPH03268024A (en) 1991-11-28

Family

ID=13334040

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2067064A Pending JPH03268024A (en) 1990-03-19 1990-03-19 Microprocessor, information processor and graphic display device using it

Country Status (1)

Country Link
JP (1) JPH03268024A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001067492A (en) * 1999-07-15 2001-03-16 Mitsubishi Electric Inf Technol Center America Inc Method and device for classifying samples
US7222225B2 (en) 1995-08-16 2007-05-22 Microunity Systems Engineering, Inc. Programmable processor and method for matched aligned and unaligned storage instructions
US7237089B2 (en) 2001-11-28 2007-06-26 Matsushita Electric Industrial Co., Ltd. SIMD operation method and SIMD operation apparatus that implement SIMD operations without a large increase in the number of instructions
USRE44190E1 (en) 1993-11-30 2013-04-30 Texas Instruments Incorporated Long instruction word controlling plural independent processor operations

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE44190E1 (en) 1993-11-30 2013-04-30 Texas Instruments Incorporated Long instruction word controlling plural independent processor operations
US7222225B2 (en) 1995-08-16 2007-05-22 Microunity Systems Engineering, Inc. Programmable processor and method for matched aligned and unaligned storage instructions
US7260708B2 (en) 1995-08-16 2007-08-21 Microunity Systems Engineering, Inc. Programmable processor and method for partitioned group shift
US7353367B2 (en) 1995-08-16 2008-04-01 Microunity Systems Engineering, Inc. System and software for catenated group shift instruction
US7386706B2 (en) 1995-08-16 2008-06-10 Microunity Systems Engineering, Inc. System and software for matched aligned and unaligned storage instructions
JP2001067492A (en) * 1999-07-15 2001-03-16 Mitsubishi Electric Inf Technol Center America Inc Method and device for classifying samples
US7237089B2 (en) 2001-11-28 2007-06-26 Matsushita Electric Industrial Co., Ltd. SIMD operation method and SIMD operation apparatus that implement SIMD operations without a large increase in the number of instructions
USRE46277E1 (en) 2001-11-28 2017-01-17 Socionext Inc. SIMD operation method and SIMD appartus that implement SIMD operations without a large increase in the number of instructions

Similar Documents

Publication Publication Date Title
US10884734B2 (en) Generalized acceleration of matrix multiply accumulate operations
US5001662A (en) Method and apparatus for multi-gauge computation
Shipnes Graphics processing with the 88110 RISC microprocessor
US6412061B1 (en) Dynamic pipelines with reusable logic elements controlled by a set of multiplexers for pipeline stage selection
KR101202445B1 (en) Processor
JPH02289097A (en) Method and equipment for processing image display data
KR19980041798A (en) Module Computation Structure Supporting Commands for Image Processing
JP2601960B2 (en) Data processing method and apparatus
JP2001256199A (en) Data processor and data processing system
JP2002149400A (en) Simd arithmetic system capable of designating plural registers
US6426746B2 (en) Optimization for 3-D graphic transformation using SIMD computations
US4449201A (en) Geometric processing system utilizing multiple identical processors
JP3146308B2 (en) Matrix operation circuit
US5363322A (en) Data processor with an integer multiplication function on a fractional multiplier
JPH03268024A (en) Microprocessor, information processor and graphic display device using it
US7260711B2 (en) Single instruction multiple data processing allowing the combination of portions of two data words with a single pack instruction
US8332447B2 (en) Systems and methods for performing fixed-point fractional multiplication operations in a SIMD processor
US20050055394A1 (en) Method and system for high performance, multiple-precision multiply-and-add operation
JP3583443B2 (en) Arithmetic device and arithmetic method
JP2675087B2 (en) Microcomputer
JPS5856040A (en) Data processor
JP2654062B2 (en) Information processing device
de Vries et al. IMAGINE-the image engine
JPH0991118A (en) Floating point arithmetic unit
JPS6162174A (en) Information processor