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> Command-line Options<br />

Where model is one of:<br />

ieee_full<br />

ieee_fixed<br />

All facilities, operations, and representations guaranteed by the IEEE<br />

standard are available in single and double-precision. Modes of<br />

operation can be selected dynamically at runtime.<br />

This defines the symbols:<br />

__FP_IEEE<br />

__FP_FENV_EXCEPTIONS<br />

__FP_FENV_ROUNDING<br />

__FP_INEXACT_EXCEPTION<br />

IEEE standard with round-to-nearest and no inexact exceptions.<br />

This defines the symbols:<br />

__FP_IEEE<br />

__FP_FENV_EXCEPTIONS<br />

ieee_no_fenv<br />

IEEE standard with round-to-nearest and no exceptions. This mode is<br />

stateless and is compatible with the Java floating-point arithmetic model.<br />

This defines the symbol __FP_IEEE.<br />

std<br />

fast<br />

IEEE finite values with denormals flushed to zero, round-to-nearest, and<br />

no exceptions. This is compatible with standard C and C++ and is the<br />

default option.<br />

Normal finite values are as predicted by the IEEE standard. However:<br />

• NaNs and infinities might not be produced in all circumstances<br />

defined by the IEEE model. When they are produced, they might<br />

not have the same sign.<br />

• The sign of zero might not be that predicted by the IEEE model.<br />

Perform more aggressive floating-point optimizations that might cause a<br />

small loss of accuracy to provide a significant performance increase. This<br />

option defines the symbol __FP_FAST.<br />

This option results in behavior that is not fully compliant with the ISO C<br />

or C++ standard. However, numerically robust floating-point programs<br />

are expected to behave correctly.<br />

2-40 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!