Supercharge Your Innovation With Domain-Expert AI Agents!

Integrity detection method, device and electronic device for processor instruction set

A technology of processor instructions and detection methods, applied in the field of processors, can solve problems such as the error of the total number of instructions and the impact on the accuracy of the final detection results, and achieve the effect of eliminating calculation errors and improving accuracy

Active Publication Date: 2021-04-27
INST OF INFORMATION ENG CHINESE ACAD OF SCI
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, if an instruction is represented by multiple instruction codes, then the instruction will be recalculated. For example, there are many instructions represented by multiple instruction codes in the ARM processor instruction set, which will result in the calculated instruction There is an error in the total number of bars, which affects the accuracy of the final test result

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
  • Integrity detection method, device and electronic device for processor instruction set
  • Integrity detection method, device and electronic device for processor instruction set
  • Integrity detection method, device and electronic device for processor instruction set

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024]In order to make the objects, technical solutions, and advantages of the present invention more clearly, the technical solutions in the embodiments of the present invention will be described in contemplation in the embodiments of the present invention, and will be described, and the embodiments described in the embodiments of the present invention will be described. It is a part of the embodiments of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, those of ordinary skill in the art will belong to the scope of the embodiments of the present invention without making creative labor.

[0025]The embodiment of the present invention is for prior art to process a certain instruction by multiple instruction encoding, the article is repeatedly calculated, resulting in an inaccurate detection result, clustering all instructions in the instruction set, and The overlapping instructions in each type are detected and remo...

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

Embodiments of the present invention provide a completeness detection method, device, and electronic device for a processor instruction set, wherein the method includes: obtaining all instruction codes in the processor instruction set, and calculating the expected codes of the processor instruction set based on this. The total number of instructions and the total number of theoretical and actual instructions; if the total number of theoretical and actual instructions is not equal to the total number of expected instructions, then perform overlapping clustering processing on all instruction codes, and calculate each class The number of overlapping instructions in the calculation, calculate the total number of instructions that are repeatedly calculated; based on the total number of theoretical actual instructions and the total number of instructions that are repeatedly calculated, calculate the total number of real actual instructions, and judge the Whether the actual total number of instructions is equal to the total number of expected instructions, if so, determine that the instruction set of the processor is complete, otherwise, determine that it is incomplete. The embodiments of the present invention can effectively eliminate calculation errors, thereby effectively improving the accuracy of detection results.

Description

Technical field[0001]The present invention relates to the field of processor, and more particularly to a complete detection method, apparatus and electronic device of a processor instruction set.Background technique[0002]During the testing process of the processor instruction set, the completeness of the processor instruction set is critical, because if the test set is not guaranteed, the coverage rate of the instruction set test cannot be guaranteed. And those test blind spots are likely to have design defects. The completeness of the processor instruction set describes whether the command set contains all instruction possibilities. Take the 32-bit fixed-length instruction set as an example, if the instruction set contains all 232The instructions are complete, and if the instruction set contains less than 232The instruction set is not complete.[0003]The processor instruction set generally describes the instruction coding, each instruction encoding can represent a plurality of instr...

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): G06F11/36
CPCG06F11/3676
Inventor 孟丹李丹萍朱子元史岗
Owner INST OF INFORMATION ENG CHINESE ACAD OF SCI
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