PROGRAMMATIC DISPATCH TO FUNCTIONS WITH MATCHING LINKAGE

    公开(公告)号:CA2719661A1

    公开(公告)日:2011-01-18

    申请号:CA2719661

    申请日:2010-11-05

    Applicant: IBM CANADA

    Abstract: An illustrative embodiment of a computer-implemented process for an enhanced function-descriptor-based dispatch in a multi-linkage environment receives user code containing a function compiled in a supplementary linkage convention of a caller to form an invoked function and determines whether the supplementary linkage convention of the caller for the invoked function matches a supplementary linkage implementation provided by a library. Responsive to a determination that the supplementary linkage convention of the caller for the invoked function matches a supplementary linkage implementation provided by the library, select the supplementary linkage implementation provided by the library and dispatch the invoked function in the selected supplementary linkage implementation provided by the library.

    PERFORMING SAFE CONDITIONAL-LOAD AND CONDITIONAL-STORE OPERATIONS

    公开(公告)号:CA2831711A1

    公开(公告)日:2015-04-30

    申请号:CA2831711

    申请日:2013-10-31

    Applicant: IBM CANADA

    Abstract: An illustrative embodiment of a computer-implemented method for safe conditional operation when storage access cannot be proven safe, receives a portion of source code for a transaction by an enhanced compiler and analyzes the portion of source code received, by the enhanced compiler to determine whether the portion of source code analyzed by the enhanced compiler is a candidate for transformation. Responsive to a determination the portion of source code analyzed by the enhanced compiler is a candidate for transformation, the portion of source code analyzed is transformed to use a conditional operation in a first portion of transformed code, wherein a respective conditional operation uses hardware transaction memory to invoke retry operations within hardware and a branch is added, directed to an original code portion, in a second portion of transformed code, wherein code of the branch is a recovery portion containing the original code portion.

    ELEMINATING REDUNDANT OPERATIONS FOR COMMON PROPERTIES USING SHARED REAL REGISTERS

    公开(公告)号:CA2684226A1

    公开(公告)日:2011-04-30

    申请号:CA2684226

    申请日:2009-10-30

    Applicant: IBM CANADA

    Abstract: A method for eliminating redundant operations establishing common properties is disclosed herein. In one embodiment, such a method may include identifying a first virtual register storing a first value having a common property. The method may assign the first virtual register to use a real register. The method may further identify a second virtual register storing a second value also having the common property. The method may assign the second virtual register to use the real register after the first value is no longer live. As a result of assigning the second virtual register to the first real register, the method may eliminate an operation configured to establish the common property for the second value since this operation is redundant and is no longer needed. A corresponding apparatus and computer program product are also disclosed and claimed herein.

    ACCELERATED EXECUTION FOR EMULATED ENVIRONMENTS

    公开(公告)号:CA2675666A1

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

    申请号:CA2675666

    申请日:2009-08-27

    Applicant: IBM CANADA

    Abstract: The illustrative embodiments described herein provide a computer implemented method, apparatus, and computer program product for accelerating execution of a program, written in an object oriented programming language, in an emulated environment. In respons e to receiving a request for an accelerated communications session from a guest virtual machi ne in the emulated environment, a native virtual machine is initiated external to the emulated environment but within the computing device hosting the emulated environment. Thereafter, an accelerated communications link is established between the guest virtual machine and the native virtual machine. The accelerated communications link enables a transfer of managed code between the guest virtual machine and the native virtual machine. The managed code is th en executed by the native virtual machine.

Patent Agency Ranking