发明名称 Flushing speculative instruction processing
摘要 Technical solutions are described for avoiding a transaction abort in a multiprocessor that supports transactional memory during out-of-order execution of an instruction stream. An example method described includes detecting an instruction that represents an end of a transaction in the instruction stream. The method also includes identifying a conflict in execution of an outside instruction in conjunction with execution of the transaction, the outside instruction being after instruction that represents the end of the transaction, and where the conflict causes the transaction to abort. The method also includes flushing the outside instruction; and resuming the execution of the transaction, without aborting the transaction.
申请公布号 US9471313(B1) 申请公布日期 2016.10.18
申请号 US201514952020 申请日期 2015.11.25
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Busaba Fadi Y.;Gschwind Michael K.;Shum Chung-Lung K.
分类号 G06F9/30;G06F9/46 主分类号 G06F9/30
代理机构 Cantor Colburn LLP 代理人 Cantor Colburn LLP ;Kinnaman, Jr. William A.
主权项 1. A method for avoiding a transaction abort in a multiprocessor that supports transactional memory during out-of-order execution of an instruction stream, the method comprising: detecting an instruction that represents an end of a transaction in the instruction stream; identifying a conflict in execution of an outside instruction in conjunction with execution of the transaction, the outside instruction being after the instruction that represents the end of the transaction, and wherein the conflict causes the transaction to abort; and in response to identifying the conflict: incrementing a counter that tracks a number of times a flush has been performed during execution of the transaction;comparing the counter with a predetermined value; andin response to the counter being less than the predetermined value, flushing the outside instruction and resuming the execution of the transaction, without aborting the transaction, else aborting the transaction.
地址 Armonk NY US
您可能感兴趣的专利