Method and apparatus for speculative execution of uncontended lock instructions
    46.
    发明授权
    Method and apparatus for speculative execution of uncontended lock instructions 有权
    用于推测执行无限制锁定指令的方法和装置

    公开(公告)号:US07529914B2

    公开(公告)日:2009-05-05

    申请号:US10883519

    申请日:2004-06-30

    CPC classification number: G06F9/3004 G06F9/30087 G06F9/3834 G06F9/3842

    Abstract: A method and apparatus for executing lock instructions speculatively in an out-of-order processor are disclosed. In one embodiment, a prediction is made whether a given lock instruction will actually be contended. If not, then the lock instruction may be treated as having a normal load micro-operation which may be speculatively executed. Monitor logic may look for indications that the lock instruction is actually contended. If no such indications are found, the speculative load micro-operation and other micro-operations corresponding to the lock instruction may retire. However, if such indications are in fact found, the lock instruction may be restarted, and the prediction mechanism may be updated.

    Abstract translation: 公开了一种用于在乱序处理器中推测地执行锁定指令的方法和装置。 在一个实施例中,预先确定给定的锁定指令是否将被实际竞争。 如果不是,则锁定指令可以被视为具有可以推测地执行的正常负载微操作。 监视器逻辑可能会查找锁定指令实际上有争议的迹象。 如果没有发现这样的指示,则与锁定指令相对应的投机负载微操作和其他微操作可能会退出。 然而,如果事实上发现这样的指示,则可以重新启动锁定指令,并且可以更新预测机制。

Patent Agency Ranking