A method for executing logarithmic load instruction

An execution method and data loading technology, applied in the direction of machine execution devices, electrical digital data processing, instruments, etc., can solve the problems of increasing the complexity of logic design, increasing design complexity and implementation cost, etc., so as to reduce design complexity, The effect of reducing the number of destination register channels and making the judgment logic simple

Active Publication Date: 2021-12-03
NAT UNIV OF DEFENSE TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to support a pair of load instructions, the maximum number of rename registers released per beat will be doubled, thereby increasing the design complexity of the logic
[0005] In the known out-of-order superscalar microprocessor design, in order to support a pair of load instructions, one register channel is added from the decoding stage until the instruction is submitted, thereby increasing the design complexity and implementation cost

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 method for executing logarithmic load instruction
  • A method for executing logarithmic load instruction
  • A method for executing logarithmic load instruction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Such as figure 2 As shown, the implementation steps of the execution method of the logarithmic load instruction in this embodiment include:

[0041] 1) Fetch instruction: fetch a logarithmic load instruction LDP from the instruction buffer;

[0042] 2) Decoding: Split the pairwise load instruction LDP into two micro-operations, each with a destination register; decode in units of micro-operations, and the number of destination registers for each micro-operation does not exceed 1 ;

[0043] 3) Register renaming: rename the registers of the two split micro-operations in units of micro-operations;

[0044] 4) Dispatch: assign one item to each of the two split micro-operations in the reordering buffer ROB, and merge the two split micro-operations in the launch queue to obtain a merged one that only occupies one item. Logarithmic load instruction LDP;

[0045] 5) Launch: Determine whether the source operand of the merged logarithm load instruction LDP is ready and there...

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 for executing a logarithmic load instruction. The steps include taking out an LDP instruction and splitting it into two micro-operations. Each micro-operation has a purpose register. The micro-operation is used as a unit to perform decoding and register renaming. And dispatch, when dispatching, assign one item to each of the two micro-operations in the reorder buffer, and merge the two micro-operations in the emission queue; if both data loading pipelines are available, the merged LDP will be emitted to the memory access unit , and execute in the first data loading pipeline; after the execution, the lower half of the obtained data will be written back to the first destination register through the result bus of the first data loading pipeline, and the upper half will be written back to the first destination register through the second data loading pipeline. The result bus is written back to the second destination register; finally, two micro-ops are submitted to release resources. The invention can reduce the number of destination register channels, reduce design complexity and save area cost without increasing the number of data access times.

Description

technical field [0001] The invention relates to the field of microprocessor design, in particular to an execution method of a logarithmic load instruction in the design of an out-of-order superscalar microprocessor. Background technique [0002] For an instruction set architecture, most instructions have no more than one destination register. However, some instruction set architectures provide a pair of load instructions. We use the mnemonic LDP Rd1, Rd2, Xn, #offset to represent the instruction, where Rd1 and Rd2 are the destination registers, Xn is the memory base address, and #offset is the address offset. Shift, hereinafter also use LDP as the abbreviation of logarithmic load instruction. The logarithmic load instruction has two destination registers, namely Rd1 and Rd2, which means to read data whose width is twice the width of a destination register from address [Xn+offset], and store the lower half of the data into Rd1 , the high half is stored in Rd2. Because LDP ...

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/30
CPCG06F9/30043
Inventor 孙彩霞郑重王永文窦强张承义高军倪晓强隋兵才黄立波王俊辉雷国庆郭维
Owner NAT UNIV OF DEFENSE TECH
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