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

Method for renaming state register and processor using the method

A register renaming and status register technology, applied in machine execution devices, concurrent instruction execution, etc.

Active Publication Date: 2009-08-05
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] A large number of modern processors use both pipeline and superscalar technologies to obtain higher performance. However, in practice, there may be some data dependencies between instructions, such as a The source operand that needs to be read by the instruction execution may be the value to be written by the previous instruction, such as they correspond to the same register, so the second instruction must wait until the previous instruction is executed and the result is written back to the register to continue

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 for renaming state register and processor using the method
  • Method for renaming state register and processor using the method
  • Method for renaming state register and processor using the method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Apparatuses and methods for renaming flag registers are described herein. In order to solve the pipeline stall problem caused by the implicit read and write of the flag register, in the following description, some related specific details are given to provide a better understanding of the present invention.

[0030] figure 1 A partial structure diagram of a processor implementing the renaming mechanism is given. As shown in the figure, the structure mainly includes the following modules:

[0031] The instruction fetching module 100 fetches the next instruction to be executed according to the given pc value, and sends it to the pipeline for execution;

[0032] The decoding module 101 decodes the macroinstructions sent by the instruction fetching module to generate one or more microcode formats represented internally by the processor. The macroinstructions are in the instruction set format compatible with the corresponding processor, such as an x86 architecture processor...

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

According to the present invention, a method for renaming a status register in a processor with a superscalar pipeline structure is proposed, wherein the status register is composed of a plurality of flag bits selected from all flag bits of the flag register Register, the method includes the following steps: when the microcode after instruction decoding arrives at the register renaming module of the processor, determine whether the microcode will read the status register; if it is determined that the microcode will read the status register register, then allocate the latest mapped physical register for the status register; otherwise, do not allocate a physical register for the status register; determine whether the microcode will write the status register; if it is determined that the microcode will write the status register , a new physical register whose state is empty is allocated to the state register; otherwise, no physical register is allocated to the state register.

Description

technical field [0001] The present invention relates to microprocessor architecture, in particular to a method for renaming state registers in a processor with a superscalar pipeline structure and a processor using the method, which can rename the registers In order to improve the execution efficiency of the pipeline structure processor, the method can eliminate the false data correlation in the execution of the instruction, and can easily realize the renaming mechanism of the flag register to reduce the pipeline stall caused by reading and writing the flag bit. Background technique [0002] In the design of modern microprocessors, the throughput rate of instructions, that is, the number of instructions that can be executed per second, is a very important indicator. There are many ways to measure the number of instructions per unit time. The most direct technique is to increase the number of processors running However, an increase in frequency will lead to a rapid increase i...

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): G06F9/38
Inventor 叶笑春段振中范东睿张军超
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
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