User-programmable low-overhead multithreading
    1.
    发明授权
    User-programmable low-overhead multithreading 有权
    用户可编程的低开销多线程

    公开(公告)号:US07631307B2

    公开(公告)日:2009-12-08

    申请号:US10728649

    申请日:2003-12-05

    IPC分类号: G06F9/46 G06F3/00 G06F15/00

    摘要: A virtual multithreading hardware mechanism provides multi-threading on a single-threaded processor. Thread switches are triggered by user-defined triggers. Synchronous triggers may be defined in the form of special trigger instructions. Asynchronous triggers may be defined via special marking instructions that identify an asynchronous trigger condition. The asynchronous trigger condition may be based on a plurality of atomic processor events. Minimal context information, such as only an instruction pointer address, is maintained by the hardware upon a thread switch. In contrast to traditional simultaneous multithreading schemes, the virtual multithreading hardware provides thread switches that are transparent to an operating system and that may be performed without operating system intervention.

    摘要翻译: 虚拟多线程硬件机制在单线程处理器上提供多线程。 线程切换由用户定义的触发器触发。 可以以特殊触发指令的形式定义同步触发。 可以通过标识异步触发条件的特殊标记指令定义异步触发。 异步触发条件可以基于多个原子处理器事件。 在线程切换时,由硬件维护的最小上下文信息,例如仅指令指针地址。 与传统的同时多线程方案相反,虚拟多线程硬件提供对操作系统透明的线程切换,可以在不进行操作系统干预的情况下执行。