04.01.2015 Views

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

RealView Compilation Tools - ARM Information Center

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Compiler-specific Features<br />

4.7.45 <strong>ARM</strong>v6 SIMD intrinsics according to prefix<br />

Table 4-15<br />

<strong>ARM</strong>v6 SIMD instruction intrinsics grouped by prefix<br />

Intrinsic classification __s a __q b __sh c __u d __uq e __uh f<br />

Byte addition __sadd8 __qadd8 __shadd8 __usadd8 __uqadd8 __uhadd8<br />

Byte subtraction __ssub8 __qsub8 __shsub8 __usub8 __uqsub8 __uhsub8<br />

Halfword addition __sadd16 __qadd16 __shadd16 __uadd16 __uqadd16 __uhadd16<br />

Halfword subtraction __ssub16 __qsub16 __shsub16 __usub16 __uqsub16 __uhsub16<br />

Exchange halfwords within one operand,<br />

add high halfwords, subtract low halfwords<br />

Exchange halfwords within one operand,<br />

subtract high halfwords, add low halfwords<br />

__sasx __qasx __shasx __uasx __uqasx __uhasx<br />

__ssax __qsax __shsax __usax __uqsax __uhsax<br />

Unsigned sum of absolute difference - - - __usad8 - -<br />

Unsigned sum of absolute difference and<br />

accumulate<br />

- - - __usada8 - -<br />

Signed saturation to selected width __ssat16 - - - - -<br />

Extract values (bit positions [23:16][7:0]),<br />

zero-extend to 16 bits<br />

Extract values (bit positions [23:16][7:0])<br />

from second operand, zero-extend to 16<br />

bits, add to first operand<br />

- - - __uxtb16 - -<br />

- - - __uxtab16 - -<br />

Sign-extend __sxtb16 - - - - -<br />

Sign-extend, add __sxtab16 - - - - -<br />

Signed multiply, add products __smuad - - - - -<br />

Signed multiply, subtract products __smusd - - - - -<br />

Exchange halfwords of one operand,<br />

signed multiply, subtract products<br />

Signed multiply, add both results to another<br />

operand<br />

__smusdx - - - - -<br />

__smlad - - - - -<br />

4-110 Copyright © 2007-2010 <strong>ARM</strong>. All rights reserved. <strong>ARM</strong> DUI 0348C<br />

Non-Confidential,<br />

ID101213

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!