Supercharge Your Innovation With Domain-Expert AI Agents!

Instruction verification method, device and storage medium

A verification method and instruction technology, applied in the computer field, can solve problems such as low efficiency of instruction consistency verification, and achieve the effect of improving efficiency

Active Publication Date: 2021-06-08
LOONGSON TECH CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the above process, a large number of instructions need to be verified, resulting in low efficiency of instruction consistency verification

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 verification method, device and storage medium
  • Instruction verification method, device and storage medium
  • Instruction verification method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0042] figure 1 The architecture diagram of instruction verification provided by the embodiment of the present invention. See figure 1 , including an instruction file 101 and a processor 102. Wherein, the instruction file includes instructions executable by the processor 102 . When it is necessary to verify the consistency of the processo...

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

An embodiment of the present invention provides a method, device, and storage medium for verifying instructions. The method includes: determining the reserved instruction and the first legal instruction in the instruction file, the value of the first preset bit of the reserved instruction is empty, and the value of the second preset bit is empty. The value in the second preset bit in a legal instruction is a fixed value; the first illegal instruction set corresponding to the reserved instruction and the second illegal instruction set corresponding to the first legal instruction are generated, and the first illegal instruction set includes at least one The illegal instructions corresponding to the reserved instructions, the second illegal instruction set includes at least one illegal instruction corresponding to the first legal instruction; the processor executes the illegal instructions in the first illegal instruction set and the second illegal instruction set to determine Consistency results for processor and instruction files. It is used to improve the efficiency of instruction consistency verification.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to an instruction verification method, device and storage medium. Background technique [0002] When developing a processor, a corresponding instruction file is usually configured, and the instruction file includes all instructions that the processor can execute. [0003] In order to ensure the security of the processor, it is necessary to make the processor and the instruction file have instruction consistency. Wherein, the instruction consistency between the processor and the instruction file means that the processor can only execute instructions included in the instruction file, that is, when the processor executes instructions not included in the instruction file, the processor needs to report an error. In the prior art, for a processor with a fixed-length instruction set, it usually executes all possible combinations of instructions, and judges...

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/30094G06F9/30145
Inventor 王宗磊汪文祥
Owner LOONGSON TECH CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More