首页> 外国专利> Framework for integrated intra- and inter-loop aggregation of contiguous memory accesses for SIMD vectorization

Framework for integrated intra- and inter-loop aggregation of contiguous memory accesses for SIMD vectorization

机译:用于SIMD向量化的连续内存访问的环内和环间集成聚合的框架

摘要

A method, computer program product, and information handling system for generating loop code to execute on Single-Instruction Multiple-Datapath (SIMD) architectures, where the loop contains multiple non-stride-one memory accesses that operate over a contiguous stream of memory is disclosed. A preferred embodiment identifies groups of isomorphic statements within a loop body where the isomorphic statements operate over a contiguous stream of memory over the iteration of the loop. Those identified statements are then converted into virtual-length vector operations. Next, the hardware's available vector length is used to determine a number of virtual-length vectors to aggregate into a single vector operation for each iteration of the loop. Finally, the aggregated, vectorized loop code is converted into SIMD operations.
机译:一种用于生成循环代码以在单指令多数据路径(SIMD)架构上执行的方法,计算机程序产品和信息处理系统,其中该循环包含对连续内存流进行操作的多个非跨步内存访问。披露。一个优选实施例标识了循环体内的同构语句组,其中同构语句在循环的迭代过程中在连续的内存流上操作。然后将那些标识的语句转换为虚拟长度向量运算。接下来,硬件的可用向量长度用于确定虚拟长度向量的数量,以针对循环的每次迭代将其聚合为单个向量操作。最后,将聚合的矢量化循环代码转换为SIMD操作。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号