Method for converting long-width operand instructions to short-width operand instructions

A technology of operands and source operands, applied in the direction of operation instruction conversion, machine execution device, register device, etc., can solve the problem of useless registers, achieve the effect of expanding the number of digits, improving performance, and improving utilization

Active Publication Date: 2020-11-03
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In most cases, whether it is a commercial processor architecture manual or an actual implementation, operations are performed on operands of full register width, even though in many cases the number of source operands participating in the operation in the instruction is less than 64 bit (maybe only 32-bit or 16-bit width), the high-order field of the register will also be used as a sign bit, which leads to a large number of useless sign bits in the register
Some processors provide a scheme for register sharing (that is, writing multiple results into the same register) for calculation results, but this scheme needs to predict the bit width of instruction operation results, resulting in the need to add additional predictive component

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 converting long-width operand instructions to short-width operand instructions
  • Method for converting long-width operand instructions to short-width operand instructions
  • Method for converting long-width operand instructions to short-width operand instructions

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] An instruction is a basic command for the computer to specify the type of operation and operand to be performed. It consists of one or more bytes, including the opcode field, one or more fields related to the operand address, and some states that characterize the state of the machine Word and feature code. Existing processors (ie, CPUs) usually execute instructions based on a pipeline structure. Therefore, when the instructions are converted, it is also necessary to meet the requirements of the pipeline structure of the processor instruction execution, and can be recognized and executed by the pipeline structure. The pipeline includes the steps of fetching instructions, decoding, dispatching, fetching operands, sending to the instruction queue, performing operations, and storing the results of operations.

[0032] According to an embodiment of the present invention, there is provided a method for converting an original long-bit-width (or full-bit-width) operand instructio...

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 converting a long bit wide operand instruction into a short bit wide operand instruction. The long bit wide operand instruction includes two or more fields of two or more registers, and each of the registers can store one long bit wide source operand. The method includes the steps that a first field is selected from the fields; one register which is appointed bythe first field to be used for storing two short bit wide source operands, wherein the two short bit wide source operands are stored at the high half part and the low half part of the register; the bit wide of the short bit wide source operands is appointed in the instruction, and is smaller than that of the long bit wide source operands. The invention further provides a method for executing theshort bit wide operands.

Description

Technical field [0001] The present invention relates to the technical field of microprocessor architecture. More specifically, the present invention relates to a method for converting an original long-bit-width operand instruction into a short-bit-width operand instruction and a method for executing the short-bit-width operand instruction. Background technique [0002] For the current mainstream microprocessors, the types and numbers of registers visible to the programmer are generally specified in the architecture manual. For example, in the Power instruction architecture, the general-purpose registers visible to programmers include: 32 64-bit fixed-point registers, 32 64-bit floating-point registers, and 32 128-bit vector registers. Regarding the super-scalar architecture design, at the implementation level of the microarchitecture, register renaming technology is usually used. For example, in the Power example, there are dedicated fixed-point register renaming components and r...

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/30098G06F9/3017
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