Instruction execution method and instruction execution device

A technology of instruction execution and instruction operation, which is applied in the field of instruction execution mechanism and can solve problems such as high cost

Pending Publication Date: 2022-02-18
VIA ALLIANCE SEMICON CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Moreover, the current access to model-specific registers needs to be performed through general-purpose registers, which means that the original contents of general-purpose registers need to be saved elsewhere. Therefore, when the program accesses model-specific registers, it is necessary to back up the original contents of general-purpose registers in advance. Then restore, this makes accessing model-specific registers take more time in content backup and restoration

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
  • Instruction execution method and instruction execution device
  • Instruction execution method and instruction execution device
  • Instruction execution method and instruction execution device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The following description is a preferred implementation mode of the invention, and its purpose is to describe the basic spirit of the invention, but not to limit the invention. For the actual content of the invention, reference must be made to the scope of the claims that follow.

[0018] It must be understood that words such as "comprising" and "including" used in this specification are used to indicate the existence of specific technical features, values, method steps, operations, components and / or components, but do not exclude the possibility of adding More technical characteristics, numerical values, method steps, operation processes, components, components, or any combination of the above.

[0019] Words such as "first", "second", "third" and other words used in the claims are used to modify the elements in the claims, and are not used to indicate that there is an order of priority, an antecedent relationship, or an element precedence. The reference to another el...

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 an instruction execution method and an instruction execution device. The instruction execution method is used in a microprocessor, the microprocessor comprises a model specific register (MSR), and the instruction execution method comprises the following steps: receiving a target instruction by an instruction cache unit; and decoding the target instruction by an instruction translation unit, judging whether the target instruction is a specific instruction, and when the target instruction is the specific instruction, obtaining a model specific register index of the target instruction so as to directly search for the model specific register.

Description

technical field [0001] The invention relates to an instruction execution mechanism, in particular to an instruction execution method and an instruction execution device for searching a Model Specific Register (MSR). Background technique [0002] Generally speaking, the model-specific register (Model Specific Register, MSR) of the processor defines the switches and parameters of certain functions of the processor. In principle, it can only be accessed in the privileged state. If it is accessed in the unprivileged state, it will be Trigger a general protection exception. Therefore, when the functions of some model-specific registers need to be opened to the user mode, it is necessary to enter the privileged mode first. [0003] Moreover, the current access to model-specific registers needs to be performed through general-purpose registers, which means that the original contents of general-purpose registers need to be saved elsewhere. Therefore, when the program accesses model...

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): G06F11/14
CPCG06F11/1448G06F11/1469G06F9/30101G06F9/30145G06F9/30189G06F9/30076G06F9/3017G06F9/30185G06F9/3836
Inventor 王惟林管应炳成龙怡磊
Owner VIA ALLIANCE SEMICON CO LTD
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