首页>
外国专利>
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
展开▼
机译:管道处理器的静态分支预测方法和代码执行方法,以及静态分支预测的代码编译方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼