29.10.2014 Views

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

ARM Compiler toolchain v4.1 for µVision Using the Compiler

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Compiler</strong> Features<br />

4.8 <strong>Compiler</strong> intrinsics <strong>for</strong> Digital Signal Processing (DSP)<br />

The compiler provides intrinsics that assist in <strong>the</strong> implementation of DSP algorithms. These<br />

intrinsics introduce <strong>the</strong> appropriate target instructions <strong>for</strong>:<br />

• <strong>ARM</strong> architectures from <strong>ARM</strong> v5TE and later<br />

• Thumb-2 architectures.<br />

Not every instruction has its own intrinsic. The compiler can combine several intrinsics, or<br />

combinations of intrinsics and C operators to generate more powerful instructions. For example,<br />

<strong>the</strong> <strong>ARM</strong> v5TE QDADD instruction is generated by a combination of __qadd and __qdbl.<br />

4.8.1 See also<br />

Reference<br />

<strong>Compiler</strong> Reference:<br />

• __clz intrinsic on page 5-63<br />

• __fabs intrinsic on page 5-67<br />

• __fabsf intrinsic on page 5-68<br />

• __qadd intrinsic on page 5-75<br />

• __qdbl intrinsic on page 5-75<br />

• __qsub intrinsic on page 5-76<br />

• __sqrt intrinsic on page 5-80<br />

• __sqrtf intrinsic on page 5-81<br />

• __ssat intrinsic on page 5-81<br />

• __usat intrinsic on page 5-85<br />

• <strong>ARM</strong>v6 SIMD intrinsics on page 5-88.<br />

<strong>ARM</strong> DUI 0375C Copyright © 2007-2008, 2011 <strong>ARM</strong>. All rights reserved. 4-11<br />

ID061811<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!