Automatic detection of saturation and clipping idioms

AJC Bik, M Girkar, PM Grey, X Tian - … , LCPC 2002, College Park, MD, USA …, 2005 - Springer
AJC Bik, M Girkar, PM Grey, X Tian
Languages and Compilers for Parallel Computing: 15th Workshop, LCPC 2002 …, 2005Springer
The MMX TM technology and SSE/SSE2 (streaming-SIMD-extensions) introduced a variety
of SIMD instructions that can exploit data parallelism in numerical and multimedia
applications. In particular, new saturation and clipping instructions can boost the
performance of applications that make extensive use of such operations. Unfortunately, due
to the lack of support for saturation and clipping operators in eg C/C++ or Fortran, these
operations must be explicitly coded with conditional constructs that test the value of …
Abstract
The MMXTM technology and SSE/SSE2 (streaming-SIMD-extensions) introduced a variety of SIMD instructions that can exploit data parallelism in numerical and multimedia applications. In particular, new saturation and clipping instructions can boost the performance of applications that make extensive use of such operations. Unfortunately, due to the lack of support for saturation and clipping operators in e.g. C/C++ or Fortran, these operations must be explicitly coded with conditional constructs that test the value of operands before actual wrap-around arithmetic is performed. As a result, inlineassembly or language extensions are most commonly used to exploit the new instructions. In this paper, we explore an alternative approach, where the compiler automatically maps high-level saturation and clipping idioms onto efficient low-level instructions. The effectiveness of this approach is demonstrated with some experiments.
Springer
以上显示的是最相近的搜索结果。 查看全部搜索结果