METHODS AND APPARATUS TO MANAGE OBJECT LOCKS
    2.
    发明申请
    METHODS AND APPARATUS TO MANAGE OBJECT LOCKS 有权
    管理对象锁的方法和设备

    公开(公告)号:US20110153992A1

    公开(公告)日:2011-06-23

    申请号:US12645668

    申请日:2009-12-23

    IPC分类号: G06F9/44 G06F9/46

    摘要: Example methods and apparatus to manage object locks are disclosed. A disclosed example method includes receiving an object lock request from a processor, the lock request associated with object lock code to lock an object, and generating object lock-bypass code based on a type of the processor, the object lock-bypass code to execute in a managed runtime in response to receiving the object lock request. The example method also includes identifying a type of instruction set architecture (ISA) associated with the processor, invoking a checkpoint instruction for the processor based on the identified ISA, suspending the object lock code from executing and executing target code when the object is uncontended, and allowing the object lock code to execute when the object is contended.

    摘要翻译: 公开了用于管理对象锁的示例性方法和装置。 所公开的示例性方法包括从处理器接收对象锁定请求,与对象锁定代码相关联的锁定请求以锁定对象,以及基于处理器的类型生成对象锁定旁路代码,执行对象锁定旁路代码 在受管运行时响应于接收到对象锁定请求。 示例性方法还包括识别与处理器相关联的指令集架构(ISA)的类型,基于所识别的ISA调用处理器的检查点指令,当对象不受约束时暂停对象锁定代码执行和执行目标代码, 并允许对象锁定代码在对象被竞争时执行。

    Using hardware checkpoints to support software based speculation
    3.
    发明申请
    Using hardware checkpoints to support software based speculation 审中-公开
    使用硬件检查点来支持基于软件的猜测

    公开(公告)号:US20080244544A1

    公开(公告)日:2008-10-02

    申请号:US11729724

    申请日:2007-03-29

    IPC分类号: G06F9/45

    CPC分类号: G06F8/443

    摘要: Hardware checkpoints may be used to mark software-based speculation regions. An instruction may be provided at the beginning of a speculation region and at the end of the speculation region. If an exception occurs during the speculation region, a hardware rollback may be occurred. The hardware rollback rolls back to the instruction at the beginning of the speculation region. The hardware may take a checkpoint by taking a register snapshot and treating future memory updates as tentative. When the instruction marking the end of the speculation is reached, all the tentative memory updates are committed and the previously taken register snapshot is discarded.

    摘要翻译: 硬件检查点可用于标记基于软件的推测区域。 可以在投机区域的开始处和投机区域的末尾提供指令。 如果在推测区域发生异常,则可能会发生硬件回滚。 硬件回滚回滚到投机区域开头的指令。 硬件可以通过注册快照并将未来的内存更新视为暂时性来检查点。 当达到臆测结束的指示时,所有暂时的内存更新被提交,并且先前注册的注册快照被丢弃。

    METHOD, APPARATUS, AND SYSTEM FOR TRANSACTIONAL SPECULATION CONTROL INSTRUCTIONS
    5.
    发明申请
    METHOD, APPARATUS, AND SYSTEM FOR TRANSACTIONAL SPECULATION CONTROL INSTRUCTIONS 审中-公开
    方法,装置和系统的交互式分析控制指令

    公开(公告)号:US20140379996A1

    公开(公告)日:2014-12-25

    申请号:US13997245

    申请日:2012-02-02

    IPC分类号: G06F9/52 G06F12/08 G06F9/46

    摘要: An apparatus and method is described herein for providing speculative escape instructions. Specifically, an explicit non-transactional load operation is described herein. During execution of a speculative code region (e.g. a transaction or critical section) loads are normally tracked in a read set. However, a programmer or compiler may utilize the explicit non-transactional read to load from a memory address into a destination register, while not adding the read/load to the transactional read set. Similarly, a non-transactional store is also provided. Here, a transactional store is performed and not added to a write set during speculative code execution. And the store may be immediately globally visible and/or persistent (even after an abort of the speculative code region). In other words, speculative escape operations are provided to ‘escape’ a speculative code region to perform non-transactional memory accesses without causing the speculative code region to abort or fail.

    摘要翻译: 这里描述了一种用于提供推测逃逸指令的装置和方法。 具体地,本文描述了显式的非事务性加载操作。 在推测性代码区域(例如交易或关键部分)的执行期间,通常在读取集合中跟踪负载。 然而,程序员或编译器可以利用显式的非事务性读取从存储器地址加载到目标寄存器中,而不将读取/加载添加到事务读取集合。 同样,也提供非事务存储。 这里,在推测性代码执行期间执行事务存储并且不添加到写入集合。 并且商店可能立即全局可见和/或持久(即使在推测性代码区域中止之后)。 换句话说,提供推测性逃避操作以“逃逸”推测性代码区域以执行非事务性存储器访问,而不会导致推测性代码区域中止或失败。