Skip to Content
Find More Like This
Return to Search

Generating code adapted for interlinking legacy scalar code and extended vector code

United States Patent

June 4, 2013
View the Complete Patent at the US Patent & Trademark Office
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.
Gschwind; Michael K. (Chappaqua, NY)
International Business Machines Corporation (Armonk, NY)
12/ 544,258
August 20, 2009
This invention was made with United States Government support under Contract No. B554331 awarded by the Department of Energy. The Government has certain rights in this invention.