JP2007188527A - Interruption processing method for information processor - Google Patents

Interruption processing method for information processor Download PDF

Info

Publication number
JP2007188527A
JP2007188527A JP2007070751A JP2007070751A JP2007188527A JP 2007188527 A JP2007188527 A JP 2007188527A JP 2007070751 A JP2007070751 A JP 2007070751A JP 2007070751 A JP2007070751 A JP 2007070751A JP 2007188527 A JP2007188527 A JP 2007188527A
Authority
JP
Japan
Prior art keywords
instruction
interrupt
delay
signal
flag
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
JP2007070751A
Other languages
Japanese (ja)
Other versions
JP4564025B2 (en
Inventor
Kazuhiko Hara
和彦 原
Shinichi Yamaura
慎一 山浦
Takao Katayama
貴雄 片山
Kazuhiko Iwanaga
和彦 岩永
Kosuke Takato
浩資 高藤
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007070751A priority Critical patent/JP4564025B2/en
Publication of JP2007188527A publication Critical patent/JP2007188527A/en
Application granted granted Critical
Publication of JP4564025B2 publication Critical patent/JP4564025B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Advance Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an interruption processing method capable of eliminating the occurrence of problem by a simple method when an interruption is accepted just after delay in a CPU of a pipeline system which processes an instruction with a delay slot. <P>SOLUTION: The interruption processing method has an instruction decoder 1 which decodes instructions and a flag register 2 which can be set by the instructions in the CPU which performs pipeline processing to a delay instruction with the delay slot and switches the interruption just after the delay instruction to valid or invalid by a state of the flag register 2. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

この発明は、遅延スロットを持つ命令を処理するパイプライン方式の情報処理装置における割り込み処理の方法に関する。   The present invention relates to an interrupt processing method in a pipeline type information processing apparatus that processes an instruction having a delay slot.

計算機などの情報処理装置(以下、CPUという)では、デバッグ作業のために、命令のシングルステップ実行が行われる。   In an information processing apparatus (hereinafter referred to as a CPU) such as a computer, single-step execution of instructions is performed for debugging work.

シングルステップ実行を実現するため、CPUがハードウエアでシングルステップ割り込みをサポートする方法が一般的である。これは、CPUがシングルステップ実行を行う動作モードを用意し、このモードでは1命令を実行する毎に割り込みを発生させることで実現している。   In order to realize single step execution, a method in which the CPU supports a single step interrupt in hardware is generally used. This is realized by preparing an operation mode in which the CPU performs single-step execution, and generating an interrupt every time one instruction is executed in this mode.

しかしながら、遅延分岐命令など遅延スロットを設けてパイプライン処理している場合など、1命令毎の割り込みが不可能な場合が存在する。この場合については、2通りの解決策が考えられている。   However, there are cases where it is not possible to interrupt each instruction, such as when a delay slot is provided and pipeline processing is performed. There are two possible solutions for this case.

第1の方法は、遅延命令と遅延スロットの間に割り込みが入っても矛盾を起こさないように、また完全な形で復帰できるようハードウエアによるサポートを行う手段である。すなわち、復帰時に遅延スロット内の命令から実行することができるようにすることである。この方法は、プログラムされる命令になんら制限がなく、シングルステップ実行によるデバッグとしては、理想的であるが、この機能を実現するためのハードウエアコストの増大は不可避であり、場合によっては動作周波数の低下、動作時消費電力の増大なども考えられる。   The first method is a means for providing support by hardware so as not to cause a contradiction even when an interrupt is inserted between a delay instruction and a delay slot, and to be able to return completely. That is, it is possible to execute from the instruction in the delay slot when returning. This method has no restrictions on the instructions to be programmed, and is ideal for debugging by single-step execution. However, an increase in hardware cost for realizing this function is inevitable, and in some cases the operating frequency is A decrease in power consumption and an increase in power consumption during operation are also conceivable.

第2の方法は、遅延命令の直後には割り込みを受け付けないようにする方法である。この方法だと、ハードウエアコストもわずかであり、遅延命令のみがシングルステップとならないが、遅延命令の頻度が高くないならば、ほとんどデバッグの障害にならない。   The second method is a method in which no interrupt is accepted immediately after the delay instruction. With this method, the hardware cost is also small, and only the delayed instruction does not become a single step. However, if the frequency of the delayed instruction is not high, it hardly becomes an obstacle to debugging.

しかしながら、上記第1の方法では、前述のようにハードウェアコストが問題となる。コストが最重視されるシステムでは採用は困難であるとともに、動作周波数の低下や消費電力の増大などのマイナス面も考えられる。   However, in the first method, the hardware cost becomes a problem as described above. Adoption is difficult in a system where cost is the most important, and there are also possible negative aspects such as a decrease in operating frequency and an increase in power consumption.

上記第2の方法では、遅延命令の出現頻度が高い場合は、デバッグ作業に支障がある。たとえば、遅延命令がいくつか連続してしまうと、その命令群を処理する間、割り込みが禁止され、シングルステップ実行ができない。したがって、その間のデバッグしやすさが著しく低下する。   In the second method, when the frequency of appearance of delayed instructions is high, there is a problem in debugging work. For example, if several delay instructions are consecutive, interrupts are prohibited during processing of the instruction group, and single-step execution cannot be performed. Therefore, the ease of debugging during that time is significantly reduced.

また、上記の第2の方法が、ハードウエアコストの点から見ても有望であるが、問題となるのは、遅延命令が連続して出現するとき、1命令毎であるべきシングルステップ実行モードで、数命令実行の間の情報が途絶えデバッグに支障をきたすという点である。   The second method described above is also promising from the viewpoint of hardware cost, but the problem is that the single-step execution mode should be every instruction when delayed instructions appear continuously. Therefore, the information during the execution of several instructions is interrupted, and debugging is hindered.

この発明は、上述した従来の問題点に鑑みなされたものにして、遅延スロットを持つ命令を処理するパイプライン方式のCPUにおいて、遅延直後に割り込みを受け付けた場合に、簡易な方法で問題発生をなくす割り込み処理方法を提供する。   The present invention has been made in view of the above-described conventional problems, and in a pipelined CPU that processes an instruction having a delay slot, when an interrupt is received immediately after the delay, a problem occurs in a simple manner. Provide an interrupt handling method to eliminate.

この発明の割り込み処理方法は、遅延スロットを持つ遅延命令をパイプライン処理する情報処理装置において、命令によって設定の可能な少なくとも一つのフラグレジスタを有し、フラグレジスタの状態により、遅延命令の直後の割り込みを有効または無効に切り替えることを特徴とする。   The interrupt processing method according to the present invention has at least one flag register that can be set by an instruction in an information processing apparatus that pipelines a delay instruction having a delay slot. It is characterized by switching the interrupt to enable or disable.

上記した構成によれば、遅延命令直後の割り込みを有効にするか無効にするかを、命令により選択可能とすることで、プログラマに選択権を与えることができる。プログラマは都合に応じてどちらかの方法を選択できるので、プログラマに有利な条件を常に用意できることになる。   According to the configuration described above, the programmer can be given a selection right by enabling the instruction to select whether to enable or disable the interrupt immediately after the delay instruction. Since the programmer can select either method according to his / her convenience, conditions that are advantageous to the programmer can always be prepared.

さらに、この発明は、前記フラグレジスタの状態によらず直後の割り込みを無効とする第1の遅延命令と、前記フラグレジスタに格納されたフラグによって直後の割り込みの有効または無効を切り替え可能な第2の遅延命令と、を備えるように構成すると良い。   Further, according to the present invention, there is provided a first delay instruction that disables the immediately following interrupt regardless of the state of the flag register, and a second that can switch enable / disable of the immediately following interrupt by a flag stored in the flag register. The delay instruction is preferably provided.

上記の構成によれば、フラグによって直後の割り込みの有効・無効を切り替え可能な遅延命令と、前述のフラグの状態によらず直後の割り込みを無効とする遅延命令の2通りの遅延命令に分類する。すなわち、遅延直後の割り込みの実現にハードウエアの著しい負担を強いるような遅延命令、たとえば遅延分岐命令のように分岐先アドレスと復帰アドレスが異なるため特殊なレジスタを設けるなど、特殊な処理になるような命令については、フラグ状態によらず直後の割り込み受付を禁止する分類とし、ハードウエアコストがかからない遅延命令は、フラグの状態によって直後の割り込みの有効・無効を切り替えが可能とする分類とする。この結果、ハードウエアの増大を招くことなく、従来シングルステップ実行できなかった命令の一部においても、シングルステップ実行できるようになり、デバッグのしやすさを向上できる。   According to the above configuration, there are two types of delay instructions: a delay instruction that can switch enable / disable of the immediately following interrupt by a flag and a delay instruction that disables the immediately following interrupt regardless of the state of the flag. . In other words, delay processing that imposes a significant hardware burden on the implementation of an interrupt immediately after delay, for example, a special register such as a delayed branch instruction has a special register because the branch destination address and return address are different. For such instructions, the immediately following interrupt acceptance is prohibited regardless of the flag state, and for the delayed instructions that do not incur a hardware cost, the immediately following interrupt can be enabled / disabled depending on the flag state. As a result, it becomes possible to perform single step execution even for a part of instructions that could not be executed in single step in the prior art without increasing the hardware, thereby improving the ease of debugging.

また、この発明の割り込み処理方法は、遅延スロットを持つ遅延命令をパイプライン処理する情報処理装置おいて、直後の割り込みを無条件で無効とする第1の遅延命令と、遅延命令と遅延スロットに配置された命令の組み合わせによって直後の割り込みの有効または無効を切り替え可能な第2の遅延命令と、を備えることを特徴とする。   Also, according to the interrupt processing method of the present invention, in an information processing apparatus that pipelines a delay instruction having a delay slot, a first delay instruction that unconditionally disables the immediately following interrupt, a delay instruction and a delay slot And a second delay instruction capable of switching between enabling and disabling of the immediately following interrupt according to the combination of the arranged instructions.

上記の構成によれば、割り込みを許可して良いのか否かの判断を自動的に行えるため、プログラマに知識と手間を要求しない。また、ハザードが発生する可能性のある場合と、ない場合が混在するようなプログラムであっても、一律に割り込み禁止にしなくてもいいため、デバッグの精度が向上する。   According to the above configuration, since it is possible to automatically determine whether or not to permit interruption, it is not necessary to require knowledge and effort from the programmer. Further, even if a program has a possibility of occurrence of a hazard and a case in which no hazard is present, it is not necessary to uniformly disable interrupts, so that debugging accuracy is improved.

さらに、この発明は、パイプラインステージで連続する2命令のオペランドの一致を検査する比較器を持ち、前記比較器の結果を反映して、前述の遅延命令と遅延スロットに配置された命令の組み合わせによって、直後の割り込みの有効または無効を切り替え可能に構成すると良い。   Further, the present invention has a comparator for checking the coincidence of operands of two consecutive instructions in the pipeline stage, and reflects the result of the comparator to combine the delay instruction and the instruction arranged in the delay slot. Therefore, it is preferable to enable or disable the immediately following interrupt.

上記の構成によれば、ハザードが発生する可能性をオペランドレベルで検査するため、ハザードが発生する可能性のある遅延命令と後続命令の組み合わせにおいても、オペランドの不一致によりハザードが発生せず、割り込みを禁止する必要がなくなる場合もあるため、よりデバッグの精度が向上する。   According to the above configuration, the possibility of a hazard is checked at the operand level. Therefore, even in the case of a combination of a delayed instruction and a subsequent instruction that may cause a hazard, a hazard does not occur due to a mismatch of operands. In some cases, it is not necessary to prohibit the operation, so that the accuracy of debugging is further improved.

以上説明したように、この発明によれば、遅延命令直後の割り込みを有効にするか無効にするかを、命令により選択可能とすることで、プログラマに選択権を与えることができる。プログラマは都合に応じてどちらかの方法を選択できるので、プログラマに有利な条件を常に用意できることになる。   As described above, according to the present invention, it is possible to give the programmer a selection right by enabling the instruction to select whether to enable or disable the interrupt immediately after the delay instruction. Since the programmer can select either method according to his / her convenience, conditions that are advantageous to the programmer can always be prepared.

また、この発明によれば、遅延直後の割り込みの実現にハードウエアの著しい負担を強いるような遅延命令については、フラグ状態によらず直後の割り込み受付を禁止する分類とし、ハードウエアコストがかからない遅延命令は、フラグの状態によって直後の割り込みの有効・無効を切り替えが可能とする分類とすることにより、ハードウエアの増大を招くことなく、従来シングルステップ実行できなかった命令の一部においても、シングルステップ実行できるようになり、デバッグのしやすさを向上できる。   In addition, according to the present invention, a delay instruction that imposes a significant hardware burden on the realization of an interrupt immediately after the delay is classified as prohibiting the acceptance of the interrupt immediately after the flag state, and does not incur a hardware cost. Instructions are classified as enabling / disabling the next interrupt depending on the flag status, so that even single-step instructions that could not be executed in a single step can be single-ended without increasing hardware. It becomes possible to perform step execution, and the ease of debugging can be improved.

以下、この発明の実施の形態につき図面を参照して説明する。図5にこの発明の一実施形態に係わる遅延命令のパイプライン処理の動作タイミング図を示す。ここでは、説明を簡単にするため、単純なパイプライン構造としている。    Embodiments of the present invention will be described below with reference to the drawings. FIG. 5 shows an operation timing chart of pipeline processing of a delayed instruction according to one embodiment of the present invention. Here, in order to simplify the explanation, a simple pipeline structure is used.

このCPUでは、「フェッチ」「実行」「メモリアクセス」の3段のパイプライン構造を持つ。「フェッチ」では命令を格納しているメモリから順に命令を読み込む工程である。「実行」は命令に従って演算などの処理を行い、結果を所望のレジスタに格納する工程である。「メモリアクセス」は、ロードやストアなどのメモリにアクセスする命令のみに存在する工程で、ロードの場合は所望のアドレスからデータを読み出し、所望のレジスタへ格納することを実行する。   This CPU has a three-stage pipeline structure of “fetch”, “execution”, and “memory access”. “Fetch” is a process of reading instructions in order from the memory storing the instructions. “Execution” is a step of performing processing such as calculation according to an instruction and storing the result in a desired register. “Memory access” is a process that exists only in an instruction that accesses a memory such as load or store. In the case of load, data is read from a desired address and stored in a desired register.

図5は、以下に示すプログラムを実行したときの各工程の動作を示している。ここで、「命令A」は、「LD (mem),R1」のロード命令であり、メモリ上の(mem)番地にあるデータを読み込み、レジスタR1へ格納する。「命令B」は、「ADD R1,R2」の加算命令であり、レジスタR1とレジスタR2の内容を加算し、結果をレジスタR2へ格納する。「命令C」は、「ADD
R1,R3」の加算命令であり、レジスタR1とレジスタR3の内容を加算し、結果をレジスタR3へ格納する。
FIG. 5 shows the operation of each process when the following program is executed. Here, “instruction A” is a load instruction of “LD (mem), R1”, reads data at address (mem) on the memory, and stores it in register R1. “Instruction B” is an addition instruction of “ADD R1, R2”, adds the contents of register R1 and register R2, and stores the result in register R2. "Instruction C" is "ADD
R1, R3 "addition instruction, adds the contents of the registers R1 and R3, and stores the result in the register R3.

ここでは、「命令B」の扱うレジスタR1の内容と、「命令C」の扱うレジスタR1の内容が異なる。それは図5に示す通り、「命令A」によるレジスタR1の更新が、「命令B」では反映されないが、「命令C」では反映されるためである。すなわち、「命令B」では「命令A」実行以前のレジスタR1の内容を使用するのに対し、「命令C」では「命令A」で読み出した内容、すなわちメモリ上の(mem)番地に格納している内容を使用することになる。   Here, the contents of the register R1 handled by the “instruction B” are different from the contents of the register R1 handled by the “instruction C”. This is because, as shown in FIG. 5, the update of the register R1 by “instruction A” is not reflected in “instruction B” but is reflected in “instruction C”. That is, “instruction B” uses the contents of register R1 before execution of “instruction A”, whereas “instruction C” stores the contents read out by “instruction A”, that is, at the (mem) address on the memory. Will use the content.

これはCPUのアーキテクチャ上の特徴であり、プログラマはそのことを理解した上でプログラムすることになる。   This is an architectural feature of the CPU, and programmers program it after understanding it.

これをシングルステップ実行によりデバッグする場合を図6に示す。シングルステップ実行では、各命令ごとに単独で実行されるため、「命令A」と「命令B」の間にも図6に示すように数サイクルの無関係なサイクルが存在する。すると、「命令B」の実行時には、「命令A」でレジスタR1の内容が更新されている。したがって、本来の実行時と異なる内容について演算することになり、デバッグの意味がない。   FIG. 6 shows a case where this is debugged by single step execution. In single-step execution, since each instruction is executed independently, there are several unrelated cycles of “instruction A” and “instruction B” as shown in FIG. Then, when “instruction B” is executed, the contents of the register R1 are updated with “instruction A”. Therefore, the calculation is performed for the contents different from the original execution time, and there is no meaning of debugging.

そこで、このような問題(一般的にハザードと呼ぶ)が発生する可能性のある場合、シングルステップ実行はできない。この例の場合だと、「命令A」が遅延命令に相当するため、「命令A」と「命令B」の間にはシングルステップなどの割り込みを受け付けてはいけない。   Therefore, when such a problem (generally called a hazard) may occur, single-step execution cannot be performed. In this example, since “instruction A” corresponds to a delayed instruction, an interrupt such as a single step should not be accepted between “instruction A” and “instruction B”.

受付可能とするならば、上記の問題が起きないように、特殊なハードウェアを用いた処理で命令処理途中のレジスタの内容を保持・復帰するなどの工夫が必要となる。これらはすでに従来の技術として確立している。   If it is possible to accept, it is necessary to devise such as holding / restoring the contents of the register in the middle of the instruction processing by processing using special hardware so that the above problem does not occur. These have already been established as conventional techniques.

ところが、遅延命令の直後に割り込みを受け付けると、必ず問題(ハザード)が発生するわけではない。図5の例の場合、「命令B」がレジスタR1を使用しない命令であった場合、「命令A」と「命令B」には関連性がなく、「命令A」と「命令B」間に割り込みが入ってもハザードは発生しない。割り込みが入って、ハザードが起きるかどうかは命令で指定するオペランド(一般的にはレジスタの場合が多い)によって決まるため、プログラマがプログラムする段階で把握できるものである。   However, if an interrupt is received immediately after a delay instruction, a problem (hazard) does not necessarily occur. In the case of the example of FIG. 5, when “instruction B” is an instruction that does not use the register R 1, “instruction A” and “instruction B” are not related, and “instruction A” and “instruction B” are not related. No hazard will occur even if an interrupt occurs. Whether or not a hazard occurs due to an interrupt is determined by an operand (generally a register in many cases) specified by an instruction, and can be grasped at the stage of programming by a programmer.

この発明は、上記した点を考慮してなされたものであり、この発明では、遅延命令直後に割り込みを受け付けた場合、発生し得る問題に応じて2通りの展開を用意する。   The present invention has been made in consideration of the above points. In the present invention, when an interrupt is received immediately after a delay instruction, two developments are prepared according to problems that may occur.

上記2通りのうちの第1は、遅延命令直後に割り込みを受け付けるとCPUのコントロール上障害となる場合である。これは、遅延命令が分岐命令などの命令であり、特殊なハードウエアを抜きにしては、遅延スロットの直前(遅延命令の直後)に割り込みできない場合である。この場合に相当する遅延命令の直後には割り込みを受け付けないように制御する。   The first of the above two cases is a case where an interrupt is received immediately after the delay instruction causes an obstacle in the control of the CPU. This is a case where the delay instruction is an instruction such as a branch instruction and cannot be interrupted immediately before the delay slot (immediately after the delay instruction) without special hardware. Control is performed so that no interrupt is accepted immediately after the delay instruction corresponding to this case.

上記2通りのうちの第2は、CPUのコントロールに影響のない場合である。すなわち、これはデータハザードを起こす可能性のある命令を意味している。この種の遅延命令でデータハザードとなる場合は、通常命令そのものによるのではなく、データの格納されたオペランドを前後の命令で指定するために発生するハザードである。したがって、この発明においては、この第2の場合においては、遅延命令といって一律に直後の割り込みの受付を禁止する必要がないことに注目し、この種の遅延命令では、オペランドの前後関係が確保されているならば、割り込みを受付可能とするモードを設ける。このことで遅延命令のオペランドさえ注意深く配置するなら、シングルステップを行っても問題となるハザードが発生しないでデバッグ作業を実行できる。   The second of the above two cases is a case where the control of the CPU is not affected. In other words, this means an instruction that can cause a data hazard. When this type of delayed instruction causes a data hazard, it is not a normal instruction itself but a hazard that occurs because an operand in which data is stored is designated by preceding and following instructions. Therefore, in the present invention, it is noted that in this second case, it is not necessary to uniformly prohibit the acceptance of the immediately following interrupt as a delay instruction. If it has been secured, a mode is provided to allow acceptance of interrupts. With this, even if the operands of the delayed instruction are carefully arranged, debugging work can be executed without causing a problem hazard even if single stepping is performed.

次に、この発明の具体的な処理につき図面を参照して説明する。
図1は、この発明の割り込み処理方法を適用するブロックの概略図である。図において、1は、命令を解読する命令デコーダ(DEC)であり、2は、命令によって操作可能なフラグレジスタ(FLAG)である。命令デコーダ1から遅延命令が出されると信号ライン10に、遅延命令が検出された場合を示す信号(LOC)が出力される。また、フラグレジスタ2からは信号ライン20にフラグレジスタ2のBフラグの内容が出力される。このBフラグは割り込みが入るとハザードが生じるとき、すなわち割り込みを無効する場合に、フラグレジスタ2にBフラグをセットする。
Next, specific processing of the present invention will be described with reference to the drawings.
FIG. 1 is a schematic diagram of a block to which the interrupt processing method of the present invention is applied. In the figure, 1 is an instruction decoder (DEC) for decoding an instruction, and 2 is a flag register (FLAG) operable by the instruction. When a delay instruction is issued from the instruction decoder 1, a signal (LOC) indicating that a delay instruction is detected is output to the signal line 10. The flag register 2 outputs the contents of the B flag of the flag register 2 to the signal line 20. This B flag sets the B flag in the flag register 2 when a hazard occurs when an interrupt occurs, that is, when the interrupt is invalidated.

信号ライン10及び20は論理積ゲート5に接続され、LOC信号、Bフラグ信号は論理積ゲート5与えられる。この論理積ゲート5は両信号に応じて、出力信号ライン30に出力信号を出力する。論理積ゲート5にLOC信号、Bフラグ信号が与えられると、割り込み禁止信号(NSS)を生成し、出力する。   The signal lines 10 and 20 are connected to the AND gate 5, and the LOC signal and the B flag signal are supplied to the AND gate 5. The AND gate 5 outputs an output signal to the output signal line 30 in response to both signals. When the LOC signal and the B flag signal are given to the AND gate 5, an interrupt inhibition signal (NSS) is generated and output.

上記したように、この発明の第1の処理方法では、命令デコーダ1により遅延命令が検出されてLOC信号が出力され、かつ、フラグレジスタ2のBフラグがセット状態のときには、論理積ゲート5から割り込み禁止信号(NSS)が生成され、直後の割り込みを無効とする。   As described above, in the first processing method of the present invention, when the delayed instruction is detected by the instruction decoder 1 and the LOC signal is output, and the B flag of the flag register 2 is set, the AND gate 5 An interrupt disable signal (NSS) is generated, and the immediately following interrupt is invalidated.

また、命令デコーダ1により遅延命令が検出されてLOC信号が出力され、かつ、フラグレジスタ2のBフラグがリセット状態のときには、論理積ゲート5からは割り込み禁止信号(NSS)が生成されず、直後の割り込みを有効とする。   When the delay instruction is detected by the instruction decoder 1 and the LOC signal is output and the B flag of the flag register 2 is in the reset state, the interrupt disable signal (NSS) is not generated from the AND gate 5 and immediately after. Enable interrupts.

さらに、命令デコーダ1により遅延命令が検出されず、かつ、フラグレジスタのBフラグがセット状態のときにも、論理積ゲート5からは割り込み禁止信号(NSS)が生成されず、直後の割り込みを有効とする。   Further, even when a delay instruction is not detected by the instruction decoder 1 and the B flag of the flag register is set, an interrupt disable signal (NSS) is not generated from the AND gate 5 and the immediately following interrupt is valid. And

また、命令デコーダ1により遅延命令が検出されず、かつ、フラグレジスタ2のBフラグがリセット状態のときには、論理積ゲート5からは割り込み禁止信号(30NSS)が生成されず、直後の割り込みを有効とする。   When the instruction decoder 1 does not detect a delayed instruction and the B flag of the flag register 2 is in the reset state, the interrupt disable signal (30NSS) is not generated from the AND gate 5 and the immediately following interrupt is valid. To do.

このように、この発明の第1の処理方法では、プログラマは、フラグレジスタ2のBフラグの内容を操作することで、遅延命令直後の割り込みの有効・無効の選択できる。   As described above, in the first processing method of the present invention, the programmer can select valid / invalid of the interrupt immediately after the delay instruction by manipulating the contents of the B flag of the flag register 2.

図2は、この発明の第2の割り込み処理方法を適用するブロックの概略図である。 なお、図1と同じ構成については同じ符号を付す。   FIG. 2 is a schematic diagram of a block to which the second interrupt processing method of the present invention is applied. In addition, the same code | symbol is attached | subjected about the same structure as FIG.

命令デコーダ1が第1のタイプの遅延命令を検出すると、信号ライン11に、第1のタイプの遅延命令が検出された場合を示す信号(LOCA)が出力される。また、命令デコーダ1が第2のタイプの遅延命令を検出すると、信号ライン12に、第2のタイプの遅延命令が検出された場合を示す信号(LOCB)が出力される。   When the instruction decoder 1 detects the first type of delay instruction, a signal (LOCA) indicating that the first type of delay instruction is detected is output to the signal line 11. When the instruction decoder 1 detects the second type delay instruction, a signal (LOCB) indicating that the second type delay instruction is detected is output to the signal line 12.

また、フラグレジスタ(FLAG)2からは信号ライン20にフラグレジスタ2のBフラグの内容が出力される。このBフラグは割り込みが入るとハザードが生じるときにフラグレジスタ2にBフラグがセットされている。   Further, the flag register (FLAG) 2 outputs the contents of the B flag of the flag register 2 to the signal line 20. The B flag is set in the flag register 2 when a hazard occurs when an interrupt occurs.

信号ライン12及び20は論理ゲート6に接続され、LOCB信号、Bフラグ信号は論理積ゲート6与えられる。この論理積ゲート6から両信号に応じた中間信号が生成される。   The signal lines 12 and 20 are connected to the logic gate 6, and the LOCB signal and the B flag signal are supplied to the AND gate 6. An intermediate signal corresponding to both signals is generated from the AND gate 6.

論理積ゲート6は、LOCB信号とBフラグが与えられたときに、直後の割り込みを無効にするための中間信号を出力する。この信号が信号ライン13から論理和ゲート7に与えられる。   The AND gate 6 outputs an intermediate signal for invalidating the immediately following interrupt when the LOCB signal and the B flag are given. This signal is given from the signal line 13 to the OR gate 7.

論理和ゲート7は、論理積ゲート6からの中間信号または命令デコーダ1から与えらる第1のタイプの遅延命令を検出したLOCA信号により、割り込み禁止信号(NSS)を生成し、出力信号ライン30に出力する。   The OR gate 7 generates an interrupt inhibition signal (NSS) based on the LOCA signal that detects the intermediate signal from the AND gate 6 or the first type of delay instruction given from the instruction decoder 1, and outputs the output signal line 30. Output to.

ここで、命令デコーダ1が検出する第1のタイプの遅延命令とは、Bフラグの状態にかかわらず、直後の割り込みを無効にする命令である。また、命令デコーダ1が検出する第2のタイプの遅延命令とは、Bフラグの状態によって、直後の割り込みを有効・無効を選択する命令である。   Here, the first type of delay instruction detected by the instruction decoder 1 is an instruction for invalidating the immediately following interrupt regardless of the state of the B flag. The second type of delay instruction detected by the instruction decoder 1 is an instruction for selecting whether to enable / disable the next interrupt depending on the state of the B flag.

この発明の第2の処理方法では、命令デコーダ1により第1のタイプの遅延命令が検出され、LOCA信号が出力された場合、フラグレジスタ2のBフラグの状態に無関係に論理和ゲート7より割り込み禁止信号(NSS)が生成され、直後の割り込みを無効とする。   In the second processing method of the present invention, when the first type of delay instruction is detected by the instruction decoder 1 and the LOCA signal is output, the OR gate 7 interrupts regardless of the state of the B flag of the flag register 2. A prohibition signal (NSS) is generated and the immediately following interrupt is invalidated.

また、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出され、LOCBが信号ライン12に与えられ、かつ、フラグレジスタ2のBフラグがセット状態のときには、論理和ゲート7から割り込み禁止信号(NSS)が生成され、直後の割り込みを無効とする。   When the instruction decoder 1 does not detect the first type of delay instruction, the instruction decoder 1 detects the second type of delay instruction, the LOCB is applied to the signal line 12, and the flag register 2 B When the flag is in the set state, an interrupt disable signal (NSS) is generated from the OR gate 7 and the immediately following interrupt is invalidated.

さらに、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出され、LOCBが信号ライン12に与えられ、かつ、フラグレジスタ2のBフラグがリセット状態のときには、論理和ゲート7から割り込み禁止信号(NSS)が生成されず、直後の割り込みを有効とする。   Further, when the first type of delay instruction is not detected by the instruction decoder 1, the second type of delay instruction is detected by the instruction decoder 1, LOCB is applied to the signal line 12, and B of the flag register 2 is detected. When the flag is in the reset state, the interrupt disable signal (NSS) is not generated from the OR gate 7 and the immediately following interrupt is validated.

また、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出されず、かつ、フラグレジスタ2のBフラグがセット状態のときには、論理和ゲート7から割り込み禁止信号(NSS)が生成されず、直後の割り込みを有効とする。   Further, when the instruction decoder 1 does not detect the first type of delayed instruction, the instruction decoder 1 does not detect the second type of delayed instruction, and the B flag of the flag register 2 is in the set state, the logic The interrupt disable signal (NSS) is not generated from the sum gate 7, and the immediately following interrupt is validated.

また、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出されず、かつ、フラグレジスタ2のBフラグがリセット状態のときには、論理和ゲート7から割り込み禁止信号(NSS)が生成されず、直後の割り込みを有効とする。   When the instruction decoder 1 does not detect the first type of delayed instruction, the instruction decoder 1 does not detect the second type of delayed instruction, and the B flag of the flag register 2 is in the reset state. The interrupt disable signal (NSS) is not generated from the sum gate 7, and the immediately following interrupt is validated.

上記した第1の処理方法では、遅延命令直後の割り込みを有効にする場合と、無効にする場合の両方の実現手段を備えなければならず、ハードウエアコストが問題となる。コストが最重視されるシステムでは採用は困難であるし、動作周波数の低下や消費電力の増大などのマイナス面も考えられる。しかし、この第2の処理方法では、Bフラグの状態によらず直後の割り込みを無効とする第1のタイプの遅延命令とBフラグによって直後の割り込みの有効・無効を切り替え可能な第2のタイプの遅延命令の2通りの遅延命令を用意する。そして、遅延直後の割り込みの実現にハードウエアの著しい負担を強いるような遅延命令、たとえば遅延分岐命令のように分岐先アドレスと復帰アドレスが異なるため特殊なレジスタを設けるなど、特殊な処理になるような命令については、フラグ状態によらず直後の割り込み受付を禁止する分類とし、ハードウエアコストがかからない遅延命令は、フラグの状態によって直後の割り込みの有効・無効を切り替えが可能とする分類とする。このように構成することで、ハードウエアの増大を招くことなく、従来シングルステップ実行できなかった命令の一部においても、シングルステップ実行できるようになり、デバッグのし易さを向上できる。   In the first processing method described above, both means for enabling and disabling the interrupt immediately after the delay instruction must be provided, and hardware cost becomes a problem. It is difficult to adopt in a system where cost is the most important, and there are also possible negative aspects such as a decrease in operating frequency and an increase in power consumption. However, in this second processing method, the first type of delay instruction that disables the immediately following interrupt regardless of the state of the B flag and the second type that can switch the immediately following interrupt valid / invalid by the B flag. Two types of delay instructions are prepared. Then, delay processing that imposes a significant hardware burden on the implementation of an interrupt immediately after delay, such as a special register such as a delayed branch instruction, because the branch destination address and return address are different, and so on. For such instructions, the immediately following interrupt acceptance is prohibited regardless of the flag state, and for the delayed instructions that do not incur a hardware cost, the immediately following interrupt can be enabled / disabled depending on the flag state. With this configuration, it becomes possible to perform single step execution even for a part of instructions that could not be executed in a single step in the past without causing an increase in hardware, thereby improving the ease of debugging.

図3は、この発明の第3の割り込み処理方法を適用するブロックの概略図である。図において、1は、命令を解読する命令デコーダ(DEC)であり、3は、プリデコーダ(PDEC)である。プリデコーダ(PDEC)3は、命令デコーダ1で扱っている直後の命令を取り扱うものである。すなわち、次のステージで命令デコーダ1へ送られる命令を取り扱うものとする。   FIG. 3 is a schematic diagram of a block to which the third interrupt processing method of the present invention is applied. In the figure, 1 is an instruction decoder (DEC) for decoding an instruction, and 3 is a predecoder (PDEC). The predecoder (PDEC) 3 handles an instruction immediately after being handled by the instruction decoder 1. That is, the instruction sent to the instruction decoder 1 in the next stage is handled.

命令デコーダ1は、第1のタイプの遅延命令を検出すると、信号ライン11にLOCA信号を出力し、第2のタイプの遅延命令を検出すると、信号ライン12にLOCB信号を出力する。   When the instruction decoder 1 detects the first type of delay instruction, it outputs a LOCA signal to the signal line 11, and when it detects the second type of delay instruction, it outputs a LOCB signal to the signal line 12.

プリデコーダ3は、第2のタイプの遅延命令の直後に実行するとハザードを起こす可能性がある命令を検出した結果を信号ライン21にINST信号を出力する。   The predecoder 3 outputs an INST signal to the signal line 21 as a result of detecting an instruction that may cause a hazard if executed immediately after the second type delay instruction.

信号ライン12及び21は論理積ゲート61に接続され、論理積ゲート61にLOCB信号、INST信号が与えられ、論理積ゲート61により、中間信号を生成する。この中間信号は信号ライン14から論理和ゲート7へ与えられる。この論理和ゲート7には命令デコーダ1からのLOCA信号が与えられる。   The signal lines 12 and 21 are connected to an AND gate 61. The AND gate 61 is supplied with a LOCB signal and an INST signal, and the AND gate 61 generates an intermediate signal. This intermediate signal is applied from the signal line 14 to the OR gate 7. The logical gate 7 is supplied with the LOCA signal from the instruction decoder 1.

上記した中間信号は、LOCA信号と論理和ゲート7により、割り込み禁止信号(NSS)を生成し、出力信号ライン30に出力する。LOCB信号、INST信号、および論理積ゲート61は、第2の命令の種類だけ組み合わせが必要となるため、複数となることがある。この図3の例では、2個の例を示している。   The above intermediate signal generates an interrupt inhibition signal (NSS) by the LOCA signal and the OR gate 7 and outputs it to the output signal line 30. Since the LOCB signal, the INST signal, and the AND gate 61 need to be combined only for the second instruction type, there may be a plurality of LOCB signals, INST signals, and AND gates 61. In the example of FIG. 3, two examples are shown.

ここで、命令デコーダ1が検出する第1のタイプの遅延命令とは、後続命令にかかわらず、直後の割り込みを無効にする命令であり、命令デコーダ1が検出する第2のタイプの遅延命令とは、後続命令の種類によって、直後の割り込みを有効・無効を切り替える命令である。   Here, the first type of delay instruction detected by the instruction decoder 1 is an instruction for invalidating the immediately following interrupt regardless of the subsequent instruction, and the second type of delay instruction detected by the instruction decoder 1 Is an instruction that switches between enabling and disabling the next interrupt depending on the type of subsequent instruction.

この第3の処理方法では、命令デコーダ1により第1のタイプの遅延命令が検出された場合、後続命令の種類に無関係に論理和ゲート7より割り込み禁止信号(NSS)が生成され、直後の割り込みを無効とする。   In the third processing method, when the first type of delay instruction is detected by the instruction decoder 1, an interrupt disable signal (NSS) is generated from the OR gate 7 regardless of the type of the subsequent instruction, and the interrupt immediately after Is invalid.

また、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出され、かつ、命令デコーダ1で検出された命令の直後に割り込みがあると、ハザードになる可能性のある後続命令がプリデコーダ3検出されたときには、論理和ゲート7より割り込み禁止信号(NSS)が生成され、直後の割り込みを無効とする。   When the instruction decoder 1 does not detect the first type of delayed instruction, the instruction decoder 1 detects the second type of delayed instruction, and there is an interrupt immediately after the instruction detected by the instruction decoder 1. When a succeeding instruction that may cause a hazard is detected, an interrupt disable signal (NSS) is generated from the OR gate 7 and the immediately following interrupt is invalidated.

さらに、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出されないとき、論理和ゲート7より割り込み禁止信号(NSS)が生成されず、直後の割り込みを有効とする。   Further, when the instruction decoder 1 does not detect the first type of delay instruction and the instruction decoder 1 does not detect the second type of delay instruction, the interrupt disable signal (NSS) is not generated from the OR gate 7. The interrupt immediately after is made valid.

また、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出され、かつ、命令デコーダ1で検出された命令の直後に割り込みがあると、ハザードになる可能性のある後続命令がプリデコーダ3で検出されたないときには、論理和ゲート7より割り込み禁止信号(NSS)が生成されず、直後の割り込みを有効とする。   When the instruction decoder 1 does not detect the first type of delayed instruction, the instruction decoder 1 detects the second type of delayed instruction, and there is an interrupt immediately after the instruction detected by the instruction decoder 1. When the predecoder 3 does not detect a succeeding instruction that may cause a hazard, an interrupt disable signal (NSS) is not generated from the OR gate 7 and the immediately following interrupt is validated.

上記のように構成することで、割り込みを許可して良いのか否かの判断を自動的に行えるため、プログラマに知識と手間を要求しない。また、ハザードが発生する可能性のある場合と、ない場合が混在するようなプログラムであっても、一律に割り込み禁止にしなくてもいいため、デバッグの精度が向上する。   With the configuration as described above, it is possible to automatically determine whether or not to permit interruption, so that knowledge and effort are not required from the programmer. Further, even if a program has a possibility of occurrence of a hazard and a case in which no hazard is present, it is not necessary to uniformly disable interrupts, so that debugging accuracy is improved.

図4は、この発明の第4の割り込み処理方法を適用するブロックの概略図である。図において、1は、命令を解読する命令デコーダ(DEC)であり、3は、プリデコーダ(PDEC)である。プリデコーダ(PDEC)3は、命令デコーダ1で扱っている直後の命令を取り扱うものである。すなわち、次のステージで命令デコーダ1へ送られる命令を取り扱うものとする。   FIG. 4 is a schematic diagram of a block to which the fourth interrupt processing method of the present invention is applied. In the figure, 1 is an instruction decoder (DEC) for decoding an instruction, and 3 is a predecoder (PDEC). The predecoder (PDEC) 3 handles an instruction immediately after being handled by the instruction decoder 1. That is, the instruction sent to the instruction decoder 1 in the next stage is handled.

命令デコーダ1は、第1のタイプの遅延命令を検出すると、信号ライン11にLOCA信号を出力し、第2のタイプの遅延命令を検出すると、信号ライン12にLOCB信号を出力する。   When the instruction decoder 1 detects the first type of delay instruction, it outputs a LOCA signal to the signal line 11, and when it detects the second type of delay instruction, it outputs a LOCB signal to the signal line 12.

さらに、命令デコーダ1は、第2のタイプの遅延命令の中で指定されるハザードを起こす可能性のあるオペランド情報を検出すると、信号ライン22にOPA信号を出力する。プリデコーダ3は、検出される後続命令の命令の中で指定されるハザードを起こす可能性のあるオペランド情報を検出すると、信号ライン23にOPB信号を出力する。OPA信号とOPB信号は比較器8に与えられる。このOPA信号とOPB信号が一致していると、図5で示した例と同様に、遅延命令直後の割り込みによってハザードが発生することを知る。そこで、比較器8でOPA信号とOPB信号が一致しているかどうかを検査し、その結果を信号ライン14に中間信号として出力し、論理積ゲート62与える。この論理積ゲート62には命令デコーダ1からのLOCB信号が与えられる。   Further, the instruction decoder 1 outputs an OPA signal to the signal line 22 when detecting operand information that may cause a hazard specified in the second type of delay instruction. When the predecoder 3 detects operand information that may cause a hazard specified in the instruction of the detected subsequent instruction, the predecoder 3 outputs an OPB signal to the signal line 23. The OPA signal and the OPB signal are supplied to the comparator 8. If the OPA signal and the OPB signal coincide with each other, it is known that a hazard is generated by an interrupt immediately after the delay instruction, as in the example shown in FIG. Therefore, the comparator 8 checks whether the OPA signal and the OPB signal match, and outputs the result as an intermediate signal to the signal line 14 to provide an AND gate 62. The logical product gate 62 is supplied with the LOCB signal from the instruction decoder 1.

この論理積ゲート62によりLOCB信号と中間信号との論理積により、中間信号を生成し、信号ライン15から論理和ゲート7へ与える。この中間信号は、命令デコーダ1からのLOCAと論理和ゲート7により、論理和がとられ、割り込み禁止信号(NSS)を生成し、信号ライン30に出力する。   An intermediate signal is generated by the logical product of the LOCB signal and the intermediate signal by the logical product gate 62 and applied to the logical sum gate 7 from the signal line 15. This intermediate signal is logically summed by the LOCA from the instruction decoder 1 and the logical sum gate 7 to generate an interrupt inhibition signal (NSS) and output it to the signal line 30.

この発明の第4の処理方法では、命令デコーダ1により第1のタイプの遅延命令が検出された場合、後続命令のオペランドに無関係に割り込み禁止信号(NSS)が生成され、直後の割り込みを無効とする。   In the fourth processing method of the present invention, when the first type of delayed instruction is detected by the instruction decoder 1, an interrupt disable signal (NSS) is generated regardless of the operand of the subsequent instruction, and the immediately following interrupt is disabled. To do.

また、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出され、かつ、命令デコーダ1で検出された遅延命令のオペランド(OPA)と、プレデコーダ3で検出された後続命令のオペランド(OPB)が一致していたときには、割り込み禁止信号(NSS)が生成され、直後の割り込みを無効とする。   When the instruction decoder 1 does not detect the first type of delay instruction, the instruction decoder 1 detects the second type of delay instruction, and the operand (OPA) of the delay instruction detected by the instruction decoder 1 is detected. When the operand (OPB) of the subsequent instruction detected by the predecoder 3 matches, an interrupt inhibition signal (NSS) is generated and the immediately following interrupt is invalidated.

さらに、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出されないとき、割り込み禁止信号(NSS)が生成されず、直後の割り込みを有効とする。   Further, when the instruction decoder 1 does not detect the first type of delayed instruction and the instruction decoder 1 does not detect the second type of delayed instruction, the interrupt prohibition signal (NSS) is not generated and the next interrupt is Valid.

また、命令デコーダ1により第1のタイプの遅延命令が検出されない場合で、命令デコーダ1により第2のタイプの遅延命令が検出され、かつ、命令デコーダ1で検出された遅延命令のオペランド(OPA)と、プレデコーダ3で検出された後続命令のオペランド(OPB)が一致していないときには、割り込み禁止信号(NSS)が生成されず、直後の割り込みを有効とする。   When the instruction decoder 1 does not detect the first type of delay instruction, the instruction decoder 1 detects the second type of delay instruction, and the operand (OPA) of the delay instruction detected by the instruction decoder 1 is detected. When the operand (OPB) of the subsequent instruction detected by the predecoder 3 does not match, the interrupt prohibition signal (NSS) is not generated and the immediately following interrupt is validated.

上記した方法によれば、ハザードが発生する可能性をオペランドレベルで検査するため、ハザードが発生する可能性のある遅延命令と後続命令の組み合わせにおいても、オペランドの不一致によりハザードが発生せず、割り込みを禁止する必要がなくなる場合もあるため、よりデバッグの精度が向上する。   According to the above method, since the possibility of a hazard is checked at the operand level, even in the combination of a delayed instruction and a subsequent instruction that may cause a hazard, a hazard does not occur due to an operand mismatch and an interrupt occurs. In some cases, it is not necessary to prohibit the operation, so that the accuracy of debugging is further improved.

この発明の第1の割り込み処理方法を適用するブロックの概略図である。It is the schematic of the block to which the 1st interrupt processing method of this invention is applied. この発明の第2の割り込み処理方法を適用するブロックの概略図である。It is the schematic of the block to which the 2nd interrupt processing method of this invention is applied. この発明の第3の割り込み処理方法を適用するブロックの概略図である。It is the schematic of the block to which the 3rd interrupt processing method of this invention is applied. この発明の第4の割り込み処理方法を適用するブロックの概略図である。It is the schematic of the block to which the 4th interrupt processing method of this invention is applied. この発明の一実施形態に係わる遅延命令のパイプライン処理の動作タイミング図である。It is an operation | movement timing diagram of the pipeline process of the delay instruction concerning one Embodiment of this invention. シングルステップ実行によりデバッグする場合の動作タイミング図である。It is an operation | movement timing diagram in the case of debugging by single step execution.

符号の説明Explanation of symbols

1 命令デコーダ
2 フラグレジスタ
3 プレデコーダ
5 論理積ゲート
7 論理和ゲート
8 比較器
61 論理積ゲート
62 論理積ゲート
1 Instruction decoder 2 Flag register 3 Predecoder 5 AND gate 7 OR gate 8 Comparator 61 AND gate 62 AND gate

Claims (2)

遅延スロットを持つ遅延命令をパイプライン処理する情報処理装置において、命令によって設定の可能な少なくとも一つのフラグレジスタを有し、フラグレジスタの状態により、遅延命令の直後の割り込みを有効または無効に切り替えることを特徴とする情報処理装置における割り込み処理方法。 In an information processing apparatus that pipelines a delay instruction having a delay slot, it has at least one flag register that can be set by the instruction, and switches an interrupt immediately after the delay instruction to valid or invalid depending on the state of the flag register. An interrupt processing method in an information processing apparatus. 前記フラグレジスタの状態によらず直後の割り込みを無効とする第1の遅延命令と、前記フラグレジスタに格納されたフラグによって直後の割り込みの有効または無効を切り替え可能な第2の遅延命令と、を備えることを特徴とする請求項1に記載の情報処理装置における割り込み処理方法。
A first delay instruction that disables the immediately following interrupt regardless of the state of the flag register; and a second delay instruction that can switch enable / disable of the immediately following interrupt by a flag stored in the flag register. The interrupt processing method in the information processing apparatus according to claim 1, further comprising:
JP2007070751A 2007-03-19 2007-03-19 Interrupt processing method in information processing apparatus Expired - Fee Related JP4564025B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007070751A JP4564025B2 (en) 2007-03-19 2007-03-19 Interrupt processing method in information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007070751A JP4564025B2 (en) 2007-03-19 2007-03-19 Interrupt processing method in information processing apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP26016299A Division JP2001084149A (en) 1999-09-14 1999-09-14 Interruption processing system for information processor

Publications (2)

Publication Number Publication Date
JP2007188527A true JP2007188527A (en) 2007-07-26
JP4564025B2 JP4564025B2 (en) 2010-10-20

Family

ID=38343590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007070751A Expired - Fee Related JP4564025B2 (en) 2007-03-19 2007-03-19 Interrupt processing method in information processing apparatus

Country Status (1)

Country Link
JP (1) JP4564025B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0512012A (en) * 1991-07-05 1993-01-22 Fujitsu Ltd Interruption control system for delay branch
JPH05143362A (en) * 1991-11-18 1993-06-11 Toshiba Corp Interruption processing system
JPH06295252A (en) * 1993-04-09 1994-10-21 Hitachi Ltd Computer
JPH07152564A (en) * 1991-03-06 1995-06-16 Nec Ic Microcomput Syst Ltd Microprocessor
JPH08234982A (en) * 1996-03-08 1996-09-13 Hitachi Ltd Parallel processor
JPH09330234A (en) * 1996-06-10 1997-12-22 Matsushita Electric Ind Co Ltd Interruption processing method and microprocessor

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07152564A (en) * 1991-03-06 1995-06-16 Nec Ic Microcomput Syst Ltd Microprocessor
JPH0512012A (en) * 1991-07-05 1993-01-22 Fujitsu Ltd Interruption control system for delay branch
JPH05143362A (en) * 1991-11-18 1993-06-11 Toshiba Corp Interruption processing system
JPH06295252A (en) * 1993-04-09 1994-10-21 Hitachi Ltd Computer
JPH08234982A (en) * 1996-03-08 1996-09-13 Hitachi Ltd Parallel processor
JPH09330234A (en) * 1996-06-10 1997-12-22 Matsushita Electric Ind Co Ltd Interruption processing method and microprocessor

Also Published As

Publication number Publication date
JP4564025B2 (en) 2010-10-20

Similar Documents

Publication Publication Date Title
US5461722A (en) Parallel processing apparatus suitable for executing in parallel a plurality of instructions including at least two branch instructions
JPS6231379B2 (en)
KR100423910B1 (en) Method and apparatus for executing coprocessor instructions
KR20040016829A (en) Exception handling in a pipelined processor
US20070016760A1 (en) Central processing unit architecture with enhanced branch prediction
JP4243271B2 (en) Data processing apparatus and data processing method
CN112241288A (en) Dynamic control flow reunion point for detecting conditional branches in hardware
US6055628A (en) Microprocessor with a nestable delayed branch instruction without branch related pipeline interlocks
US6990569B2 (en) Handling problematic events in a data processing apparatus
JP4889235B2 (en) Program control processor
JP4564025B2 (en) Interrupt processing method in information processing apparatus
JP2008299729A (en) Processor
KR102379886B1 (en) Vector instruction processing
JP2021168036A (en) Arithmetic processing unit
JP2010015298A (en) Information processor and instruction fetch control method
JPH05241827A (en) Command buffer controller
JP5012562B2 (en) Microcomputer
JP2001084149A (en) Interruption processing system for information processor
JP3414579B2 (en) Programmable controller
KR100515039B1 (en) Pipeline status indicating circuit for conditional instruction
JP2001034474A (en) Data processor and data processing method
JPH05108348A (en) Parallel arithmetic processor
JPH0247725A (en) Data processor
JPH10283182A (en) Pipeline information processor
JP2000305782A (en) Arithmetic unit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090303

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090501

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20090731

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20090909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100511

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100630

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: 20100727

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100729

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

Free format text: PAYMENT UNTIL: 20130806

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4564025

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees