JPH10207688A - Graphics processor - Google Patents

Graphics processor

Info

Publication number
JPH10207688A
JPH10207688A JP9010918A JP1091897A JPH10207688A JP H10207688 A JPH10207688 A JP H10207688A JP 9010918 A JP9010918 A JP 9010918A JP 1091897 A JP1091897 A JP 1091897A JP H10207688 A JPH10207688 A JP H10207688A
Authority
JP
Japan
Prior art keywords
data
point
floating
point data
fixed
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
JP9010918A
Other languages
Japanese (ja)
Other versions
JP3547277B2 (en
Inventor
Kazuhisa Takami
和久 高見
Makoto Fujita
良 藤田
Yuichi Abe
雄一 安部
Katsunori Suzuki
克徳 鈴木
Kazunori Oniki
一徳 鬼木
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 JP01091897A priority Critical patent/JP3547277B2/en
Priority to CA002418916A priority patent/CA2418916C/en
Priority to CA002227531A priority patent/CA2227531C/en
Priority to US09/009,588 priority patent/US6049343A/en
Publication of JPH10207688A publication Critical patent/JPH10207688A/en
Priority to US10/391,235 priority patent/US20030163502A1/en
Application granted granted Critical
Publication of JP3547277B2 publication Critical patent/JP3547277B2/en
Priority to US11/484,812 priority patent/US20060250397A1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Generation (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize high speed graphics processing. SOLUTION: A geometry processor 50 outputs a command code expressing processing to be required to a rendering processor 500, plural floating point data to be processed and scale factor data for specifying the decimal point bit position of fixed point data to be converted from each floating point data. A format converter 100 converts each floating point data into fixed point data having the decimal point bit position specified by the scale factor data and transfers the fixed point data to the processor 500.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、3Dグラフィック
スなどのグラフィックス処理を行うグラフィックス処理
装置に関し、特に、その高速化の技術に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a graphics processing apparatus for performing graphics processing such as 3D graphics, and more particularly to a technique for speeding up graphics processing.

【0002】[0002]

【従来の技術】従来のグラフィックス処理装置として
は、たとえば、特開平8-161525号公報記載の装置などが
知られている。
2. Description of the Related Art As a conventional graphics processing apparatus, for example, an apparatus described in JP-A-8-161525 is known.

【0003】これらの従来のグラフィックス処理装置
は、通常、座標変換、クリッピング処理等の幾何学的計
算をおこなうジオメトリ部と、直線や三角形等の図形を
画素に変換し描画の処理を行うレンダリング部から構成
される。
These conventional graphics processing apparatuses generally include a geometry section for performing geometric calculations such as coordinate conversion and clipping processing, and a rendering section for converting graphics such as straight lines and triangles into pixels and performing drawing processing. Consists of

【0004】このようなグラフィックス処理装置におい
て、3Dの各種グラフィックスデータから、これを投影
した画像を生成する場合には、まず、ジオメトリ部で、
3次元形状の2次元座標への透視変換、クリッピングの
処理、光源に対する輝度の計算等を行い、次にレンダリ
ング部で、ジオメトリ部が3次元形状を2次元座標に投
影変換した図形データである直線や三角形等のデータを
画素に展開して、Z比較やアルファブレンド等の演算を
行い、フレームメモリに画像を格納する。
[0004] In such a graphics processing apparatus, when an image is generated by projecting the 3D graphics data from various 3D graphics data, first, the geometry section performs
Performs perspective transformation of the three-dimensional shape into two-dimensional coordinates, performs clipping processing, calculates luminance for the light source, and the like. Next, in the rendering unit, the geometry unit projects the three-dimensional shape into two-dimensional coordinates by using a straight line as graphic data. Data such as triangles and triangles are developed into pixels, and operations such as Z comparison and alpha blending are performed, and the image is stored in the frame memory.

【0005】このようなグラフィックス処理装置におい
て、通常、ジオメトリ部は一つのプロセッサチップとし
て実現されており、このジオメトリ部における演算は、
数値の範囲を限定されたり演算精度が落ちないように、
各データを浮動小数点数として取り扱って行われてい
る。
In such a graphics processing device, the geometry section is usually realized as a single processor chip.
In order not to limit the range of numerical values or to lower the calculation accuracy,
Each data is handled as a floating point number.

【0006】一方、レンダリング部も、通常、一つのプ
ロセッサチップとして実現されるが、その演算は、各デ
ータを固定小数点数として取り扱って行われている。こ
れは、回路規模や演算速度の点で、レンダリング部の行
う演算を浮動小数点数で行うことが困難であるなどの理
由によるものである。
[0006] On the other hand, the rendering unit is also usually realized as one processor chip, but its operation is performed by treating each data as a fixed-point number. This is because it is difficult to perform the operation performed by the rendering unit using floating point numbers in terms of the circuit scale and the operation speed.

【0007】また、レンダリング部内において取り扱う
固定小数点数の小数点のビット位置は、データの種類に
よって異なるのが通常である。これは、データの種別毎
に、良質な画像の生成のために要求される精度が異なる
ことなどによるものである。
[0007] The bit position of the fixed-point number handled in the rendering unit usually differs depending on the type of data. This is due to the fact that the accuracy required for generating a high-quality image differs for each type of data.

【0008】このように、従来のグラフィックス処理装
置では、ジオメトリ部は浮動小数点数でデータを取り扱
い、レンダリング部では固定小数点数でデータを取り扱
うというように、両者で取り扱うデータの数表現が異な
っていた。そこで、従来は、ジオメトリ部において、演
算後のデータの浮動小数点数から固定少数点数への変換
を行い、固定小数点数に変換したデータをレンダリング
部に渡すようにしていた。たとえば、前掲の特開平8-16
1525号公報記載の装置では、浮動小数点数に4096を
乗じた数を整数表現で表すことにより、この整数表現で
表されたデータが、小数部12ビットの固定小数点数と
して正しく数を表すようにしている。
As described above, in the conventional graphics processing device, the number representation of the data handled by the two units is different, such that the geometry unit handles data using floating point numbers and the rendering unit handles data using fixed point numbers. Was. Therefore, conventionally, in the geometry unit, the data after the operation is converted from the floating-point number to a fixed-point number, and the data converted to the fixed-point number is passed to the rendering unit. For example, the above-mentioned JP-A-8-16
In the device described in Japanese Patent No. 1525, a number obtained by multiplying a floating-point number by 4096 is represented by an integer representation, so that data represented by the integer representation can be correctly represented as a fixed-point number having a decimal part of 12 bits. ing.

【0009】[0009]

【発明が解決しようとする課題】このように、従来のグ
ラフィックス処理装置では、ジオメトリ部において浮動
小数点数から固定小数点数への変換を行う必要があっ
た。また、この固定小数点数への変換の内容は、レンダ
リングが必要とする固定小数点数の小数点のビット位置
がデータの種類によって異なるために、データの種類毎
に異なるものとなっていた。
As described above, in the conventional graphics processing apparatus, it was necessary to convert a floating point number into a fixed point number in the geometry section. In addition, the contents of the conversion to the fixed-point number differ for each type of data because the bit position of the decimal point of the fixed-point number required for rendering differs depending on the type of data.

【0010】ここで、このようにジオメトリ部で浮動小
数点数から固定小数点数への変換を行うことは、ジオメ
トリ部の負担を重くし、また、この間、ジオメトリ部の
演算器が浮動小数点数から固定小数点数への変換に使用
されるため、ジオメトリ部は、座標変換などの本来の処
理を行えず、グラフィックス処理装置全体のスループッ
トを低下させる。また、ジオメトリ部をプログラムで動
作させる場合には、データの種類毎に異なった浮動小数
点数から固定小数点数への変換の手順をプログラム中に
定義せねばならない。
Here, performing the conversion from the floating-point number to the fixed-point number in the geometry section as described above increases the load on the geometry section, and during this time, the arithmetic unit in the geometry section converts the floating-point number to the fixed-point number. Since it is used for conversion to a decimal point, the geometry section cannot perform original processing such as coordinate conversion, and lowers the throughput of the entire graphics processing apparatus. When the geometry section is operated by a program, a procedure for converting a floating-point number into a fixed-point number, which is different for each type of data, must be defined in the program.

【0011】そこで、本発明は、浮動小数点数から固定
小数点数への変換のために要する処理速度の低下を削減
することのできるグラフィックス処理装置を提供するこ
とを目的とする。
Accordingly, an object of the present invention is to provide a graphics processing apparatus capable of reducing a reduction in processing speed required for converting a floating-point number to a fixed-point number.

【0012】[0012]

【課題を解決するための手段】前記目的達成のために本
発明は、描画すべき図形を特定する情報を浮動小数点形
式で表した浮動小数点データ列を含む図形データを出力
するプロセッサと、描画すべき図形の内容を固定小数点
形式で表した固定小数点データ列を含む描画データに従
って、図形を画素に展開して出力するレンダリング部と
を備えたグラフィック装置であって、前記プロセッサが
出力する前記図形データに含まれる浮動小数点データ
を、固定小数点データに変換し、前記描画データとして
前記レンダリング部に出力するデータ変換器を備え、前
記データ変換器は、浮動小数点データを変換する固定小
数点データの小数点のビット位置を変更する小数点位置
変更手段を有することを特徴とする特徴とするグラフィ
ックス処理装置を提供する。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention provides a processor for outputting graphic data including a floating-point data string representing information for specifying a graphic to be drawn in a floating-point format. A rendering unit that expands the graphic into pixels in accordance with drawing data including a fixed-point data string representing the contents of a power figure in a fixed-point format, and outputs the graphic data. A data converter for converting floating-point data included in the fixed-point data to fixed-point data and outputting the drawing data to the rendering unit, wherein the data converter converts the floating-point data to bits of the decimal point of the fixed-point data. A graphics processing device characterized by having decimal point position changing means for changing the position. To.

【0013】このような本発明に係るグラフィック処理
装置によれば、プロセッサとレンダリング部の間に、浮
動小数点データの固定小数点データへの変換を行うデー
タ変換器を設けたので、パイプライン式に、プロセッサ
の処理と浮動小数点データから固定小数点データへの変
換を行え、高速なグラフィックス処理が可能となる。ま
た、個々の浮動小数点データ毎に、これを変換する固定
小数点データの小数点のビット位置を変更できるので、
多種多様なデータに対応可能である。
According to the graphic processing device of the present invention, a data converter for converting floating-point data to fixed-point data is provided between the processor and the rendering unit. Processor processing and conversion from floating-point data to fixed-point data can be performed, enabling high-speed graphics processing. In addition, since the bit position of the decimal point of the fixed-point data to be converted can be changed for each floating-point data,
It can handle a wide variety of data.

【0014】[0014]

【発明の実施の形態】以下、本発明に係るグラフィック
ス処理装置の実施形態について説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a graphics processing apparatus according to the present invention will be described below.

【0015】まず、第一の実施形態について説明する。First, a first embodiment will be described.

【0016】図1に、本実施形態に係るグラフィックス
処理装置の構成を示す。
FIG. 1 shows a configuration of a graphics processing apparatus according to the present embodiment.

【0017】図示するように、本実施形態に係るグラフ
ィックス処理装置は、ジオメトリプロセッサ50、デー
タ変換器100、レンダリングプロセッサ500、フレ
ームメモリ600から構成される。
As shown in the figure, the graphics processing device according to the present embodiment comprises a geometry processor 50, a data converter 100, a rendering processor 500, and a frame memory 600.

【0018】また、データ変換器100は、コントロー
ル部400、スケールファクタ部300、フォーマット変換部
200から構成される。
The data converter 100 includes a control unit 400, a scale factor unit 300, a format conversion unit
Consists of 200.

【0019】ここで、図2に図1に示したグラフィック
ス処理装置を適用したコンピュータの構成を示す。
FIG. 2 shows a configuration of a computer to which the graphics processing apparatus shown in FIG. 1 is applied.

【0020】図示するように、本コンピュータにおい
て、バス14を介して、CPU10、メモリ20、外部
記憶装置12、キーボードやマウスやペン入力タブレッ
トなどの入力装置13が連結されている。また、バス1
4上には拡張カードを搭載するためのスロット15が設
けられており、拡張カードとして実現された本グラフィ
ックス処理装置100が、このスロットを介してバス1
4に接続している。また、グラフィックス処理装置に
は、表示装置であるCRT700が接続されている。
As shown, in the computer, a CPU 10, a memory 20, an external storage device 12, and an input device 13 such as a keyboard, a mouse, and a pen input tablet are connected via a bus 14. Bus 1
4, a slot 15 for mounting an expansion card is provided, and the graphics processing apparatus 100 realized as an expansion card allows the bus 1 to be connected via the slot.
4 is connected. Further, a CRT 700 as a display device is connected to the graphics processing device.

【0021】このような構成において、CPU10はメモリ
14から読み出したアプリケーションを実行し、三角
形、直線といったグラフィックス・コマンドと浮動小数
点数で与えられる頂点座標、法線ベクトル、テクスチャ
等からなるグラフィックスデータを生成し、システムバ
スを介してジオメトリプロセッサ50に与える。
In such a configuration, the CPU 10 executes the application read from the memory 14, and executes graphics commands such as triangles and straight lines, and graphics data including vertex coordinates, normal vectors, textures and the like given by floating point numbers. Is generated and given to the geometry processor 50 via the system bus.

【0022】ジオメトリプロセッサ50は前記グラフィッ
クスデータに対し、座標変換、クリッピングの処理、光
源に対する輝度の計算等を行い、三角形や直線といった
コマンドと、ジオメトリ処理後の座標、輝度データを、
スケールファクタと浮動小数点データ列からなる図形デ
ータに変換し、データ変換部100に出力する。
The geometry processor 50 performs coordinate conversion, clipping processing, calculation of luminance with respect to the light source, and the like on the graphics data, and outputs commands such as triangles and straight lines, and coordinates and luminance data after geometry processing.
The data is converted into graphic data including a scale factor and a floating-point data string, and output to the data conversion unit 100.

【0023】データ変換器100は、ジオメトリプロセッ
サ50から渡された図形データを、固定小数点データ列に
変換した描画データをレンダリングプロセッサ500に渡
す。
The data converter 100 passes drawing data obtained by converting the graphic data passed from the geometry processor 50 into a fixed-point data sequence to the rendering processor 500.

【0024】レンダリングプロセッサ500は、データ変
換部100が図形データを固定小数点数に変換した描画デ
ータが示す直線や三角形等のデータを画素に展開して、
フレームメモリ600との間でZ比較、アルファブレンド
等の演算を行い、フレームメモリ600に演算結果として
得られる画素を格納する処理を行う。
The rendering processor 500 develops data such as straight lines and triangles indicated by the drawing data obtained by converting the graphic data into fixed-point numbers by the data conversion unit 100 into pixels,
Calculations such as Z comparison and alpha blending are performed with the frame memory 600, and processing for storing pixels obtained as calculation results in the frame memory 600 is performed.

【0025】フレームメモリ600は常時読み出され、表
示装置であるCRT700にフレームメモリ600の内容が表示
される。
The frame memory 600 is constantly read, and the contents of the frame memory 600 are displayed on the CRT 700 as a display device.

【0026】なお、本実施形態に係るグラフィックス処
理装置は、図2に示したものの他、ゲーム装置や図2以
外の構成をとるコンピュータやワードプロセッサなど多
種多様な装置に適用することができる。
The graphics processing apparatus according to the present embodiment can be applied to a wide variety of apparatuses such as a game apparatus, a computer having a configuration other than that shown in FIG. 2, and a word processor, in addition to the apparatus shown in FIG.

【0027】以下、グラフィックス処理装置の詳細につ
いて、本発明の最も特徴的部位であるデータ変換器10
0を中心に説明する。
The details of the graphics processing apparatus will be described below with reference to the data converter 10 which is the most characteristic part of the present invention.
The description will focus on 0.

【0028】まず、データ変換器100にジオメトリプロ
セッサ50から入力する図形データと、データ変換器1
00からレンダリングプロセッサ500に出力する描画
データについて説明する。
First, the graphic data input from the geometry processor 50 to the data converter 100 and the data converter 1
Drawing data output from 00 to the rendering processor 500 will be described.

【0029】図3に示すように、ジオメトリプロセッサ
50からデータ変換器100に与える図形データは、コマン
ドコード、スケールデータ、浮動小数点データ1から8
で構成されている。
As shown in FIG. 3, a geometry processor
The graphic data given from 50 to the data converter 100 includes command code, scale data, floating point data 1 to 8
It is composed of

【0030】例えば、直線の図形データは、コマンドコ
ードに直線の描画コマンドと転送数7とアドレスが入
り、スケールデータに浮動小数点データ1から7を固定
小数点データ1から7に変換する際に使用するスケール
ファクタが入り、浮動小数点データ1に浮動小数点デー
タの始点X座標が入り、浮動小数点データ2に浮動小数
点データの始点のY座標が入り、浮動小数点データ3に
浮動小数点データの終点のX座標が入り、浮動小数点デ
ータ4に浮動小数点データの終点のX座標が入り、浮動
小数点データ5に浮動小数点データの輝度Rが入り、浮
動小数点データ6に浮動小数点データの輝度Gが入り、
浮動小数点データ7に浮動小数点データの輝度Bが入
る。
For example, the linear graphic data is used when converting a floating point data 1 to 7 into fixed point data 1 to 7 as scale data by inputting a line drawing command, a transfer number 7 and an address into a command code. The scale factor is entered, the floating point data 1 contains the X coordinate of the starting point of the floating point data, the floating point data 2 contains the Y coordinate of the starting point of the floating point data, and the floating point data 3 contains the X coordinate of the ending point of the floating point data. The floating point data 4 contains the X coordinate of the end point of the floating point data, the floating point data 5 contains the luminance R of the floating point data, the floating point data 6 contains the luminance G of the floating point data,
The floating point data 7 contains the luminance B of the floating point data.

【0031】図3に示すように、データ変換器100は、
このような図形データを受け取り、コマンドコードと、
浮動小数点データ1から8を固定小数点データに変換し
た固定小数点データ1から8を、描画データとしてレン
ダリングプロセッサ500に渡す。
As shown in FIG. 3, the data converter 100
Receiving such graphic data, command code,
The fixed-point data 1 to 8 obtained by converting the floating-point data 1 to 8 into fixed-point data are passed to the rendering processor 500 as drawing data.

【0032】たとえば、上記直線の図形データを変換し
た描画データは、コマンドコードに直線の描画コマンド
と転送数7とアドレスが入り、固定小数点データ1に固
定小数点データの始点X座標が入り、固定小数点データ
2に固定小数点データの始点のY座標が入り、固定小数
点データ3に固定小数点データの終点のX座標が入り、
固定小数点データ4に固定小数点データの終点のX座標
が入り、固定小数点データ5に固定小数点データの輝度
Rが入り、固定小数点データ6に固定小数点データの輝
度Gが入り、固定小数点データ7に固定小数点データの
輝度Bが入ることになる。
For example, in the drawing data obtained by converting the graphic data of the straight line, the command code contains the drawing command of the straight line, the transfer number 7 and the address, the fixed point data 1 contains the X coordinate of the starting point of the fixed point data, and the fixed point data. Data 2 contains the Y coordinate of the start point of the fixed-point data, fixed-point data 3 contains the X coordinate of the end point of the fixed-point data,
The fixed-point data 4 contains the X coordinate of the end point of the fixed-point data, the fixed-point data 5 contains the luminance R of the fixed-point data, the fixed-point data 6 contains the luminance G of the fixed-point data, and the fixed-point data 7 The luminance B of the decimal point data is entered.

【0033】ここで、図4に、以上に示したデータ変換
器100の入出力データのフォーマットを示す。
FIG. 4 shows the format of input / output data of the data converter 100 described above.

【0034】コマンドコードは、オペレーション・コー
ド、その他の制御コード、転送数、アドレスで構成され
る。オペレーション・コードはレンダリングプロセッサ
500に指示する動作内容を記し、転送数はレンダリング
プロセッサ500に渡す固定小数点数のデータ数を記し、
アドレスは、図形データの書き込み先のレンダリングプ
ロセッサ500のレジスタを記す。その他の制御コードに
は、必要に応じて、ジオメトリプロセッサ50から、レ
ンダリングプロセッサ500またはデータ変換器100
に伝えたい制御情報を格納する。
The command code is composed of an operation code, other control codes, the number of transfers, and an address. Operation code is rendering processor
Write the operation contents instructed to 500, the transfer number is the fixed-point number of data passed to the rendering processor 500,
The address indicates a register of the rendering processor 500 to which the graphic data is written. Other control codes include, as necessary, the geometry processor 50, the rendering processor 500, or the data converter 100.
To store the control information that you want to convey.

【0035】次に、スケールデータはScale1からScale8
まであり、各Scaleにはスケールファクタが記されてい
る。Scale1は、図3の浮動小数点データ1及び固定小数
点データ1に対応しており、Scale2は、浮動小数点デー
タ2及び固定小数点データ2に対応し、以下、Scale3〜
Scale8も同様である。ここで、例えば、Scale1の値が
3であれば、これはデータ変換器100からレンダリン
グプロセッサ500に渡す固定小数点データ1の小数点
の位置を最下位から3ビット目とすることを示してお
り、Scale2の値が5ならば、データ変換器100からレ
ンダリングプロセッサ500に渡す固定小数点データ2
の小数点の位置を最下位から5ビット目とすることを表
している。
Next, the scale data is from Scale1 to Scale8.
Each Scale has a scale factor written on it. Scale1 corresponds to the floating-point data 1 and the fixed-point data 1 in FIG. 3, and Scale2 corresponds to the floating-point data 2 and the fixed-point data 2.
The same applies to Scale 8. Here, for example, if the value of Scale1 is 3, this indicates that the position of the decimal point of the fixed-point data 1 passed from the data converter 100 to the rendering processor 500 is the third bit from the least significant bit. Is 5, the fixed-point data 2 passed from the data converter 100 to the rendering processor 500
Is set to the fifth bit from the least significant bit.

【0036】次に、浮動小数点データは、公知のIEE
Eの単精度浮動小数点表示で、符号1ビット、指数8ビ
ット、仮数23ビットからなる。
Next, the floating-point data is converted to a known IEEE
E is a single-precision floating-point notation, consisting of 1 bit for the sign, 8 bits for the exponent, and 23 bits for the mantissa.

【0037】最後に、固定小数点データは、符号、整数
部、小数部からなり、小数点のビット位置は、スケール
ファクタに従って変化する。
Finally, the fixed-point data includes a sign, an integer part, and a decimal part, and the bit position of the decimal point changes according to the scale factor.

【0038】以下、データ変換器100の動作について
説明する。
Hereinafter, the operation of the data converter 100 will be described.

【0039】データ変換器100において、コントロー
ル部400は、ジオメトリプロセッサ50が生成するコマン
ドコード、スケールデータ、浮動小数点データからなる
図形データのコマンドコードをデコードし、浮動小数点
データを固定小数点データに変換するための、スケール
ファクタのセットと、どのスケールファクタを使うかの
指示をスケールファクタ部300に与える。
In the data converter 100, the control unit 400 decodes the command code of the graphic data including the command code, scale data, and floating point data generated by the geometry processor 50, and converts the floating point data into fixed point data. For this purpose, a set of scale factors and an instruction on which scale factor to use are given to the scale factor unit 300.

【0040】スケールファクタ部300は、コントロール
部400からスケールファクタ列のセットと、どのスケー
ルファクタを使うかの指示を行う制御信号に従って動作
し、フォーマット変換部200にスケールファクタ、すな
わち固定小数点数の小数点のビット位置を与える。
The scale factor section 300 operates in accordance with a set of scale factor strings from the control section 400 and a control signal for instructing which scale factor to use, and gives the format conversion section 200 a scale factor, that is, a decimal point of a fixed-point number. Gives the bit position of

【0041】フォーマット変換部200は、スケールファ
クタ部300から受け取ったスケールファクタに対応する
ように、ジオメトリプロセッサ50からの浮動小数点デー
タを固定小数点データに変換し、レンダリングプロセッ
サ500に与える。
The format conversion unit 200 converts the floating-point data from the geometry processor 50 into fixed-point data so as to correspond to the scale factor received from the scale factor unit 300, and supplies the fixed-point data to the rendering processor 500.

【0042】以下、各部の詳細について説明する。Hereinafter, details of each section will be described.

【0043】図5に、コントロール部400の構成を示
す。
FIG. 5 shows the configuration of the control section 400.

【0044】コントロール部400は、データ変換器100の
状態の管理と、ジオメトリプロセッサ50とレンダリング
プロセッサ500に対して図形及び描画データの受け渡し
の制御を行うシーケンサ410と、レンダリングプロセッ
サ500に渡す固定小数点数のデータ数を管理するカウン
タ回路420と、コマンドコード中に含まれる転送数を記
憶するLENレジスタ430から構成される。
The control unit 400 manages the state of the data converter 100, and controls the transfer of graphics and drawing data to the geometry processor 50 and the rendering processor 500, and the fixed-point number passed to the rendering processor 500. And a LEN register 430 that stores the number of transfers included in the command code.

【0045】シーケンサ410が管理する状態は、データ
変換器100がジオメトリプロセッサ50からコマンドコ
ードを受けている状態と、スケールデータを受けている
状態と、浮動小数点データ1から8を受けている状態が
ある。
The state managed by the sequencer 410 includes a state in which the data converter 100 receives a command code from the geometry processor 50, a state in which the data converter 100 receives scale data, and a state in which the data converter 100 receives floating point data 1 to 8. is there.

【0046】シーケンサ410は、コマンドコードを受け
ている状態では、LENレジスタ430にコマンドコード中の
転送数をセットする指示を出し、カウンタ回路420に、
レンダリングプロセッサ500に渡した固定小数点データ
数を示すCNTレジスタの、初期化指示を出し、レンダリ
ングプロセッサ500に描画データのうちのコマンドコー
ドの書き込み要求DC_W信号を出し、コマンドコードをレ
ンダリングプロセッサ500に渡す。そして、レンダリン
グプロセッサ500から描画データコマンドコードを受け
つけたことを表す信号RP_ACC信号が返ってきたら、ジオ
メトリプロセッサ50にコマンドコードを受けつけたこと
を表す信号DC_ACC信号を出し、状態をスケールデータを
受けている状態に遷移する。
While receiving the command code, the sequencer 410 issues an instruction to set the number of transfers in the command code to the LEN register 430, and sends to the counter circuit 420
An initialization instruction of the CNT register indicating the number of fixed-point data passed to the rendering processor 500 is issued, a command code write request DC_W signal of the rendering data is issued to the rendering processor 500, and the command code is passed to the rendering processor 500. When a signal RP_ACC indicating that the drawing data command code has been received is returned from the rendering processor 500, a signal DC_ACC indicating that the command code has been received is output to the geometry processor 50, and the state is received as scale data. Transition to the state.

【0047】次に、シーケンサ410は、スケールデータ
を受けている状態では、スケールファクタ部300にスケ
ールデータを書き込む指示SET信号を出し、ジオメトリ
プロセッサ50にスケールデータを受け付けたことを表す
信号DC_ACC信号を出し、状態を浮動小数点データ1から
8を受けている状態に遷移する。
Next, while receiving the scale data, the sequencer 410 issues an instruction SET signal for writing the scale data to the scale factor unit 300, and sends a signal DC_ACC signal indicating that the scale data has been received to the geometry processor 50. And changes the state to a state receiving floating point data 1 to 8.

【0048】次に、シーケンサ410は、浮動小数点デー
タ1から8を受けている状態では、レンダリングプロセ
ッサ500に固定小数点データを書き込む要求DC_W信号を
出し、レンダリングプロセッサ500から固定小数点デー
タを受けつけたことを表す信号RP_ACC信号が返ってきた
ら、ジオメトリプロセッサ50に図形データを受けつけた
ことを表す信号DC_ACC信号を出す。
Next, while receiving the floating-point data 1 to 8, the sequencer 410 issues a request DC_W signal for writing fixed-point data to the rendering processor 500, and confirms that the fixed-point data has been received from the rendering processor 500. When the signal RP_ACC representing the graphic data is returned, the signal DC_ACC representing the reception of the graphic data is output to the geometry processor 50.

【0049】また、シーケンサ410は、浮動小数点デー
タ1から8を受けている状態において、カウンタ回路42
0から、コマンドコードを受けている状態に戻す指示を
受けた場合は、コマンドコードを受けている状態に遷移
する、受けなかった場合は、上述した浮動小数点データ
1から8を受けている状態の動作を繰り返す。
The sequencer 410 receives the floating-point data 1 to 8 while the counter circuit 42
From 0, when an instruction to return to the state receiving the command code is received, the state transits to a state receiving the command code, and when not received, the state of receiving the floating point data 1 to 8 is returned. Repeat the operation.

【0050】ここで、カウンタ回路420は、次のように
して、コマンドコードを受けている状態に戻す指示を出
力する。
Here, counter circuit 420 outputs an instruction to return to a state in which the command code has been received, as follows.

【0051】前述したように、LENレジスタ430は、コマ
ンドコード中の転送数を記憶するレジスタであり、シー
ケンサ410から、コマンドコード中の転送数をセットす
る指示に従い記憶し、その記憶した値をカウンタ回路42
0に出力する。カウンタ回路420は、CNTレジスタと比較
器から構成されている。CNTレジスタは、シーケンサ410
から初期化の指示を受けたらレジスタの値を0に初期化
し、スケールファクタ部300にCNTレジスタの値を与え、
シーケンサ410が浮動小数点データ1から8を受けてい
る状態で、レンダリングプロセッサ500から描画データ
固定小数点データを受けつけた信号RP_ACC信号が帰って
きた場合に、CNTレジスタの値をインクリメントする。
そして、比較器は、インクリメントを実行したCNTレジ
スタの値とLENレジスタの値を比較し、CNTレジスタの値
とLENレジスタの値が一致したら、シーケンサ410にコマ
ンドコードを受けている状態に戻す指示を与える。
As described above, the LEN register 430 is a register for storing the number of transfers in the command code. The LEN register 430 stores the number of transfers in the command code in accordance with an instruction from the sequencer 410 to set the number of transfers in the command code. Circuit 42
Output to 0. The counter circuit 420 includes a CNT register and a comparator. The CNT register is
When the initialization instruction is received from, the value of the register is initialized to 0, and the value of the CNT register is given to the scale factor unit 300.
When the signal RP_ACC, which has received the rendering data fixed-point data, returns from the rendering processor 500 while the sequencer 410 receives the floating-point data 1 to 8, the value of the CNT register is incremented.
The comparator compares the incremented value of the CNT register with the value of the LEN register, and when the value of the CNT register matches the value of the LEN register, instructs the sequencer 410 to return to a state in which the command code is received. give.

【0052】次に、図6に、スケールファクタ部300の
構成を示す。
Next, FIG. 6 shows the configuration of the scale factor section 300.

【0053】図示するように、スケールファクタ部300
は、レジスタS1 311、S2 312、S3313、S4 314、S5
315、S6 316、S7 317、S8 318とセレクタから構成さ
れる。
As shown, the scale factor section 300
Are the registers S1 311, S2 312, S3313, S4 314, S5
315, S6 316, S7 317, S8 318 and a selector.

【0054】レジスタS1 311からS8 318は、浮動小数
点データ1から8毎に、対応するスケールファクタを保
持するレジスタであり、コントロール部400から書き込
み指示SET信号を受けたら、ジオメトリプロセッサ50か
ら渡される32ビットのスケールデータを4ビットずつ
に分配して書き込む。
Registers S1 311 to S8 318 are registers for holding a scale factor corresponding to each of floating point data 1 to 8, and are supplied from the geometry processor 50 upon receiving a write instruction SET signal from the control unit 400. The bit scale data is distributed and written in units of 4 bits.

【0055】セレクタ320は、レジスタS1 311からS8
318の値をコントロール部400から入力されるカウンタ値
CNT信号により1つ選択しフォーマット変換部200に出力
する。これにより、図形データの浮動小数点データ1か
ら8毎に、対応するスケールファクタをフォーマット変
換部200与えることができる。
The selector 320 is connected to the registers S1 311 to S8
The counter value input from the control unit 400 with the value of 318
One is selected by the CNT signal and output to the format converter 200. Thereby, a corresponding scale factor can be given to the format conversion unit 200 for each of the floating point data 1 to 8 of the graphic data.

【0056】次に、図7に、フォーマット変換部200の
構成を示す。
Next, FIG. 7 shows the configuration of the format conversion section 200.

【0057】図示するように、フォーマット変換部200
は、スケールファクタと浮動小数点数の指数からシフト
量を求める指数処理部210と、浮動小数点数の仮数を右
シフトして正の固定小数点数に変換する仮数シフト部23
0と、浮動小数点数の符号がマイナスならば仮数シフト
部で求めた正の固定小数点数を負の固定小数点数に変換
する符号処理部250から構成される。
As shown, the format conversion unit 200
Is an exponent processing unit 210 that calculates the shift amount from the scale factor and the exponent of the floating-point number, and a mantissa shift unit 23 that right-shifts the mantissa of the floating-point number and converts it to a positive fixed-point number.
If the sign of the floating-point number is minus, the sign processing unit 250 converts the positive fixed-point number obtained by the mantissa shift unit into a negative fixed-point number.

【0058】指数処理部210は、スケールファクタ部300
から出力されるスケールファクタの値と浮動小数点数の
指数を加算し、加算結果に対し127のオフセット値を
引いてオフセット補正を行い、オフセット補正を行った
データに対して、下位5ビットだけ抜き出してビット反
転を行うことで、仮数シフト部230のシフト量を求め
る。
The exponent processing section 210 includes a scale factor section 300
, The value of the scale factor output from, and the exponent of the floating-point number are added, the offset value of 127 is subtracted from the addition result to perform offset correction, and only the lower 5 bits are extracted from the data subjected to the offset correction. By performing bit inversion, the shift amount of the mantissa shift unit 230 is obtained.

【0059】ここで、加算結果に対し127のオフセッ
ト値を引くのは、浮動小数点数の指数にはIEEE規格
で127のオフセットが付加されているからである。ま
た、下位5ビットだけ抜き出すのは、32ビットの固定
小数点数に変換するのにシフト量は5ビットの情報だけ
しか必要としないためである。またビット反転を行うの
は、指数の値が左シフトを対象としているのを右シフト
に変換するためである。
Here, the reason why the offset value of 127 is subtracted from the result of addition is that 127 is added to the exponent of the floating-point number according to the IEEE standard. The reason why only the lower 5 bits are extracted is that only a 5-bit information is required for the shift amount in order to convert to a 32-bit fixed-point number. The bit inversion is performed to convert the value of the exponent from left shift to right shift.

【0060】また、指数処理部210は、スケールファク
タ部300から出力されるスケールファクタの値と浮動小
数点数の指数を加算した値が、定数127未満ならば、
32ビットの固定小数点数に変換しようとしても値が小
さく表現しきれないので、符号処理部250に固定小数点
数のデータを0にクランプする指示を出力する処理も行
う。
If the value obtained by adding the value of the scale factor output from the scale factor unit 300 and the exponent of the floating-point number is less than the constant 127, the exponent processing unit 210
Since the value cannot be expressed too small even if it is converted to a 32-bit fixed-point number, a process of outputting an instruction to clamp the data of the fixed-point number to 0 to the sign processing unit 250 is also performed.

【0061】次に、仮数シフト部230は、最上位ビット
に1を入れ、ビット30〜8に浮動小数点数の仮数23
ビット入れ、ビット7〜0ビットを0とした32ビット
の係数を求め、この32ビットの係数を指数処理部210
が求めたシフト量分右シフトを行い、正の固定小数点数
に変換する。なお、32ビットの係数の最上位ビットに
1を入れるのは、IEEE規格で仮数の最上位の1が省
略されているためである。
Next, the mantissa shift unit 230 inserts 1 in the most significant bit, and places the mantissa 23 of the floating-point number in bits 30 to 8.
A 32-bit coefficient is calculated by inserting bits and setting bits 7 to 0 to 0, and the 32-bit coefficient is calculated by the exponent processing unit 210.
Performs a right shift by the shift amount obtained by the above, and converts it into a positive fixed-point number. The reason why 1 is inserted into the most significant bit of the 32-bit coefficient is that the most significant 1 of the mantissa is omitted in the IEEE standard.

【0062】次に、符号処理部250は、浮動小数点数の
符号がマイナスならば、仮数シフト部230で求めた正の
固定小数点データを負の固定小数点データに変換し、さ
らに、指数処理部210からクランプの指示があった場合
には固定小数点データを0にして、レンダリングプロセ
ッサ500に固定小数点データを渡す。
Next, if the sign of the floating-point number is minus, the sign processing unit 250 converts the positive fixed-point data obtained by the mantissa shift unit 230 into negative fixed-point data. , The fixed-point data is set to 0, and the fixed-point data is passed to the rendering processor 500.

【0063】ここで、以下に、2.625の浮動小数点数を
小数部が3ビットの固定小数点数に変換する例を示して
おく。
Here, an example of converting a floating-point number of 2.625 to a fixed-point number having a decimal part of 3 bits will be described below.

【0064】2.625の浮動小数点数は、符号ビットが
(0)2、指数が(10000000)2、仮数が(01
110000000000000000000)2で表
現される。
The floating point number of 2.625 has a sign bit
(0) 2 , exponent (10000000) 2 , mantissa (01
11000000000000000000000) 2 .

【0065】指数処理部210で、小数点のビット位置と
指数を加算すると(10000011)2となり、12
7を引いてオフセット補正を行うと(0000010
0)2になる。
When the exponent processing unit 210 adds the bit position of the decimal point and the exponent, it becomes (10000011) 2 , and 12
When the offset correction is performed by subtracting 7, (00000010)
0) It becomes 2 .

【0066】それから、下位5ビットを抜き出すと(0
0100)2になり、ビット反転を行うと(1101
1)2になり、シフト量は27になる。
Then, when the lower 5 bits are extracted (0
0100) 2 and performing bit inversion (1101)
1) It becomes 2 and the shift amount becomes 27.

【0067】仮数シフト部230の32ビットの係数は、
(101010000000000000000000
00000000)2となり、これを27ビット右シフ
トすると、(0000000000000000000
0000000010101)2となり、正の固定小数
点数を求めることができる。
The 32-bit coefficient of the mantissa shift unit 230 is
(10101000000000000000000000
00000000) 2 and this is shifted right by 27 bits to obtain (00000000000000000000000)
000000010101) 2 and a positive fixed-point number can be obtained.

【0068】整数部である下位から4ビット以上は2を
示し、また小数部である下位3ビットは、0.625を示し
ている。
The lower 4 bits or more as an integer part indicate 2 and the lower 3 bits as a decimal part indicate 0.625.

【0069】符号処理部250では、符号ビットが(0)2
正を示しているので、正の固定小数点数を負の固定小数
点数に変換を行わないで、レンダリングプロセッサ500
に渡す。
In the sign processing unit 250, the sign bit is (0) 2
Because it indicates positive, the rendering processor 500 does not convert the positive fixed-point number to a negative fixed-point number.
Pass to.

【0070】以上、本発明に係るグラフィックス処理装
置の第一の実施形態について説明した。
The first embodiment of the graphics processing apparatus according to the present invention has been described above.

【0071】以下、本発明に係るグラフィックス処理装
置の第二の実施形態について説明する。
Hereinafter, a second embodiment of the graphics processing apparatus according to the present invention will be described.

【0072】本第二実施形態に係るグラフィック処理装
置の全体的な構成は、先に図1に示した構成と同様であ
り、また、図2に示したようにコンピュータに適用する
ことができる。
The overall configuration of the graphic processing apparatus according to the second embodiment is the same as the configuration shown in FIG. 1 and can be applied to a computer as shown in FIG.

【0073】図8に、本第二実施形態において、データ
変換器100にジオメトリプロセッサ50から入力する図
形データと、データ変換器100からレンダリングプロ
セッサ500に出力する描画データを示す。
FIG. 8 shows graphic data input from the geometry processor 50 to the data converter 100 and drawing data output from the data converter 100 to the rendering processor 500 in the second embodiment.

【0074】図示するように、本第二実施形態の図形デ
ータは、前記第一実施形態において、データ変換器100
にジオメトリプロセッサ50から入力する図形データか
らスケールデータを省いたものとなっている。
As shown in the figure, the graphic data of the second embodiment differs from the first embodiment in that the data converter 100
The scale data is omitted from the graphic data input from the geometry processor 50 in FIG.

【0075】次に、図9に、データ変換器100の入出力
データフォーマットを示す。
Next, FIG. 9 shows an input / output data format of the data converter 100.

【0076】図示するように、浮動小数点データ、固定
小数点データ、コマンドデータのフォーマットは、第一
実施形態で説明したものと同様である。
As shown, the formats of floating point data, fixed point data, and command data are the same as those described in the first embodiment.

【0077】ここで、コマンドコードのオペレーション
・コードから、ジオメトリプロセッサ50の出力する図
形データの構成を特定することができる。
The configuration of the graphic data output from the geometry processor 50 can be specified from the operation code of the command code.

【0078】例えば、オペレーション・コードが、(0
001)2の場合、これは直線を描画するコマンドを意
味しており、この場合、浮動小数点データ1から7は、
始点X、Y座標、終点X、Y座標、輝度R、G、Bを示
すことが定まっている。また、(0010)2の場合、
これは三角形を描画するコマンドを意味しており、これ
に対して、浮動小数点データ1から5は、頂点X、Y座
標、輝度R、G、Bを示すことが定まっている。なお、
1個の三角形をCRT700に表示する場合、三角形の図形デ
ータを3回、レンダリングプロセッサ500に与えること
になる。
For example, if the operation code is (0
001) In the case of 2 , this means a command for drawing a straight line. In this case, floating point data 1 to 7 are
It is determined that a starting point X, Y coordinate, an ending point X, Y coordinate, and luminances R, G, B are indicated. In the case of (0010) 2 ,
This means a command for drawing a triangle. On the other hand, it is determined that floating point data 1 to 5 indicate vertices X, Y coordinates, and luminances R, G, and B. In addition,
When displaying one triangle on the CRT 700, the figure data of the triangle is given to the rendering processor 500 three times.

【0079】このようにオペレーションコードの値に対
して、そのオペレーションコードを含むコマンドコード
に続く各浮動小数点データの種別が定まる。そこで、本
第二実施形態では、データ変換器100において、例え
ばオペレション・コードが(0001)2の場合は、浮
動小数点データ1始点X座標を、小数点が最下位から3
ビット目に位置する固定小数点データ1に変換を行い、
浮動小数点データ2始点Y座標を、小数点が最下位から
2ビット目に位置する固定小数点データ2に変換を行
い、オペレション・コードが(0010)2の場合は、
浮動小数点データ1頂点X座標を小数点が最下位から4
ビット目に位置する固定小数点データ1に変換を行い、
浮動小数点データ2頂点Y座標を小数点が最下位から2
ビット目に位置する固定小数点データ2に変換を行うと
言ったように、オペレーションコードと浮動小数点デー
タの位置によって、その浮動小数点データを変換する固
定小数点データの小数点のビット位置を、予め設定され
た対応に従って定めることにより、前記第一実施形態の
ようにジオメトリプロセッサ部50からスケールデータ
を受け取ることなく、各浮動小数点データを、そのデー
タの種別に応じた小数点のビット位置をもつ固定小数点
数に変換する。
As described above, for the value of the operation code, the type of each floating-point data following the command code including the operation code is determined. Therefore, in the second embodiment, in the data converter 100, for example, when the operation code is (0001) 2 , the starting point X coordinate of the floating-point data 1 is set to 3
Conversion to fixed-point data 1 located at the bit position
If the Y coordinate of the floating point data 2 starting point is converted to fixed point data 2 whose decimal point is located at the second bit from the least significant bit, and the operation code is (0010) 2 ,
Floating point data 1 vertex X coordinate is 4 from the lowest decimal point
Conversion to fixed-point data 1 located at the bit position
Floating point data 2 Vertex Y coordinate is 2 from the lowest decimal point
According to the operation code and the position of the floating-point data, the bit position of the decimal point of the fixed-point data to be converted from the floating-point data is set in advance according to the operation code and the position of the floating-point data. By determining according to the correspondence, each floating-point data is converted into a fixed-point number having a bit position of a decimal point according to the type of the data without receiving scale data from the geometry processor unit 50 as in the first embodiment. I do.

【0080】以下、このような変換を行うデータ変換器
100の詳細について説明する。データ変換器100の
全体的な構成は、図1に示したものと同様であり、コン
トロール部400、スケールファクタ部300、フォー
マット変換部200から構成されている。
Hereinafter, details of the data converter 100 for performing such conversion will be described. The overall configuration of the data converter 100 is the same as that shown in FIG. 1, and includes a control unit 400, a scale factor unit 300, and a format conversion unit 200.

【0081】図10に、コントロール部400の構成を示
す。
FIG. 10 shows the configuration of the control unit 400.

【0082】図示するように、コントロール部400は、
データ変換器100の状態の管理と、ジオメトリプロセッ
サ50とレンダリングプロセッサ500に対して図形及び描
画データの受け渡しの制御を行うシーケンサ415と、レ
ンダリングプロセッサ500に渡すデータの数を管理する
カウンタ回路420と、コマンドコード中の転送数をオペ
レーション・コードから検出する転送数ルックアップテ
ーブル435から構成される。
As shown, the control unit 400 includes:
A sequencer 415 for managing the state of the data converter 100 and controlling the transfer of graphics and drawing data to the geometry processor 50 and the rendering processor 500, and a counter circuit 420 for managing the number of data to be passed to the rendering processor 500; The transfer number lookup table 435 detects the transfer number in the command code from the operation code.

【0083】シーケンサ415が管理する状態は、データ
変換器がジオメトリプロセッサ50からコマンドコードを
受けている状態と、浮動小数点データ1から8を受けて
いる状態がある。
The state managed by the sequencer 415 includes a state where the data converter receives a command code from the geometry processor 50 and a state where the data converter receives floating point data 1 to 8.

【0084】シーケンサ415は、コマンドコードを受け
ている状態では、コマンドコードのオペレーションコー
ドをCOMレジスタに記憶し、オペレーションコードの内
容を転送数ルックアップテーブル435に出力し、カウン
タ回路420にCNTレジスタの初期化指示を出し、レンダリ
ングプロセッサ500に描画データコマンドコードの書き
込み要求DC_W信号を出し、コマンドコードをレンダリン
グプロセッサ500に渡す。また、レンダリングプロセッ
サ500から描画データコマンドコードを受け付けたこと
を表す信号RP_ACC信号が返ってきたら、ジオメトリプロ
セッサ50に図形データを受け付けたことを表す信号DC_A
CC信号を出し、状態を浮動小数点データ1から8を受け
ている状態に遷移する。
When the sequencer 415 receives the command code, the sequencer 415 stores the operation code of the command code in the COM register, outputs the content of the operation code to the transfer number lookup table 435, and sends the contents of the CNT register to the counter circuit 420. It issues an initialization instruction, issues a drawing data command code write request DC_W signal to the rendering processor 500, and passes the command code to the rendering processor 500. When a signal RP_ACC indicating that the drawing data command code has been received from the rendering processor 500 is returned, the signal DC_A indicating that the graphic data has been received is received by the geometry processor 50.
A CC signal is issued, and the state changes to a state receiving floating point data 1 to 8.

【0085】次に、浮動小数点データ1から8を受けて
いる状態では、シーケンサ415は、スケールファクタ部3
00にオペレーションコードが記憶されたCOMレジスタの
値を与え、レンダリングプロセッサ500に固定小数点デ
ータを書き込む要求DC_W信号を出し、レンダリングプロ
セッサ500から固定小数点データを受け付けたことを表
す信号RP_ACC信号が返ってきたら、ジオメトリプロセッ
サ50に浮動小数点データを受けつけたことを表す信号DC
_ACC信号を出す。また、シーケンサ415は、浮動小数点
データ1から8を受けている状態において、カウンタ回
路420から、コマンドコードを受けている状態に戻す指
示を受けた場合は、コマンドコードを受けている状態に
遷移する、受けなかった場合は、上述した浮動小数点デ
ータ1から8を受けている状態の動作を繰り返す。
Next, while receiving the floating point data 1 to 8, the sequencer 415
When the value of the COM register in which the operation code is stored is given to 00, a request DC_W signal for writing fixed-point data is issued to the rendering processor 500, and a signal RP_ACC indicating that fixed-point data has been received is returned from the rendering processor 500. , A signal DC indicating that the floating point data has been received by the geometry processor 50
Issue the _ACC signal. When receiving an instruction to return to a state where a command code is received from the counter circuit 420 while receiving the floating-point data 1 to 8, the sequencer 415 transitions to a state where the command code is received. Otherwise, the operation of receiving the above floating point data 1 to 8 is repeated.

【0086】転送数ルックアップテーブル435は、オペ
レーション・コード毎に、固定小数点データの転送数の
値がL1からL16まで登録されており、その中から1つの
値をシーケンサ415から出力されるCOMレジスタの値に従
って、セレクタ436によりで選択し、カウンタ回路420に
与える。
In the transfer number lookup table 435, the value of the transfer number of the fixed-point data is registered from L1 to L16 for each operation code, and one of the values is registered in the COM register output from the sequencer 415. Is selected by the selector 436 in accordance with the value of.

【0087】例えば、L1に転送数7、L2に転送数5が登
録されており、COMレジスタの値オペレーション・コー
ドが(0001)2の場合、転送数7がカウンタ回路420
に与えられ、COMレジスタの値が(0010)2の場合
は、転送数5が与えられる。
For example, when the transfer number 7 is registered in L1 and the transfer number 5 is registered in L2, and the value operation code of the COM register is (0001) 2 , the transfer number 7 is counted by the counter circuit 420.
When the value of the COM register is (0010) 2 , the transfer number 5 is given.

【0088】カウンタ回路420は、CNTレジスタと比較器
から構成されている。CNTレジスタは、シーケンサ415
から初期化の指示を受けたらレジスタの値を0に初期化
し、スケールファクタ部300にCNTレジスタの値を与え、
シーケンサ415が浮動小数点データ1から8を受けてい
る状態で、レンダリングプロセッサ500から描画データ
固定小数点データを受けつけた信号RP_ACC信号が帰って
きた場合に、CNTレジスタの値をインクリメントする。
そして、比較器は、インクリメントを実行したCNTレジ
スタの値と転送数ルックアップテーブル435から送られ
た転送数を比較し、両者の値が一致したら、シーケンサ
415にコマンドコードを受けている状態に戻す指示を
与える。
The counter circuit 420 comprises a CNT register and a comparator. The CNT register is the sequencer 415
When the initialization instruction is received from, the value of the register is initialized to 0, and the value of the CNT register is given to the scale factor unit 300.
In a state where the sequencer 415 is receiving the floating point data 1 to 8, when the signal RP_ACC signal receiving the drawing data fixed point data is returned from the rendering processor 500, the value of the CNT register is incremented.
Then, the comparator compares the incremented value of the CNT register with the number of transfers transmitted from the transfer number lookup table 435, and if the values match, returns to the state in which the sequencer 415 has received the command code. Give instructions.

【0089】図11に、スケールファクタ部300の構成
を示す。
FIG. 11 shows the configuration of the scale factor section 300.

【0090】スケールファクタ部300は、オペレーショ
ン・コード毎にScale1からScale16までのスケールファ
クタを登録するテーブルを備えている。
The scale factor section 300 has a table for registering scale factors from Scale1 to Scale16 for each operation code.

【0091】Scale1のテーブルに格納された複数のスケ
ールファクタの内の一つが、コントロール部400から出
力されるCOMレジスタの値COM信号に従ってセレクタ341
によって1つ選択されセレクタ360に出力される。Scale
2からScale16についても同様にひとつづつCOMレジスタ
の値COM信号に対応するスケールファクタが選択され、
セレクタ360に出力される。
One of the plurality of scale factors stored in the Scale1 table is selected by the selector 341 in accordance with the value COM signal of the COM register output from the control unit 400.
Is selected and output to the selector 360. Scale
Similarly, the scale factor corresponding to the value COM signal of the COM register is selected one by one from 2 to Scale16.
The data is output to the selector 360.

【0092】次に、各セレクタ341〜356で選択されたSc
ale1からScale16まで各数値は、セレクタ360で、コント
ロール部から入力されるカウンタの値CNT信号によりひ
とつづつ選択されフォーマット変換部200に出力され
る。これにより、図形データの浮動小数点データ1から
8毎に、対応するスケールファクタをフォーマット変換
部200与えることができる。
Next, the Sc selected by each of the selectors 341 to 356
Each numerical value from ale1 to Scale16 is selected one by one by the selector 360 by a counter value CNT signal input from the control unit and output to the format conversion unit 200. Thereby, a corresponding scale factor can be given to the format conversion unit 200 for each of the floating point data 1 to 8 of the graphic data.

【0093】フォーマット変換部200は、前述した第
一実施形態のフォーマット変換部200と同様である。
The format converter 200 is the same as the format converter 200 of the first embodiment described above.

【0094】以上、本発明の第二実施形態について説明
した。
The second embodiment of the present invention has been described above.

【0095】なお、本第2実施形態において、オペレー
ション・コードに対応して定まる転送数を格納した転送
数ルックアップテーブルL1〜L16及びスケールファクタ
のテーブルS1〜S16の内容は、たとえば、図2のCPU10
や、ジオメトリプロセッサ50から、任意の値を設定可
能とするようにしてもよい。このようにすることによ
り、図形データの形式を適宜変更可能とすることができ
る。
In the second embodiment, the contents of the transfer number lookup tables L1 to L16 storing the transfer numbers determined corresponding to the operation codes and the scale factor tables S1 to S16 are, for example, as shown in FIG. CPU10
Alternatively, an arbitrary value may be set from the geometry processor 50. By doing so, it is possible to appropriately change the format of the graphic data.

【0096】以下、本発明の第3の実施形態について説
明する。
Hereinafter, a third embodiment of the present invention will be described.

【0097】本第3実施形態は、第1実施形態に係るグ
ラフィック処理装置において、データ変換器100に、
浮動小数点データを固定小数点データに変換せずに、ジ
オメトリプロセッサ50から受け取ったままの形式でレ
ンダリングプロセッサ500に渡す機能を備えたもので
ある。
The third embodiment is different from the graphic processing device according to the first embodiment in that the data converter 100
It is provided with a function of passing floating point data to the rendering processor 500 in a format as received from the geometry processor 50 without converting the data to fixed point data.

【0098】このような機能は、レンダリングプロセッ
サ500においても浮動小数点データとして処理するデ
ータが存在する場合や、図12に示すように、コマンド
コードにオペレーションデータとして引き続くデータ中
に、浮動小数点データのみならず、コマンドコードを含
むデータなどが存在する形式を採用する場合に、これら
のデータを、そのままレンダリングプロセッサ500に
渡す際に有効である。
Such a function is used when there is data to be processed as floating-point data even in the rendering processor 500 or, as shown in FIG. 12, if only floating-point data is included in data following the command code as operation data. However, when a format in which data including a command code is present is adopted, it is effective to pass such data to the rendering processor 500 as it is.

【0099】図13に、この場合のコマンドデータのフ
ォーマットを示す。
FIG. 13 shows the format of the command data in this case.

【0100】図13に示すように、本第3実施形態で
は、コマンドコードのオペレーションコードに続く、そ
の他の制御コード中に、固定小数点に変換しないデータ
を示す変換制御コードを付加している。
As shown in FIG. 13, in the third embodiment, a conversion control code indicating data that is not converted to a fixed point is added to other control codes following the operation code of the command code.

【0101】図中の、(00100000)2は、値
(1)2の位置、すなわち前から3番目のデータは、デ
ータ変換器100において、固定小数点データに変換せ
ずに、そのままレンダリングプロセッサ500に出力す
べきことを表している。
In the figure, (00100000) 2 indicates the position of the value (1) 2 , that is, the third data from the front is not converted into fixed-point data by the data converter 100 and is directly transmitted to the rendering processor 500. Indicates what should be output.

【0102】以下、本実施形態に係るデータ変換器10
0について説明する。
Hereinafter, the data converter 10 according to the present embodiment will be described.
0 will be described.

【0103】データ変換器100の全体的な構成は、図
1に示したものと同様であり、コントロール部400、
スケールファクタ部300、フォーマット変換部200
から構成されている。また、コントロール部400、ス
ケールファクタ部300は、前述した第1実施形態で説
明したものと同じものを用いることができる。
The overall configuration of the data converter 100 is the same as that shown in FIG.
Scale factor unit 300, format conversion unit 200
It is composed of The control unit 400 and the scale factor unit 300 may be the same as those described in the first embodiment.

【0104】図14に、残るフォーマット変換部200
の構成を示す。
FIG. 14 shows the remaining format converter 200.
Is shown.

【0105】図示するように、本実施形態に係るフォー
マット変換部210は、図7に示したフォーマット変換
部200の構成に、制御コード処理部290と、セレク
タ291を付加したものである。
As shown in the figure, the format converter 210 according to the present embodiment is obtained by adding a control code processor 290 and a selector 291 to the configuration of the format converter 200 shown in FIG.

【0106】制御コード処理部290内の制御コードレ
ジスタには、コントロール部400のシーケンサ410
が、コマンドコードを受けている状態のとき、コマンド
コード中の、その他の制御コード中の変換制御コードが
記憶される。
The control code register in the control code processing section 290 stores the sequencer 410 of the control section 400.
Is in the state of receiving the command code, the conversion control code in the other control codes in the command code is stored.

【0107】制御コード処理部290は、通常はセレク
タ291が符号処理部250が出力する固定小数点デー
タを選択するように、セレクタ291を制御するが、コ
ントロール部400のカウンタ回路420の出力する値
が、レジスタに格納した変換制御コードがデータを変換
しないことを表す位置の値(変換制御コードが(001
00001)2であれば3と8)と同じになったときに
は、セレクタ291が、ジオメトリプロセッサ50から
受け取った固定小数点データを選択するように、セレク
タ291を制御する。
The control code processing unit 290 controls the selector 291 so that the selector 291 normally selects the fixed-point data output from the code processing unit 250. The value output from the counter circuit 420 of the control unit 400 is , The value of the position indicating that the conversion control code stored in the register does not convert data (the conversion control code is (001)
00001) If 2 and 3 and 8), the selector 291 controls the selector 291 so as to select the fixed-point data received from the geometry processor 50.

【0108】以上、本発明の第3の実施形態について説
明した。
As described above, the third embodiment of the present invention has been described.

【0109】なお、第2実施形態で説明したグラフィッ
クス処理装置において、データ変換器100のフォーマ
ット変換部200を図4に示したように構成することに
より、本第3実施形態を、第1実施形態への適用と同様
にして第2実施形態に適用することもできる。
In the graphics processing apparatus described in the second embodiment, the format conversion unit 200 of the data converter 100 is configured as shown in FIG. It can be applied to the second embodiment in the same way as the application to the embodiment.

【0110】以上、説明した各実施形態によれば、デー
タ変換器100を、ジオメトリプロセッサ50とレンダ
リングプロセッサ500の間に設け、パイプライン式
に、ジオメトリプロセッサ10の処理と浮動小数点デー
タから固定小数点データへの変換を行うので、高速なグ
ラフィックス処理が可能となる。また、データ種別毎に
小数点のビット位置を任意に制御したり、また、浮動小
数点数から固定小数点数への変換を行わないようにする
ことができるので、多種多様なデータに対応可能であ
る。
According to each of the embodiments described above, the data converter 100 is provided between the geometry processor 50 and the rendering processor 500, and the processing of the geometry processor 10 and the floating-point data are converted to the fixed-point data in a pipeline manner. Since the conversion is performed, high-speed graphics processing can be performed. In addition, since the bit position of the decimal point can be arbitrarily controlled for each data type, and conversion from a floating-point number to a fixed-point number can not be performed, it is possible to deal with a wide variety of data.

【0111】[0111]

【発明の効果】以上のように、本発明によれば、浮動小
数点数から固定小数点数への変換のために要する処理速
度の低下を削減することのできるグラフィックス処理装
置を提供することができる。
As described above, according to the present invention, it is possible to provide a graphics processing apparatus capable of reducing a reduction in processing speed required for converting a floating-point number to a fixed-point number. .

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

【図1】グラフィックス処理装置の構成を示すブロック
図である。
FIG. 1 is a block diagram illustrating a configuration of a graphics processing device.

【図2】グラフィックス処理装置を適用したコンピュー
タの構成を示すブロック図である。
FIG. 2 is a block diagram illustrating a configuration of a computer to which the graphics processing device is applied.

【図3】本発明の第1実施形態に係るデータ変換器の入
出力データを示す図である。
FIG. 3 is a diagram showing input / output data of a data converter according to the first embodiment of the present invention.

【図4】本発明の第1実施形態に係るデータ変換器の入
出力データフォーマットを示す図である。
FIG. 4 is a diagram showing an input / output data format of the data converter according to the first embodiment of the present invention.

【図5】本発明の第1実施形態に係るコントロール部の
構成を示すブロック図である。
FIG. 5 is a block diagram illustrating a configuration of a control unit according to the first embodiment of the present invention.

【図6】本発明の第1実施形態に係るスケールファクタ
部の構成を示すブロック図である。
FIG. 6 is a block diagram illustrating a configuration of a scale factor unit according to the first embodiment of the present invention.

【図7】本発明の第1実施形態に係るフォーマット変換
部の構成を示すブロック図である。
FIG. 7 is a block diagram illustrating a configuration of a format conversion unit according to the first embodiment of the present invention.

【図8】本発明の第2実施形態に係るデータ変換器の入
出力データを示す図である。
FIG. 8 is a diagram showing input / output data of a data converter according to a second embodiment of the present invention.

【図9】本発明の第2実施形態に係るデータ変換器の入
出力データフォーマットを示す図である。
FIG. 9 is a diagram showing an input / output data format of a data converter according to a second embodiment of the present invention.

【図10】本発明の第2実施形態に係るコントロール部
の構成を示すブロック図である。
FIG. 10 is a block diagram illustrating a configuration of a control unit according to a second embodiment of the present invention.

【図11】本発明の第2実施形態に係るスケールファク
タ部の構成を示すブロック図である。
FIG. 11 is a block diagram illustrating a configuration of a scale factor unit according to a second embodiment of the present invention.

【図12】本発明の第3実施形態に係るデータ変換器の
入出力データを示す図である。
FIG. 12 is a diagram showing input / output data of a data converter according to a third embodiment of the present invention.

【図13】本発明の第3実施形態に係るコマンドデータ
のフォーマットを示す図である。
FIG. 13 is a diagram showing a format of command data according to a third embodiment of the present invention.

【図14】本発明の第3実施形態に係るフォーマット変
換部の構成を示すブロック図である。
FIG. 14 is a block diagram illustrating a configuration of a format conversion unit according to a third embodiment of the present invention.

【符号の説明】[Explanation of symbols]

10・・・CPU、50・・・ジオメトリプロセッサ、100・・
・データ変換器、200・・・フォーマット変換部、210・
・・指数処理部、230・・・仮数シフト部、250・・・符
号処理部、290・・・制御コード処理部、291・・
・セレクタ、300・・・スケールファクタ部、311〜318
・・・レジスタS1〜S8、320・・・セレクタ、341〜356
・・・セレクタ、360・・・セレクタ。400・・・コント
ロール部、410・・・シーケンサ、415・・・シーケン
サ、435・・・転送数ルックアップテーブル、436・・・
セレクタ、420・・・カウンタ回路、430・・・LENレジ
スタ、500・・・レンダリグプロセッサ、600・・・フレ
ームメモリ、700・・・CRT、
10 ... CPU, 50 ... Geometry processor, 100 ...
・ Data converter, 200 ・ ・ ・ Format converter, 210 ・
..Exponent processing section, 230 ... Mantissa shift section, 250 ... Sign processing section, 290 ... Control code processing section, 291 ...
・ Selector, 300 ・ ・ ・ Scale factor part, 311-318
... Registers S1-S8, 320 ... Selector, 341-356
... selector, 360 ... selector. 400 ... Control unit, 410 ... Sequencer, 415 ... Sequencer, 435 ... Transfer number lookup table, 436 ...
Selector, 420 ・ ・ ・ Counter circuit, 430 ・ ・ ・ LEN register, 500 ・ ・ ・ Render rig processor, 600 ・ ・ ・ Frame memory, 700 ・ ・ ・ CRT,

───────────────────────────────────────────────────── フロントページの続き (72)発明者 鈴木 克徳 茨城県日立市大みか町七丁目1番1号 株 式会社日立製作所日立研究所内 (72)発明者 鬼木 一徳 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ──────────────────────────────────────────────────続 き Continued on the front page (72) Katsunori Suzuki 7-1-1, Omikacho, Hitachi City, Ibaraki Prefecture Inside the Hitachi Research Laboratory, Hitachi, Ltd. (72) Kazunori Oniki 5-2, Omikamachi, Hitachi City, Ibaraki Prefecture No. 1 Inside the Omika Plant of Hitachi, Ltd.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】描画すべき図形を特定する情報を浮動小数
点形式で表した浮動小数点データ列を含む図形データを
出力するプロセッサと、 描画すべき図形の内容を固定小数点形式で表した固定小
数点データ列を含む描画データに従って、図形を画素に
展開して出力するレンダリング部とを備えたグラフィッ
ク装置であって、 前記プロセッサが出力する前記図形データに含まれる浮
動小数点データを、固定小数点データに変換し、前記描
画データとして前記レンダリング部に出力するデータ変
換器を備え、 前記データ変換器は、浮動小数点データを変換する固定
小数点データの小数点のビット位置を変更する小数点位
置変更手段を有することを特徴とする特徴とするグラフ
ィックス処理装置。
1. A processor for outputting graphic data including a floating-point data string representing information for specifying a graphic to be drawn in a floating-point format, and fixed-point data representing the contents of the graphic to be drawn in a fixed-point format A rendering unit that expands a graphic into pixels in accordance with drawing data including columns and outputs the result.The floating-point data included in the graphic data output by the processor is converted into fixed-point data. A data converter that outputs the drawing data to the rendering unit, wherein the data converter has a decimal point position changing unit that changes a bit position of a decimal point of the fixed point data for converting floating point data. Graphics processing device.
【請求項2】請求項1記載のグラフィックス処理装置で
あって、 前記プロセッサは、前記図形データとして、前記浮動小
数点データ列と共に、個々の浮動小数点データを変換す
べき固定小数点データの小数点のビット位置を指定する
スケールファクタデータを出力し、 前記データ変換器の小数点位置変更手段は、前記各浮動
小数点データを変換する固定小数点データの小数点のビ
ット位置を、当該浮動小数点データについて、前記プロ
セッサが出力する前記図形データに含まれるスケールフ
ァクタデータが指定する小数点のビット位置とすること
を特徴とするグラフィックス処理装置。
2. A graphics processing apparatus according to claim 1, wherein said processor includes, as said graphic data, decimal point bits of fixed-point data to be converted with respect to each floating-point data string together with said floating-point data sequence. The scale factor data specifying the position is output, and the decimal point position changing means of the data converter outputs the bit position of the decimal point of the fixed-point data for converting each floating-point data, for the floating-point data, the processor outputs A graphics processing apparatus, wherein a bit position of a decimal point specified by scale factor data included in the graphic data is set.
【請求項3】請求項1記載のグラフィックス処理装置で
あって、 前記プロセッサは、前記図形データとして、前記浮動小
数点データ列と共に、前記浮動小数点データ列が特定す
る図形の種別を表すコマンドを出力し、 前記データ変換器は、図形データに含まれる各浮動小数
点データを変換する固定小数点データの小数点のビット
位置を、前記コマンド毎に対応して記憶するスケールフ
ァクタテーブルを備え、 前記データ変換器の小数点位置変更手段は、前記各浮動
小数点データを変換する固定小数点データの小数点のビ
ット位置を、当該浮動小数点データと同じ図形データに
含まれる前記コマンドに対応して前記スケールファクタ
テーブルに記憶された、小数点のビット位置とすること
を特徴とするグラフィックス処理装置。
3. The graphics processing apparatus according to claim 1, wherein the processor outputs, as the graphic data, a command representing a type of a graphic specified by the floating-point data string, together with the floating-point data string. The data converter includes a scale factor table that stores a bit position of a decimal point of the fixed-point data for converting each floating-point data included in the graphic data for each of the commands. The decimal point position changing means stores the bit position of the decimal point of the fixed point data for converting each floating point data in the scale factor table corresponding to the command included in the same graphic data as the floating point data. A graphics processing device characterized by a bit position of a decimal point.
【請求項4】請求項3記載のグラフィックス装置であっ
て、 前記データ変換器のスケールファクタテーブルは、図形
データに含まれる各浮動小数点データを変換する固定小
数点データの小数点のビット位置を、浮動小数点データ
の図形データ中の位置と前記コマンド毎に対応して記憶
するスケールファクタテーブルを備え、 前記データ変換器の小数点位置変更手段は、前記各浮動
小数点データを変換する固定小数点データの小数点のビ
ット位置を、当該浮動小数点データと同じ図形データに
含まれる前記コマンドと当該浮動小数点データの図形デ
ータ中の位置に対応して前記スケールファクタテーブル
に記憶された、小数点のビット位置とすることを特徴と
するグラフィックス処理装置。
4. The graphics device according to claim 3, wherein the scale factor table of the data converter stores a floating point bit position of fixed point data for converting each floating point data included in the graphic data. A scale factor table for storing the position of the decimal point data in the graphic data and the command corresponding to each of the commands; The position is a bit position of a decimal point stored in the scale factor table corresponding to the command included in the same graphic data as the floating point data and the position of the floating point data in the graphic data. Graphics processing unit.
【請求項5】請求項2、3または4記載のグラフィック
ス処理装置であって、 前記プロセッサは、前記図形データとして、前記浮動小
数点データ列と共に、前記浮動小数点データ列に含まれ
る浮動小数点データのうち固定小数点データに変換しな
い浮動小数点データを指定する制御コードを出力し、 前記データ変換器は、前記プロセッサが出力する制御コ
ードが指定する浮動小数点データについては固定小数点
データに変換せずに、前記描画データに含め前記レンダ
リング部に出力することを特徴とするグラフィックス処
理装置。
5. The graphics processing apparatus according to claim 2, wherein the processor is configured to generate, as the graphic data, floating-point data included in the floating-point data string together with the floating-point data string. Among them, a control code that specifies floating-point data that is not converted to fixed-point data is output, and the data converter does not convert floating-point data specified by the control code output by the processor to fixed-point data, A graphics processing device, which is included in drawing data and outputs to the rendering unit.
【請求項6】請求項1、2、3、4または5記載のグラ
フィックス処理装置と、 前記レンダリング部が図形を展開して出力した画素を格
納するフレームメモリと、 前記フレームメモリに格納された各画素を順次読み出し
表示する表示装置とを備えたことを特徴とする情報処理
装置。
6. The graphics processing device according to claim 1, 2, 3, 4, or 5, a frame memory for storing pixels output by rendering the graphic by the rendering unit, and a frame memory stored in the frame memory. And a display device for sequentially reading and displaying each pixel.
JP01091897A 1997-01-20 1997-01-24 Graphics processing unit Expired - Fee Related JP3547277B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP01091897A JP3547277B2 (en) 1997-01-24 1997-01-24 Graphics processing unit
CA002418916A CA2418916C (en) 1997-01-20 1998-01-20 Graphics processing unit and graphics processing system
CA002227531A CA2227531C (en) 1997-01-20 1998-01-20 Graphics processing unit and graphics processing system
US09/009,588 US6049343A (en) 1997-01-20 1998-01-20 Graphics processing unit and graphics processing system
US10/391,235 US20030163502A1 (en) 1997-01-20 2003-03-19 Graphics processing unit and graphics processing system
US11/484,812 US20060250397A1 (en) 1997-01-20 2006-07-12 Graphics processing unit and graphics processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01091897A JP3547277B2 (en) 1997-01-24 1997-01-24 Graphics processing unit

Publications (2)

Publication Number Publication Date
JPH10207688A true JPH10207688A (en) 1998-08-07
JP3547277B2 JP3547277B2 (en) 2004-07-28

Family

ID=11763641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01091897A Expired - Fee Related JP3547277B2 (en) 1997-01-20 1997-01-24 Graphics processing unit

Country Status (1)

Country Link
JP (1) JP3547277B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009093662A (en) * 2002-12-27 2009-04-30 Arm Ltd Data processing apparatus and method for converting number between fixed-point and floating-point representations

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009093662A (en) * 2002-12-27 2009-04-30 Arm Ltd Data processing apparatus and method for converting number between fixed-point and floating-point representations

Also Published As

Publication number Publication date
JP3547277B2 (en) 2004-07-28

Similar Documents

Publication Publication Date Title
US20060250397A1 (en) Graphics processing unit and graphics processing system
US6954204B2 (en) Programmable graphics system and method using flexible, high-precision data formats
US4821209A (en) Data transformation and clipping in a graphics display system
US5973705A (en) Geometry pipeline implemented on a SIMD machine
US5081698A (en) Method and apparatus for graphics display data manipulation
US5862066A (en) Methods and apparatus for fast check of floating point zero or negative zero
JPS61500872A (en) Apparatus and method for displaying characters in a bitmapped graphics system
JP2002008060A (en) Data processing method, recording medium and data processing device
US5912830A (en) System and method for conditionally calculating exponential values in a geometry accelerator
JP3146308B2 (en) Matrix operation circuit
TW491975B (en) A method and apparatus for performing a double precision operation using a single instruction type
JP3547277B2 (en) Graphics processing unit
JP2757614B2 (en) Figure filling device
JPH07295787A (en) Arithmetic processor
KR20090012320A (en) Programmable data processing circuit
JPH1153189A (en) Operation unit, operation method and recording medium readable by computer
US5812836A (en) System for processing iterative tasks in data processing systems
EP0410778A2 (en) Graphics processor having a floating point coprocessor
CA2418916C (en) Graphics processing unit and graphics processing system
US5896135A (en) System and method for generating 3D color images with simulated light sources
US6903750B2 (en) Controlling an output device
JPH10207694A (en) Digital power arithmetic unit and graphics system using the same
US6445393B1 (en) Three-dimension graphics rendering apparatus and method therefor
JPH11328438A (en) Method and device for high-efficiency floating-point z buffering
JP2006235858A (en) Data compression/extension system with variable precision in computer graphics and game machine using the system

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040406

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040413

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

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100423

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110423

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120423

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120423

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130423

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140423

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees