29.12.2014 Views

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

RealView Compilation Tools Compiler Reference Guide - ARM ...

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>-specific Features<br />

See also<br />

• --diag_warning=optimizations on page 2-31<br />

• -Onum on page 2-66<br />

• -Otime on page 2-69<br />

• --[no_]vectorize on page 2-91<br />

• #pragma unroll [(n)] on page 4-59<br />

• Optimizing loops on page 4-4 in the <strong>Compiler</strong> User <strong>Guide</strong>.<br />

4.6.23 #pragma thumb<br />

This pragma switches code generation to the Thumb instruction set. It overrides the<br />

--arm compiler option.<br />

If you are compiling code for a pre-Thumb-2 processor and using VFP, any function<br />

containing floating-point operations is compiled for <strong>ARM</strong>.<br />

See also<br />

• --arm on page 2-7<br />

• --thumb on page 2-86<br />

• #pragma arm on page 4-50.<br />

4-62 Copyright © 2007, 2010 <strong>ARM</strong> Limited. All rights reserved. <strong>ARM</strong> DUI 0348A<br />

Non-Confidential

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

Saved successfully!

Ooh no, something went wrong!