Unlock instant, AI-driven research and patent intelligence for your innovation.

Processor, device and method for carrying out cache prediction

A predictive execution and processor technology, applied in memory systems, electrical digital data processing, instruments, etc., can solve problems such as false sharing, waste of time and efficiency, and reduce processor performance, and achieve the effect of low additional consumption and improved performance

Active Publication Date: 2012-12-26
LOONGSON TECH CORP
View PDF3 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, there is a problem of false sharing in this method. In order to save cache (Cache) space and improve cache (Cache) utilization, the cache block (Cache Line) of modern processor cores is generally 256 bits, or 512 bits, and The actual memory access operation often only accesses 8-bit, 16-bit or 32-bit data
And because invalidation is invalidated in units of cache blocks, even if one bit of data in the entire cache block is modified, the entire cache block will be invalid. Instructions can continue to be executed only when they are retrieved from the first-level cache or main memory, which greatly wastes time and efficiency and reduces the performance of the processor.

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
  • Processor, device and method for carrying out cache prediction
  • Processor, device and method for carrying out cache prediction
  • Processor, device and method for carrying out cache prediction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the purpose, technical solution and advantages of the present invention clearer, a cache predictive execution processor, device and method of the present invention will be explained below in conjunction with the drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0047] Aiming at the problems existing in the prior art, the present invention proposes a cache predictive execution method, device, and processor. When a cache block becomes invalid, it enters into predictive execution (that is, the instruction does not need to use the truly invalid cache block). data), access the upper level cache or main memory at the same time, and retrieve the latest data; after retrieval, compare the data to determine whether the prediction is correct, and determine whether to submit or roll back the prediction.

[0048] As an implementable mode...

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 discloses a processor, a device and a method for carrying out cache (Cache) prediction. The processor comprises a multi-level cache, a memory access component and a main memory, and also comprises a cache prediction executing device, a prediction data block register, a processor prediction executing bit and an instruction prediction executing bit; the cache prediction executing device comprises a cache hit comparison unit, a prediction executing unit and a prediction executing rollback submitting unit; the processor compares whether a state bit of the cache block corresponding to the memory access address is valid (Valid), and determines whether cache prediction is carried out, carries out prediction execution if cache prediction occurs, controls the memory access component to take back the memory access result, determines whether the prediction execution result is directly submitted or rolled backwards according to the memory access result, and executes again from a prediction point. According to the device, mean access time delay of the processor can be effectively reduced, and the performance of the processor is improved.

Description

technical field [0001] The present invention relates to the technical field of implementing a computer processor, in particular to a processor, device and method for cache prediction execution when a cache (Cache) block becomes invalid. Background technique [0002] With the improvement of the internal main frequency of the processor and the optimization of the structure, the computing performance of the processor is getting higher and higher, but the access speed of the main memory does not increase synchronously, so the problem of the memory wall (Memory Wall) appears. . In order to solve this problem, modern processors generally alleviate the problem by adding a multi-level cache (Cache). [0003] In a multi-core processor, each processor core generally has its own private cache (Cache), which will lead to the problem of inconsistency in data backup of private caches (cache) in different processor cores. In order to solve this problem, modern processors support various ...

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
IPC IPC(8): G06F12/08G06F12/0862G06F12/0864
Inventor 刘道福陈云霁郭崎胡伟武
Owner LOONGSON TECH CORP