HW/SW协同设计处理器的变向量长SIMD结构
A Variable Vector Length SIMD Architecture for HW/SW Co-designed Processors
摘要:
硬件/软件(HW/SW)协同设计的处理器通过保持其硬件简单性,为现代微处理器的功耗和复杂性问题提供了一个有前途的解决方案。此外,他们采用了几个运行时优化,以提高性能。最有效的优化之一,向量化,已被现代微处理器利用,通过SIMD加速器开发数据级并行性。由于其硬件简单性,这些加速器在宽度方面已经从英特尔MMX中的64位矢量发展到英特尔至强融核和AVX-512中的512位宽矢量单元。虽然SIMD加速器在硬件设计方面很简单,但为它们生成代码生成一直是一个挑战。此外,随着每个新的世代增加向量长度增加了这种复杂性。本文从代码生成的角度探讨了SIMD加速器的可扩展性。我们发现,SIMD加速器在更高的向量长度下仍然没有得到充分利用,这主要是由于:a)减少了向量化的动态指令流覆盖,b)增加了排列。这两个因素都可以归因于SIMD架构的刚性。我们提出了一种新的SIMD架构,具有支持更高的向量长度所需的灵活性。此外,我们提出了可变长度矢量化和选择性写入的硬件/软件协同设计的环境中透明的目标所提出的架构的灵活性。我们评估我们的建议,使用一组SPECFP 2006和Physicsbench应用程序。我们的实验结果表明,平均动态指令减少31%和40%,平均速度分别为13%和10%的SPECFP 2006和Physicsbench,为512位向量长度,在标量基线代码。
英文摘要:
Hardware/Software (HW/SW) co-designed processors provide a promising solution to the power and complexity problems of the modern microprocessors by keeping their hardware simple. Moreover, they employ several runtime optimizations to improve the performance. One of the most potent optimizations, vectorization, has been utilized by modern microprocessors, to exploit the data level parallelism through SIMD accelerators. Due to their hardware simplicity, these accelerators have evolved in terms of width from 64-bit vectors in Intel MMX to 512-bit wide vector units in Intel Xeon Phi and AVX-512. Although SIMD accelerators are simple in terms of hardware design, code generation for them has always been a challenge. Moreover, increasing vector lengths with each new generation add to this complexity. This paper explores the scalability of SIMD accelerators from the code generation point of view. We discover that the SIMD accelerators remain underutilized at higher vector lengths mainly due to: a) reduced dynamic instruction stream coverage for vectorization and b) increase in permutations. Both of these factors can be attributed to the rigidness of the SIMD architecture. We propose a novel SIMD architecture that possesses the flexibility needed to support higher vector lengths. Furthermore, we propose Variable Length Vectorization and Selective Writing in a HW/SW co-designed environment to transparently target the flexibility of the proposed architecture. We evaluate our proposals using a set of SPECFP2006 and Physicsbench applications. Our experimental results show an average dynamic instruction reduction of 31% and 40% and an average speed up of 13% and 10% for SPECFP2006 and Physicsbench respectively, for 512-bit vector length, over the scalar baseline code.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。