Invention Grant
US08458677B2 Generating code adapted for interlinking legacy scalar code and extended vector code
有权
生成适用于互连传统标量代码和扩展向量代码的代码
- Patent Title: Generating code adapted for interlinking legacy scalar code and extended vector code
- Patent Title (中): 生成适用于互连传统标量代码和扩展向量代码的代码
-
Application No.: US12544258Application Date: 2009-08-20
-
Publication No.: US08458677B2Publication Date: 2013-06-04
- Inventor: Michael K. Gschwind
- Applicant: Michael K. Gschwind
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Stephen J. Walder, Jr.; William Stock
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45

Abstract:
Mechanisms for intermixing code are provided. Source code is received for compilation using an extended Application Binary Interface (ABI) that extends a legacy ABI and uses a different register configuration than the legacy ABI. First compiled code is generated based on the source code, the first compiled code comprising code for accommodating the difference in register configurations used by the extended ABI and the legacy ABI. The first compiled code and second compiled code are intermixed to generate intermixed code, the second compiled code being compiled code that uses the legacy ABI. The intermixed code comprises at least one call instruction that is one of a call from the first compiled code to the second compiled code or a call from the second compiled code to the first compiled code. The code for accommodating the difference in register configurations is associated with the at least one call instruction.
Public/Granted literature
- US20110047533A1 Generating Code Adapted for Interlinking Legacy Scalar Code and Extended Vector Code Public/Granted day:2011-02-24
Information query