摘要 |
PURPOSE: A method and an apparatus to efficiently emulate a sub-instruction is provided by combining stored result from at least one sub-instruction emulated in a software with a result from the residual sub-instructions executed in a hardware. CONSTITUTION: A VLIW processor (101) detects an exceptional state to report it to a pipeline control unit (108). Then, the contents of exception registers (126, 128, 130 and 132) are sent via OR gates (135, 136, 138, 140 and 144) to form an exception signal (146), which is sent to a pipeline control unit (108). The result of the exceptional state is stored in an external memory. In this case, this system next stores the pattern of an enable signal concerning all the residual sub-instructions, which are not emulated, in an instruction break point mask register in the unit (108).
|