Invention Grant
- Patent Title: Method and apparatus for managing a speculative transaction in a processing unit
-
Application No.: US14883420Application Date: 2015-10-14
-
Publication No.: US10255071B2Publication Date: 2019-04-09
- Inventor: Salma Ayub , Susan E. Eisen , Glenn O. Kincaid , Cliff Kucharski , Christopher M. Mueller , Dung Q. Nguyen , David R. Terry
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Patterson + Sheridan, LLP
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F12/0875 ; G06F12/0891

Abstract:
Method and system for managing a speculative transaction in a processing unit is provided. The speculative transaction is initiated by dispatching a first instruction indicating start of the speculative transaction. One or more register file (RF) entries are marked as pre-transaction memory (PTM), in response to the initiating. At least one second instruction targeting at least one of the marked RF entries is dispatched, while the transaction is active, wherein the at least one second instruction writes new result data into the at least one RF entry. Previous result data evicted from the at least one RF entry by the new result data, is saved into a history buffer (HB) entry. The HB entry is marked as PTM, in response to the saving, wherein the processing unit, upon detecting a trigger, is rolled back to a state before the initiating the transaction by restoring the previous result data to the at least one RF entry.
Public/Granted literature
- US20170109168A1 METHOD AND APPARATUS FOR MANAGING A SPECULATIVE TRANSACTION IN A PROCESSING UNIT Public/Granted day:2017-04-20
Information query