Processor, branch predictor, data processing method of branch predictor and branch prediction method

A data processing and predictor technology, which is applied in the fields of electrical digital data processing, instruments, machine execution devices, etc., can solve the problem of branch predictor performance ignoring safety factors and other issues

Active Publication Date: 2019-10-18
HYGON INFORMATION TECH CO LTD
View PDF16 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Branch predictors in modern processors are usuall...

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
  • Processor, branch predictor, data processing method of branch predictor and branch prediction method
  • Processor, branch predictor, data processing method of branch predictor and branch prediction method
  • Processor, branch predictor, data processing method of branch predictor and branch prediction method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0143] As mentioned above, at present, the design of the branch predictor in the processor usually only considers the performance and ignores the safety factor, which brings great security risks to the processor.

[0144] In view of the above problems, the embodiment of the present invention performs obfuscation processing on the branch prediction data. Specifically, when the branch predictor saves or updates the predicted target address, the predicted target address of the branch instruction is obfuscated to generate an obfuscated value of the predicted target address ; and when predicting the jump target of the branch instruction, the obfuscation value of the predicted target address is obtained, and the de-obfuscation process is performed to obtain the predicted target address of the branch instruction, so that the attacker cannot manipulate the actual predicted target address of the branch instruction . More specifically:

[0145] On the one hand, the embodiment of the pr...

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 a processor, a branch predictor, a branch prediction data processing method thereof and a branch prediction method, and the branch predictor comprises a target address obtaining unit which is suitable for obtaining a prediction target address of a branch instruction; a confusion variable acquisition unit suitable for acquiring feature information generated by adopting a preset rule, wherien the feature information comprises at least one of random feature information and non-random feature information; an obfuscation processing unit suitable for performing obfuscation processing on the predicted target address acquired by the target address acquisition unit and the feature information acquired by the obfuscation variable acquisition unit to generate an obfuscation value of the predicted target address; and a target address storage unit suitable for storing the confusion value of the predicted target address. By adopting the scheme, the security of the processor can be improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of processors, and in particular, to a processor, a branch predictor, a branch prediction data processing method thereof, and a branch prediction method. Background technique [0002] Modern processors generally use pipeline technology to process instructions in parallel to speed up instruction processing efficiency; when processing branch instructions, in order to avoid waiting for the execution result of the branch instruction to determine the branch direction, most modern processors use branch prediction (Branch Prediction) technology. The branch prediction can predict the branch direction and other results of the branch instruction, so as to push the processor to fetch the next instruction, avoiding the pipeline delay caused by waiting for the execution result of the branch instruction. [0003] Branch predictors in modern processors are usually designed with performance in min...

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/38G06F21/14
CPCG06F9/3848G06F21/14
Inventor 杜朝晖应志伟
Owner HYGON INFORMATION TECH 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