Invention Grant
US07730463B2 Efficient generation of SIMD code in presence of multi-threading and other false sharing conditions and in machines having memory protection support
有权
在存在多线程和其他虚假共享条件的情况下以及具有存储器保护支持的机器中有效地生成SIMD代码
- Patent Title: Efficient generation of SIMD code in presence of multi-threading and other false sharing conditions and in machines having memory protection support
- Patent Title (中): 在存在多线程和其他虚假共享条件的情况下以及具有存储器保护支持的机器中有效地生成SIMD代码
-
Application No.: US11358372Application Date: 2006-02-21
-
Publication No.: US07730463B2Publication Date: 2010-06-01
- Inventor: Alexandre E. Eichenberger , Kai-Ting Amy Wang , Peng Wu , Peng Zhao
- Applicant: Alexandre E. Eichenberger , Kai-Ting Amy Wang , Peng Wu , Peng Zhao
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Yee & Associates, P.C.
- Agent Libby Z. Toub
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A computer implemented method, system and computer program product for automatically generating SIMD code. The method begins by analyzing data to be accessed by a targeted loop including at least one statement, where each statement has at least one memory reference, to determine if memory accesses are safe. If memory accesses are safe, the targeted loop is simdized. If not safe, it is determined if a scheme can be applied in which safety need not be guaranteed. If such a scheme can be applied, the targeted loop is simdized according to the scheme. If such a scheme cannot be applied, it is determined if padding is appropriate. If padding is appropriate, the data is padded and the targeted loop is simdized. If padding is not appropriate, non-simdized code is generated based on the targeted loop for handling boundary conditions, the targeted loop is simdized and combined with the non-simdized code.
Public/Granted literature
Information query