发明名称 Method for improving processing of relatively aligned memory references for increased reuse opportunities
摘要 Computer implemented method, system and computer program product for aligning vectors to be processed by SIMD code. A pair of vectors to be aligned at runtime and having a known relative alignment at compile time is identified. A modified second memory reference is generated by modifying an address of the second memory reference to be in a same congruence class as the first memory reference, wherein the congruence class is mod V and wherein V is SIMD byte width. A first SIMD load located at the modified second memory reference and a next adjacent SIMD load located at a third memory reference corresponding to the modified second memory reference address plus V are loaded, and the first SIMD load and the next adjacent SIMD load are concatenated to generate a resultant vector of length 2V. The resultant vector is left shifted by an amount corresponding to a difference between the addresses of the first memory reference and the second memory reference mod V, and the leftmost V bytes of the resultant vector are retained to align the first and second vectors.
申请公布号 US2007226453(A1) 申请公布日期 2007.09.27
申请号 US20060387218 申请日期 2006.03.23
申请人 EICHENBERGER ALEXANDRE E;NAIR ROHINI;WANG KAI-TING A;WU PENG;ZHAO PENG 发明人 EICHENBERGER ALEXANDRE E.;NAIR ROHINI;WANG KAI-TING A.;WU PENG;ZHAO PENG
分类号 G06F15/00 主分类号 G06F15/00
代理机构 代理人
主权项
地址