Supercharge Your Innovation With Domain-Expert AI Agents!

Instruction verification method and 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

Active Publication Date: 2019-07-12
LOONGSON TECH CORP
View PDF8 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 and device and storage medium
  • Instruction verification method and device and storage medium
  • Instruction verification method and 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

The embodiment of the invention provides an instruction verification method and device and a storage medium, and the method comprises the steps: determining a reserved instruction and a first legal instruction in an instruction file, enabling the value in a first preset bit of the reserved instruction to be null, and enabling the value in a second preset bit of the first legal instruction to be afixed value; generating a first illegal instruction set corresponding to the reserved instruction and a second illegal instruction set corresponding to the first legal instruction, the first illegal instruction set comprising at least one illegal instruction corresponding to the reserved instruction, and the second illegal instruction set comprises at least one illegal instruction corresponding tothe first legal instruction; and executing illegal instructions in the first illegal instruction set and the second illegal instruction set through the processor to determine a consistency result ofthe processor and the instruction file. The method and the device are used for improving instruction consistency verification efficiency.

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
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