Abstract

In this paper, we consider utilizing NEON Extension for Stencil Computation on ARM processors. It has always been a common topic for stencil computation optimizations, and much work has been conducted. Data-level parallelism is the basis of these optimizations, and lots have been done on the mainstream production processors from vendors such as Intel. The paper focuses on optimizing stencil computations on ARM processors supporting NEON SIMD extension. Specifically, we proposed a data layout transformation approach to address the stream alignment conflict when using NEON ISA on ARM processors. By modeling the overheads of transformation and computation we can evaluate the benefits gained from the approach precisely. Combining the fine-grained instruction arrangement and NEON intrinsic, better floating-point performance can be obtained than automatic vectorization with the compiler. We evaluate the efficiency of the approach with a series of stencil computations on an ARM processor. Results show that when using the NEON Extension with transformation, an average of 1.51× speedup and a maximum of 2.83× speedup can be obtained compared to the automatic vectorization method.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.