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

Restrictions<br />

For every CPU that can be specified with --cpu=name, the compiler permits any<br />

hardware VFP architecture to be specified using --fpu=name, providing that the target<br />

architecture inside the processor core is 5TE or later. Beyond the scope of the compiler,<br />

additional architectural constraints apply. For example, VFPv3 is not supported with<br />

architectures prior to <strong>ARM</strong>v7.<br />

The combination of --fpu and --cpu options permitted by the compiler does not<br />

necessarily translate to the actual device in use.<br />

If you specify an FPU implicitly using the --cpu option, that is incompatible with an<br />

FPU chosen explicitly using --fpu, the compiler generates an error.<br />

The compiler only generates scalar floating-point operations. If you want to use VFP<br />

vector operations, you must do this using assembly code.<br />

NEON support is disabled for softvfp.<br />

Default<br />

If a VFP coprocessor is present, VFP instructions are generated. If there is no VFP<br />

corprocessor, the compiler generates code that makes calls to the software<br />

floating-point library fplib to carry out floating-point operations.<br />

Note<br />

By default, some choices of processor or architecture imply the selection of a particular<br />

floating-point unit. For example, the option --cpu <strong>ARM</strong>1136JF-S implies the option --fpu<br />

vfpv2.<br />

See also<br />

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

• --cpu=name on page 2-30<br />

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

• __softfp on page 4-15<br />

• Using floating-point arithmetic on page 5-31 in the Compiler User Guide<br />

• Floating-point build options on page 2-5 in the Developer Guide.<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!