发明名称 Fetch unit for predicting target for subroutine return instructions
摘要 Partial decode logic 616 in a select stage of a pipelined multi-stage fetch unit 602 receives an instruction bundle from instruction cache 614. If a subroutine call and link instruction is identified in the bundle, the target address of the corresponding return instruction is predicted and pushed onto a return prediction stack (RPS) 604. In addition the target instruction set is also predicted and pushed onto RPS 604 alongside the target address. The target set is that pointed to by the target address, e.g. the bundle following the subroutine call in the program and currently being fetched in cache stage 608. When the partial decode logic identifies a return instruction, the target set is popped from the RPS to be decoded. This way a cycle is not wasted re-fetching the target set in response to detecting the return instruction, reducing pipeline bubbles due to control transfer instructions.
申请公布号 GB2542831(A) 申请公布日期 2017.04.05
申请号 GB20150017321 申请日期 2015.09.30
申请人 Imagination Technologies Limited 发明人 Philip Day
分类号 G06F9/38;G06F9/30;G06F9/44 主分类号 G06F9/38
代理机构 代理人
主权项
地址