EFFICIENT GENERATION OF SIMD CODE IN PRESENCE OF MULTI-THREADING AND OTHER FALSE SHARING CONDITIONS AND IN MACHINES HAVING MEMORY PROTECTION SUPPORT
Patent №
US 7,730,463
Granted
2010-06-01
Filed 2006
Owner
INTERNATIONAL BUSINESS MACHINES CORPORATION
Lab
AI components
1
hardware
Assignment
Recorded
Dataset
AIPD
2023_r1 edition
Application
11358372
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.
AI classification
Ownership
INTERNATIONAL BUSINESS MACHINES CORPORATION
assignment · 176290064
Assignors
EICHENBERGER, ALEXANDRE, WANG, KAI-TING AMY, WU, PENG, ZHAO, PENG
On an employer assignment, the assignors are typically the inventors.