首页> 外国专利> Apparatus and method for fast correct resolution of call and return instructions using multiple call/return stacks in the presence of speculative conditional instruction execution in a pipelined microprocessor

Apparatus and method for fast correct resolution of call and return instructions using multiple call/return stacks in the presence of speculative conditional instruction execution in a pipelined microprocessor

机译:在流水线微处理器中存在推测性条件指令执行的情况下,使用多个调用/返回堆栈快速正确地解决调用和返回指令的设备和方法

摘要

A microprocessor having a plurality of call/return stacks (CRS) correctly resolves a call or return instruction rather than issuing the instruction to execution units of the microprocessor to be resolved. The microprocessor fetches a call or return instruction and determines whether the instruction is the first call or return instruction fetched after fetching a conditional branch instruction that has yet to be resolved. The microprocessor copies the contents of a current CRS to another CRS and designates the other CRS as the current CRS, if the state exists. The microprocessor pushes the address of the next sequential instruction following the call instruction onto the current CRS and fetches an instruction at the call instruction target address if the instruction is a call instruction. The microprocessor pops a second return address from the current CRS and fetches an instruction at the second return address, if the instruction is a return instruction.
机译:具有多个调用/返回栈(CRS)的微处理器正确地解析了调用或返回指令,而不是将指令发布给要解析的微处理器的执行单元。微处理器获取调用或返回指令,并确定该指令是在获取尚未解析的条件分支指令之后获取的第一调用还是返回指令。如果状态存在,则微处理器将当前CRS的内容复制到另一个CRS,并将另一个CRS指定为当前CRS。微处理器将调用指令之后的下一个顺序指令的地址压入当前CRS上,如果该指令是调用指令,则在调用指令目标地址处获取一条指令。如果指令是返回指令,则微处理器从当前的CRS弹出第二返回地址,并在第二返回地址取指令。

著录项

相似文献

  • 专利
  • 外文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号