首页>
外国专利>
METHOD AND A DEVICE FOR PROCESSING A BRANCH OF A MICROPROCESSOR, PARTICULARLY CAPABLE OF EASILY RECOVERING A WRONGLY PREDICTED BRANCH TO A PREVIOUS STATE
METHOD AND A DEVICE FOR PROCESSING A BRANCH OF A MICROPROCESSOR, PARTICULARLY CAPABLE OF EASILY RECOVERING A WRONGLY PREDICTED BRANCH TO A PREVIOUS STATE
展开▼
机译:用于处理微处理机的分支的方法和装置,该处理机尤其能够容易地将错误的分支恢复到先前的状态
展开▼
页面导航
摘要
著录项
相似文献
摘要
PURPOSE: A method for processing a branch of a microprocessor is provided to enable all commands received after a branch command to have the same intrinsic number before a next branch command, and to compare a branch intrinsic number received from a branch execution device with a branch intrinsic number assigned to a reorder buffer, thereby easily carrying out a recovery function. CONSTITUTION: All commands received after a branch command have the same intrinsic number before a next branch command while intrinsic numbers are assigned to a reorder buffer(10) and a branch execution unit(20). When a branch prediction is missed, a branch intrinsic number of the branch execution unit(20) is compared with a branch intrinsic number of the reorder buffer(10) to update a register file after waiting until a corresponding command is completed if the compared numbers are not the same. If the compared numbers are the same, all next commands are discarded to clear all internal devices of a microprocessor including the reorder buffer(10). Based on a normal branch target, a new execution is performed.
展开▼