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

Zero-value register implementation method and device

An implementation method and register technology, applied in register devices, machine execution devices, etc., can solve the problems of logic complexity, increase implementation complexity, increase register renaming logic complexity, etc., and achieve the effect of reducing complexity and simplifying logic implementation

Active Publication Date: 2020-07-14
NAT UNIV OF DEFENSE TECH
View PDF9 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When register renaming, if it is not distinguished whether it is a zero-value register or an ordinary general-purpose register, then the zero-value register will be renamed, and will be mapped to different data units at different stages of program execution. Each data unit is It is necessary to judge whether it is necessary to read zero-write ignore, and the logic is complicated; if the zero-value register is not renamed so that it is always mapped to a fixed data unit, then only the specified data unit is required to read zero-write ignore, but In the register renaming stage, it is necessary to determine whether the register operand is a zero-value register, which increases the logic complexity of register renaming
In addition, out-of-order superscalar microprocessors will implement data bypass in order to improve performance. For zero-valued registers, data 0 should be bypassed instead of original data when data is bypassed. This requires data bypass logic to determine whether it is a zero-valued register. bypass, which increases the complexity of the implementation

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
  • Zero-value register implementation method and device
  • Zero-value register implementation method and device
  • Zero-value register implementation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] like figure 1 The implementation steps of the implementation method of the zero value register of the present embodiment shown include:

[0025] 1) In the register renaming stage of instruction execution, judge whether the renamed register is the destination register, if it is the destination register, establish a new mapping relationship from the architectural register to the physical register, and update the register in the register renaming mapping table The number field pr_index of the physical register mapped to; if it is a source register, read the number field pr_index of the physical register mapped to the register in the register renaming mapping table, indicating whether it is a zero value register. The identification field is_zero; will identify the field is_zero is passed to the execution unit along the pipeline;

[0026] 2) In the instruction launch execution stage, the source operand selects data and sends it to the execution pipeline according to the val...

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 relates to an out-of-order superscalar microprocessor design technology, in particular to a zero-value register implementation method and device. The method comprises the following stepsof: adding an identification field is_zero in a register renaming mapping table, wherein the identification field is_zero represents whether the register is a zero value register or not; and readingand transmitting the field in the register renaming stage to an execution component step by step along with an assembly line, wherein the identification field is_zero is used as a selection signal, data 0 is directly selected when a source operand comes from a zero value register, and data does not need to be obtained from a bypass or a physical register. According to the method, the complexity ofregister renaming, physical register writing and data bypass logic is reduced, and the zero-value register implementation method and device are suitable for the advantage of simple logic implementation.

Description

technical field [0001] The invention relates to out-of-order superscalar microprocessor design technology in the technical field of microprocessor design, in particular to a method and device for realizing a zero value register. Background technique [0002] Processor architectures usually define a zero-valued register, writes to this register are ignored, and reads of this register always return the constant value 0. The zero-value register and the general-purpose register are compiled uniformly. Some architectures use the 0th general-purpose register as the zero-value register, such as RISC-V, and some architectures use the largest number of general-purpose registers as the zero-value register, such as ARM. [0003] When designing a microprocessor, general-purpose registers including zero-value registers are usually organized into a data array, and the data array is indexed by the register number to realize reading and writing of the registers. For the data unit correspon...

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/30
CPCG06F9/30098
Inventor 孙彩霞雷国庆郑重隋兵才邓全郭辉郭维王俊辉黄立波倪晓强王永文
Owner NAT UNIV OF DEFENSE 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