A Shift-Based Instruction Fetching and Buffering Method and Superscalar Microprocessor

A technology of instruction extraction and buffering method, which is applied in the direction of concurrent instruction execution, electrical digital data processing, instruments, etc., can solve the problems such as the number of effective instructions is not fixed, the selection logic is complicated, and the extraction and buffering cannot be processed in a fixed way. Achieve the effect of reducing overhead, simple and easy logic, simple extraction logic and buffer logic

Active Publication Date: 2021-07-23
飞腾技术(长沙)有限公司 +1
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The difficulty is that the number of effective instructions is not fixed, and cannot be processed in a fixed way when fetching and buffering, resulting in relatively complicated selection logic

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
  • A Shift-Based Instruction Fetching and Buffering Method and Superscalar Microprocessor
  • A Shift-Based Instruction Fetching and Buffering Method and Superscalar Microprocessor
  • A Shift-Based Instruction Fetching and Buffering Method and Superscalar Microprocessor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] like figure 2 As shown, the implementation steps of the shift-based instruction fetching and buffering method in this embodiment include:

[0032] 1) Construct a valid word mask for the instruction word, if the mask is true, the instruction word is valid, otherwise, the instruction word is invalid;

[0033] 2) Perform a right-aligned shift on the instruction line according to the instruction word offset;

[0034] 3) Split the shifted instruction line according to the word width according to the effective word mask and extract the effective word;

[0035] 4) Sort the valid words into the buffer block sequence;

[0036] 5) The buffer block sequence is written into the buffer queue controlled by the write enable of the buffer item.

[0037] The shift-based instruction extraction and buffering method of this embodiment constructs an effective word mask according to the prediction offset provided by the branch prediction information and the instruction word offset provid...

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 shift-based instruction extraction and buffering method and a superscalar microprocessor. The implementation steps of the extraction and buffering method include constructing an effective word mask for the instruction word, and right-aligning the instruction line according to the instruction word offset According to the effective word mask, split the shifted instruction line according to the word width and extract the effective words, sort the effective words into the buffer block sequence, and write the buffer block sequence into the buffer queue according to the write enable control of the buffer item ; The superscalar microprocessor includes an instruction fetch and buffer logic unit programmed to perform the aforementioned instruction fetch and buffer method. The invention adopts the design of command line shifting, command word sorting and buffer block sequence writing into the buffer queue, which is simpler and easier to implement than the traditional logic, can ensure the high efficiency of fetching, and also makes the extraction logic and buffer logic more efficient. For simplicity, the hardware overhead is reduced.

Description

technical field [0001] The invention relates to the field of microprocessors, in particular to a shift-based instruction extraction and buffering method and a superscalar microprocessor. Background technique [0002] A superscalar microprocessor can send multiple instructions to each execution unit per cycle to increase the total processing capacity of the processor. This requires the instruction fetch unit and decoding unit at the front end of the microprocessor pipeline to efficiently provide instruction streams to execution unit. Therefore, the instruction fetch unit of the microprocessor must have a corresponding logic circuit to process the instruction byte stream entering the pipeline, determine the start boundary of the instruction word and extract the effective instruction word, so that it can enter the decoding unit or instruction word as soon as possible. buffer queue. [0003] In processor design, the traditional technology is to extract and buffer effective ins...

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/302G06F9/38
CPCG06F9/30018G06F9/3806
Inventor 王小岛赵天磊高军王玉姣苑佳红薛洪波刘晓燕李文哲孙龙鹏丁哲曹文辉郑帅克
Owner 飞腾技术(长沙)有限公司
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