首页>
外国专利>
Single instruction multiple data (SIMD) code generation for parallel loops using versioning and scheduling
Single instruction multiple data (SIMD) code generation for parallel loops using versioning and scheduling
展开▼
机译:使用版本控制和调度为并行循环生成单指令多数据(SIMD)代码
展开▼
页面导航
摘要
著录项
相似文献
摘要
Embodiments of the present invention address deficiencies of the art in respect to loop parallelization for a target architecture implementing a shared memory model and provide a novel and non-obvious method, system and computer program product for SIMD code generation for parallel loops using versioning and scheduling. In an embodiment of the invention, within a code compilation data processing system a parallel SIMD loop code generation method can include identifying a loop in a representation of source code as a parallel loop candidate, either through a user directive or through auto-parallelization. The method also can include selecting a trip count condition responsive to a scheduling policy set for the code compilation data processing system and also on a minimal simdizable threshold, determining a trip count and an alignment constraint for the selected loop, and generating a version of a parallel loop in the source code according to the alignment constraint and a comparison of the trip count to the trip count condition.
展开▼