Invention Grant
- Patent Title: Safe conditional-load and conditional-store operations
- Patent Title (中): 安全条件加载和条件存储操作
-
Application No.: US14482642Application Date: 2014-09-10
-
Publication No.: US09229725B2Publication Date: 2016-01-05
- Inventor: Marcel Mitran , Visda Vokhshoori
- 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: Cantor Colburn LLP
- Agent Edward Choi
- Priority: CA2831711 20131031
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/38 ; G06F9/46

Abstract:
One embodiment is a computer-implemented method for safe conditional operation when storage access cannot be proven safe. The method includes receiving a portion of source code for a transaction by an enhanced compiler and. The portion of source code received is analyzed, by the enhanced compiler, to determine whether the portion of source code is a candidate for transformation. Responsive to a determination that the portion of source code analyzed by the enhanced compiler is a candidate for transformation, the portion of the source code analyzed is transformed, by a computer processor, to use a conditional operation in a first portion of the transformed code. The conditional operation uses hardware transaction memory to invoke retry operations within hardware. A branch is added, directed to an original code portion, in a second portion of transformed code, where the branch is a recovery portion containing the original code portion.
Public/Granted literature
- US20150121049A1 SAFE CONDITIONAL-LOAD AND CONDITIONAL-STORE OPERATIONS Public/Granted day:2015-04-30
Information query