Skip to main content
U.S. Department of Energy
Office of Scientific and Technical Information

Unaligned instruction relocation

Patent ·
OSTI ID:1399904
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.
Research Organization:
International Business Machines Corporation, Armonk, NY (United States)
Sponsoring Organization:
USDOE
Assignee:
INTERNATIONAL BUSINESS MACHINES CORPORATION
Patent Number(s):
9,792,098
Application Number:
14/667,933
OSTI ID:
1399904
Country of Publication:
United States
Language:
English

References (1)

DMA++: on the fly data realignment for on-chip memories conference January 2010

Similar Records

Unaligned instruction relocation
Patent · Mon Jan 22 23:00:00 EST 2018 · OSTI ID:1417876

Unaligned instruction relocation
Patent · Mon Mar 04 23:00:00 EST 2019 · OSTI ID:1525022

Method for instruction sequence execution analysis and visualization
Patent · Tue Sep 11 00:00:00 EDT 2018 · OSTI ID:1478644

Related Subjects