发明授权
- 专利标题: Synchronising pipelines in a data processing apparatus
- 专利标题(中): 在数据处理设备中同步管道
-
申请号: US10242671申请日: 2002-09-13
-
公开(公告)号: US07024543B2公开(公告)日: 2006-04-04
- 发明人: Richard Roy Grisenthwaite , Ian Victor Devereux
- 申请人: Richard Roy Grisenthwaite , Ian Victor Devereux
- 申请人地址: GB Cambridge
- 专利权人: ARM Limited
- 当前专利权人: ARM Limited
- 当前专利权人地址: GB Cambridge
- 代理机构: Nixon & Vanderhye P.C.
- 主分类号: G06F9/38
- IPC分类号: G06F9/38 ; G06F9/52
摘要:
The present invention provides an apparatus and method for synchronizing a first pipeline and a second pipeline of a processor arranged to execute a sequence of instructions. The processor is arranged to route an instruction in the sequence through either the first or the second pipeline dependent on predetermined criteria, each pipeline having a plurality of pipeline stages including a retirement stage. Counter logic is provided for maintaining a first counter relating to the first pipeline and a second counter relating to the second pipeline. For each instruction in the first pipeline a determination is made as to when that instruction reaches a point within the first pipeline where an exception status of that instruction is resolved, and the counter logic is arranged to increment the first counter responsive to such determination. The processor is arranged to generate an indication within the second pipeline each time an instruction is routed to the first pipeline, and the counter logic is further arranged to increment the second counter responsive to that indication. Synchronisation logic is then provided which is arranged, when an instruction is in the retirement stage of the second pipeline, to determine with reference to the values of the first and second counters whether that instruction can be retired. If so, the retirement stage is arranged to cause an update of a state of the data processing apparatus dependent on the result of execution of that instruction.
公开/授权文献
- US20040054876A1 Synchronising pipelines in a data processing apparatus 公开/授权日:2004-03-18
信息查询