Efficient data reorganization to satisfy data alignment constraints
AssigneeInternational Business Machines Corporation
InventorsAlexandre E. Eichenberger, John Kevin Patrick O'Brien, Peng Wu
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsAlexandre E. Eichenberger, John Kevin Patrick O'Brien, Peng Wu
Estimating the term…
Vectorizing misaligned references in compiled code for SIMD architectures that support only aligned loads and stores is presented. In the framework presented herein, a loop is first simdized as if the memory unit imposes no alignment constraints. The compiler then inserts data reorganization operations to satisfy the actual alignment requirement of the hardware. Finally, the code generation algorithm generates SIMD codes based on the data reorganization graph, addressing realistic issues such as runtime alignments, unknown loop bounds, residue iteration counts, and multiple statements with arbitrary alignment combinations. Beyond generating a valid simdization, a preferred embodiment further improves the quality of the generated codes. Four stream-shift placement policies are disclosed, which minimize the number of data reorganization generated by the alignment handling.
A computer program product comprising a computer-storage medium having stored thereon:
An information-handling system, comprising:
Dependencies are inferred from the claim text.