Invention Grant
US08954946B2 Static branch prediction method and code execution method for pipeline processor, and code compiling method for static branch prediction 有权
流水线处理器的静态分支预测方法和代码执行方法,静态分支预测的代码编译方法

Static branch prediction method and code execution method for pipeline processor, and code compiling method for static branch prediction
Abstract:
A static branch prediction method and code execution method for a pipeline processor, and a code compiling method for static branch prediction, are provided herein. The static branch prediction method includes predicting a conditional branch code as taken or not-taken, adding the prediction information, converting the conditional branch code into a jump target address setting (JTS) code including target address information, branch time information, and a test code, and scheduling codes in a block. The code may be scheduled into a last slot of the block, and the JTS code may be scheduled into an empty slot after all the other codes in the block are scheduled. When the conditional branch code is predicted as taken in the prediction operation, a target address indicated by the target address information may be fetched at a cycle time indicated by the branch time information.
Information query
Patent Agency Ranking
0/0