Exception handling method and structure tolerant of missing cache and capable of emptying assembly line quickly

An exception handling and pipeline technology, applied in the direction of responding to errors, machine execution devices, etc., to achieve the effects of improving real-time processing capabilities, simple control structure, and eliminating pipeline stalls

Active Publication Date: 2015-03-25
NO 771 INST OF NO 9 RES INST CHINA AEROSPACE SCI & TECH
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the problems in the prior art, the present invention provides a method to eliminate the pipeline stall caused by the lack of cache access of invalid instructions by setting the "false hit" state in the conventional blocking cache, without adding additional complex hardware logic That is, it can quickly empty the pipeline in occasional abnormal events, thereby speeding up the speed of exception processing and improving the real-time tolerance of the computer system. The exception handling method and its processing structure of quickly emptying the pipeline due to lack of cache

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Exception handling method and structure tolerant of missing cache and capable of emptying assembly line quickly
  • Exception handling method and structure tolerant of missing cache and capable of emptying assembly line quickly
  • Exception handling method and structure tolerant of missing cache and capable of emptying assembly line quickly

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be further described in detail below in conjunction with specific embodiments, which are explanations of the present invention rather than limitations.

[0028] The present invention mainly includes the following aspects in the exception handling process:

[0029] First, modify the hit judgment logic of the cache. Under normal circumstances, the access results of the cache will only be in two mutually exclusive states, that is, the "hit" state or the "missing" state. We specifically define a "false hit" state for the process of clearing the pipeline during exception handling. It is used to identify the access results of those invalid instructions that are flushed by the pipeline to the cache.

[0030] Second, define the behavior of the cache in the "false hit" state. Since the invalid instructions in the pipeline cannot update any state information of the processor in the end, the instructions obtained by them accessing the cache will not be...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an exception handling method and structure tolerant of missing cache and capable of emptying an assembly line quickly. The exception handling method includes the steps that firstly, a false hit state is defined, and the access result of the cache by invalid commands emptied by the assembly line is marked; correct command codes or data words are not guaranteed by the cache under the false hit state, and the corresponding cache information of access addresses is output directly; an assembly line emptying signal is directly acted on the command cache in the command taking operation in the false hit state to enable the false hit state to be selected when the invalid commands have access to the cache; when exception handling begins, data cache is selected and controlled through the assembly line emptying signal and the or logic of a storage access level invalid marking signal; when an exception occurs, the cache enters the false hit state to enable the assembly line to advance continuously. The invention further discloses the structure applying the exception handling method. By means of the exception handling method and structure tolerant of missing the cache and capable of emptying the assembly line quickly, the exception handling speed can be increased, and the real-time performance of the system is improved.

Description

technical field [0001] The invention relates to a structure and a method for a RISC processor of a Harvard structure to quickly clear a pipeline when performing abnormal processing, in particular to an abnormal processing method and a processing structure for quickly clearing a pipeline that tolerates a lack of cache. Background technique [0002] At present, high-performance microprocessors generally use a hierarchical multi-level cache as a buffer for data and instructions, so as to reduce the speed difference between the processor and the memory. Among them, the first-level cache has a small access delay, which is basically consistent with the speed of the processor. In order to obtain parallel access to instructions and data, it is usually divided into independent instruction cache and data cache, which is the so-called Harvard structure; The second-level cache generally stores instructions and data together, and it can be on-chip or off-chip; in future high-end designs,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07G06F9/30
Inventor 肖建青裴茹霞李红桥张洵颖娄冕
Owner NO 771 INST OF NO 9 RES INST CHINA AEROSPACE SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products