Method for renaming state register and processor using the method

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

Active Publication Date: 2008-04-30
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF0 Cites 26 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 ins

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

The invention provides a method for renaming a status register in a superscalar processor with a pipeline structure, wherein the status register is a register composed of a plurality of flag bits selected from all flag bits of a flag register. The method comprises determining whether a microcode will read the status register when the microcode coded by a command reaches a register renaming module of the processor; if determining that the microcode will read the status register, allocating a nearest mapping physical register for the status register; otherwise, not allocating the physical register for the status register; determining whether the microcode will be written to the status register; if determining that the microcode will be written into the status register, allocating a new physical register with empty status to the status register; and otherwise, not allocating the physical register for the status 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
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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products