Apparatus and method for synchronizing multiple threads in an out-of-order microprocessor
    1.
    发明授权
    Apparatus and method for synchronizing multiple threads in an out-of-order microprocessor 有权
    用于在无序微处理器中同步多个线程的装置和方法

    公开(公告)号:US07493615B2

    公开(公告)日:2009-02-17

    申请号:US10428597

    申请日:2003-05-01

    IPC分类号: G06F9/46 G06F7/38

    摘要: The present invention generally relates to synchronization of multiple threads in an out-of-order microprocessor utilizing the insertion of a trap. In one embodiment, while synchronizing multiple running threads, an instruction within a first running thread is identified. Upon identification of this instruction, a trap is inserted into a second running thread. All instructions within the instructional pipeline that are scheduled for execution prior to this trapped instruction must retire before the subsequent execution of the synchronizing instruction. Following the execution of the synchronizing instruction, all instructions within the instruction pipeline slated for execution after the trapped instruction in the remaining threads are flushed and refetched.

    摘要翻译: 本发明一般涉及使用陷阱的插入在不规则的微处理器中同步多个线程。 在一个实施例中,在同步多个运行的线程的同时,识别第一运行线程内的指令。 在识别该指令后,将陷阱插入到第二个运行的线程中。 指令管道内的所有指令,在被捕获指令之前被调度执行必须在后续执行同步指令之前退出。 在执行同步指令之后,在剩余线程中被捕获的指令之后预定执行的指令流水线内的所有指令被刷新并被刷新。