发明名称 Efficient data reorganization to satisfy data alignment constraints
摘要 An approach is provided for vectorizing misaligned references in compiled code for SIMD architectures that support only aligned loads and stores. 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.
申请公布号 US7386842(B2) 申请公布日期 2008.06.10
申请号 US20040862483 申请日期 2004.06.07
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 EICHENBERGER ALEXANDRE E.;O'BRIEN JOHN KEVIN PATRICK;WU PENG
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址