Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An exception handling method and its processing structure that tolerates cache loss and quickly clears the pipeline

An exception handling and pipeline technology, applied in the direction of response error generation, machine execution device, etc., to achieve the effect of eliminating the phenomenon of pipeline pause, simple control structure, and reducing power consumption overhead.

Active Publication Date: 2017-08-25
NO 771 INST OF NO 9 RES INST CHINA AEROSPACE SCI & TECH
View PDF6 Cites 0 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
  • An exception handling method and its processing structure that tolerates cache loss and quickly clears the pipeline
  • An exception handling method and its processing structure that tolerates cache loss and quickly clears the pipeline
  • An exception handling method and its processing structure that tolerates cache loss and quickly clears the pipeline

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

An exception processing method and its processing structure that tolerates the lack of cache and quickly clears the pipeline. The processing method includes: firstly defining the "false hit" state, identifying the access result of the invalid instruction cleared by the pipeline to the cache; in the "false hit" state, the cache The correctness of the instruction code or data word is not guaranteed, and the cache information corresponding to the access address is directly output; in the "false hit" state, the pipeline clearing signal is directly applied to the instruction cache during the instruction fetch operation in the "false hit" state, so that the "false hit" state is selected when the invalid instruction accesses the cache ; At the beginning of exception processing, use the "or" logic selection of the pipeline clear signal and the memory access level invalid flag signal to control the data cache; when an exception occurs, the cache enters the "false hit" state to make the pipeline continue to advance. The invention also discloses the structure applying the exception handling method. The invention can speed up the exception processing speed and improve the real-time performance of the system.

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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products