Critical section detection and prediction mechanism for hardware lock elision
    81.
    发明授权
    Critical section detection and prediction mechanism for hardware lock elision 有权
    硬件锁定检测的关键部分检测和预测机制

    公开(公告)号:US08190859B2

    公开(公告)日:2012-05-29

    申请号:US11599009

    申请日:2006-11-13

    IPC分类号: G06F12/00

    摘要: A method and apparatus for detecting lock instructions and lock release instruction, as well as predicting critical sections is herein described. A lock instruction is detected with detection logic, which potentially resides in decode logic. A lock instruction entry associated with the lock instruction is stored/created. Address locations and values to be written to those address location of subsequent potential lock release instruction are compared to the address loaded from by the lock instruction and the value load by the lock instruction. If the addresses and values match, it is determined that the lock release instruction matches the lock instruction. A prediction entry stores a reference to the lock instruction, such as a last instruction pointer (LIP), and an associated value to represent the lock instruction is to be elided upon subsequent detection, if it is determined that the lock release instruction matches the lock instruction.

    摘要翻译: 这里描述了用于检测锁定指令和锁定释放指令以及预测关键部分的方法和装置。 检测逻辑检测到锁定指令,这可能存在于解码逻辑中。 存储/创建与锁定指令相关联的锁定指令条目。 将要写入后续潜在锁定释放指令的地址位置的地址位置和值与通过锁定指令加载的地址和锁定指令的值负载进行比较。 如果地址和值匹配,则确定锁定释放指令与锁定指令匹配。 预测条目存储对诸如最后指令指针(LIP)的锁定指令的引用,并且如果确定锁定解除指令与锁定相匹配,则在后续检测时将要消除表示锁定指令的关联值 指令。

    Transactional memory virtualization
    82.
    发明授权
    Transactional memory virtualization 有权
    事务性内存虚拟化

    公开(公告)号:US08180967B2

    公开(公告)日:2012-05-15

    申请号:US11394622

    申请日:2006-03-30

    IPC分类号: G06F12/00

    摘要: Methods and apparatus to provide transactional memory execution in a virtualized mode are described. In one embodiment, data corresponding to a transactional memory access request may be stored in a portion of a memory after an operation corresponding to the transactional memory access request causes an overflow and a stored value may be updated for an occurrence of the overflow.

    摘要翻译: 描述了以虚拟化模式提供事务性存储器执行的方法和装置。 在一个实施例中,对应于事务存储器访问请求的数据可以在与事务存储器访问请求相对应的操作引起溢出并且可以针对溢出的发生更新存储的值之后存储在存储器的一部分中。

    Concurrent execution of critical sections by eliding ownership of locks
    84.
    发明授权
    Concurrent execution of critical sections by eliding ownership of locks 有权
    通过查看锁的所有权并发执行关键部分

    公开(公告)号:US07765364B2

    公开(公告)日:2010-07-27

    申请号:US11539731

    申请日:2006-10-09

    IPC分类号: G06F12/00 G06F13/00 G06F13/28

    摘要: One embodiment of the present invention provides a system that facilitates avoiding locks by speculatively executing critical sections of code. During operation, the system allows a process to speculatively execute a critical section of code within a program without first acquiring a lock associated with the critical section. If the process subsequently completes the critical section without encountering an interfering data access from another process, the system commits changes made during the speculative execution, and resumes normal non-speculative execution of the program past the critical section. Otherwise, if an interfering data access from another process is encountered during execution of the critical section, the system discards changes made during the speculative execution, and attempts to re-execute the critical section.

    摘要翻译: 本发明的一个实施例提供一种通过推测性地执行代码的关键部分来有助于避免锁定的系统。 在操作期间,系统允许进程在程序中推测性地执行代码的关键部分而不首先获得与关键部分相关联的锁定。 如果该过程随后完成关键部分而没有遇到来自另一进程的干扰数据访问,则系统进行在推测执行期间所做的更改,并且通过关键部分恢复程序的正常非推测性执行。 否则,如果在执行关键部分期间遇到来自其他进程的干扰数据访问,则系统将丢弃在推测执行期间所做的更改,并尝试重新执行临界部分。