发明名称 Synchronising pipelines in a data processing apparatus
摘要 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.
申请公布号 US7024543(B2) 申请公布日期 2006.04.04
申请号 US20020242671 申请日期 2002.09.13
申请人 ARM LIMITED 发明人 GRISENTHWAITE RICHARD ROY;DEVEREUX IAN VICTOR
分类号 G06F9/38;G06F9/30;G06F9/52 主分类号 G06F9/38
代理机构 代理人
主权项
地址