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

Method and device for realizing instruction cache path selection in superscaler processor

A processor and superscalar technology, applied in machine execution devices, concurrent instruction execution, etc., can solve problems such as inability to read instructions, loss of useful way pointers, instruction fetch pause, etc., to avoid pipeline launch pause and shorten instruction fetch delay. , the effect of reducing the overall energy consumption

Active Publication Date: 2012-01-04
BEIJING PKUNITY MICROSYST TECH
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] Second, for the unique non-aligned instruction fetch situation in superscalar processors (special order inter-line instruction fetch situation, figure 1 indicated by the solid arrow in the center), the existing path selection methods have not been able to solve it well
The existing way history method only reads the way pointer to predict the way where the next instruction is fetched only when the last instruction of the Cache line is fetched, so it is impossible to read two parts of instructions at the same time (that is, two consecutive addresses instructions in the Cache line)
However, the existing way prediction method may also cause the latter part of the above two parts of instructions to be unable to be read due to prediction errors.
[0010] Third, in the case of non-sequential fetching, the update mechanism of the way history technology is relatively complicated, which will lead to the problem of suspension of fetching and loss of useful way pointers
[0014] Since the existing way history methods are only discussed and tested for single-issue processors, it is assumed that the update operation of the way pointer can be ignored when ICache has row replacement; The selection process uses a combination of way prediction and way history for the fetch mode, so the advantages of both are not fully utilized

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
  • Method and device for realizing instruction cache path selection in superscaler processor
  • Method and device for realizing instruction cache path selection in superscaler processor
  • Method and device for realizing instruction cache path selection in superscaler processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] The technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, and are not intended to limit the technical solution of the present invention.

[0063] The present invention combines two way selection technologies of way prediction and way history on the traditional ICache structure, selects different way selection strategies according to different instruction fetching scenarios, and provides an embodiment of a method for realizing instruction cache way selection by a superscalar processor and The corresponding device embodiment.

[0064] Wherein, the flow process of the method embodiment of the present invention is as follows image 3 shown, including the following steps:

[0065] 101: judge the instruction fetch mode according to the instruction fetch request and the SRA...

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 method and a device for realizing instruction cache path selection in a superscaler processor, wherein the method comprises the following steps of: judging a fetch mode at least according to an instruction fetch request, performing path prediction with a path history mode according to fetch mode attributed to sequence fetch scenes, and performing path prediction with a path prediction mode according to the fetch mode attributed to non-sequence fetch scenes. Therefore, the energy efficiency of the superscaler processor is integrally increased; and the overall energy consumption of the superscaler processor is reduced as a large amount of unnecessary path Tag comparisons and Data access are not needed and less extra resources are used.

Description

technical field [0001] The invention relates to the design of a modern microprocessor and its application system, in particular to a method and a device for realizing instruction cache way selection by a superscalar processor. Background technique [0002] The design of current processors no longer takes performance or energy consumption as the sole goal, but comprehensively considers the two design elements, with high energy efficiency as the main design goal. In order to fully explore the instruction-level parallelism of superscalar processors, there are high requirements for the instruction fetch bandwidth and instruction fetch delay of the processor's instruction cache (ICache, Instruction Cache). Provide multiple instructions without interruption. However, the set associative structure of the instruction cache (that is, the instruction cache uses multiple way structures to store instructions) often causes a large amount of non-hit way energy consumption loss. Therefor...

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): G06F9/38
Inventor 程旭谢子超宋天宝陆俊林佟冬
Owner BEIJING PKUNITY MICROSYST 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