Back to Search Start Over

Automatic Detection of Saturation and Clipping Idioms.

Authors :
Pugh, Bill
Tseng, Chau-Wen
Bik, Aart J. C.
Girkar, Milind
Grey, Paul M.
Tian, Xinmin
Source :
Languages & Compilers for Parallel Computing (9783540307815); 2005, p61-74, 14p
Publication Year :
2005

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. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISBNs :
9783540307815
Database :
Supplemental Index
Journal :
Languages & Compilers for Parallel Computing (9783540307815)
Publication Type :
Book
Accession number :
32889147
Full Text :
https://doi.org/10.1007/11596110_5