Invention Grant
- Patent Title: Unaligned instruction relocation
-
Application No.: US15654991Application Date: 2017-07-20
-
Publication No.: US10223091B2Publication Date: 2019-03-05
- Inventor: Carlo Bertolli , John K. O'Brien , Olivier H. Sallenave , Zehra N. Sura
- 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 Jennifer Davis
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F8/54 ; G06F8/41 ; G06F9/30

Abstract:
In one embodiment, a computer-implemented method includes receiving source code to be compiled into an executable file for an unaligned instruction set architecture (ISA). Aligned assembled code is generated, by a computer processor. The aligned assembled code complies with an aligned ISA and includes aligned processor code for a processor and aligned accelerator code for an accelerator. A first linking pass is performed on the aligned assembled code, including relocating a first relocation target in the aligned accelerator code that refers to a first object outside the aligned accelerator code. Unaligned assembled code is generated in accordance with the unaligned ISA and includes unaligned accelerator code for the accelerator and unaligned processor code for the processor. A second linking pass is performed on the unaligned assembled code, including relocating a second relocation target outside the unaligned accelerator code that refers to an object in the unaligned accelerator code.
Public/Granted literature
- US20170351501A1 UNALIGNED INSTRUCTION RELOCATION Public/Granted day:2017-12-07
Information query