REGISTER CHECKPOINTING MECHANISM FOR MULTITHREADING
    10.
    发明申请
    REGISTER CHECKPOINTING MECHANISM FOR MULTITHREADING 有权
    注册检查机制进行多元化

    公开(公告)号:US20100262812A1

    公开(公告)日:2010-10-14

    申请号:US12420762

    申请日:2009-04-08

    IPC分类号: G06F9/30

    摘要: Methods and apparatus are disclosed for using a register checkpointing mechanism to resolve multithreading mis-speculations. Valid architectural state is recovered and execution is rolled back. Some embodiments include memory to store checkpoint data. Multiple thread units concurrently execute threads. They execute a checkpoint mask instruction to initialize memory to store active checkpoint data including register contents and a checkpoint mask indicating the validity of stored register contents. As register contents change, threads execute checkpoint write instructions to store register contents and update the checkpoint mask. Threads also execute a recovery function instruction to store a pointer to a checkpoint recovery function, and in response to mis-speculation among the threads, branch to the checkpoint recovery function. Threads then execute one or more checkpoint read instructions to copy data from a valid checkpoint storage area into the registers necessary to recover a valid architectural state, from which execution may resume.

    摘要翻译: 公开了使用寄存器检查点机制来解决多线程错误猜测的方法和装置。 恢复有效的架构状态并回滚执行。 一些实施例包括用于存储检查点数据的存储器。 多个线程单元同时执行线程。 它们执行检查点掩码指令来初始化存储器以存储包括寄存器内容的活动检查点数据和指示存储的寄存器内容的有效性的检查点掩码。 随着寄存器内容的改变,线程执行检查点写入指令来存储寄存器内容并更新检查点掩码。 线程还执行恢复功能指令来存储指向检查点恢复功能的指针,并且响应于线程之间的误推测,分支到检查点恢复功能。 线程然后执行一个或多个检查点读取指令,以将数据从有效的检查点存储区域复制到恢复有效架构状态所需的寄存器,从中可以恢复执行。