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 />

vfpv3<br />

vfpv3_fp16<br />

vfpv3_d16<br />

Selects a hardware vector floating-point unit conforming to architecture<br />

VFPv3. VFPv3 is backwards compatible with VFPv2 except that VFPv3<br />

cannot trap floating-point exceptions. vpfv3 is available in <strong>RealView</strong><br />

Development Suite 3.0 and later only.<br />

Selects a hardware vector floating-point unit conforming to architecture<br />

VFPv3 that also provides the half-precision extensions. vfpv3_fp16 is<br />

available in <strong>RealView</strong> Development Suite 4.0 and later only.<br />

Selects a hardware vector floating-point unit conforming to VFPv3-D16<br />

architecture. vfpv3_d16 is available in <strong>RealView</strong> Development Suite 4.0<br />

and later only.<br />

vfpv3_d16_fp16<br />

Selects a hardware vector floating-point unit conforming to VFPv3-D16<br />

architecture, that also provides the half-precision extensions.<br />

vfpv3_d16_fp16 is available in <strong>RealView</strong> Development Suite 4.0 and later<br />

only.<br />

softvfp<br />

Selects the software floating-point library fplib. This is the default if you<br />

do not specify a --fpu option, or if you select a CPU that does not have<br />

an FPU.<br />

In previous releases of RVCT, if you specified --fpu=softvfp and a CPU<br />

with implicit VFP hardware, the linker chose a library that implemented<br />

the software floating-point calls using VFP instructions. This is no longer<br />

the case. If you require this legacy behavior, use --fpu=softvfp+vfp.<br />

softvfp+vfpv2<br />

Selects a floating-point library with software floating-point linkage that<br />

can use VFPv2 instructions. Select this option if you are interworking<br />

Thumb code with <strong>ARM</strong> code on a system that implements a VFP unit.<br />

If you select this option:<br />

• Compiling with --thumb behaves in a similar way to --fpu=softvfp<br />

except that it links with floating-point libraries that use VFP<br />

instructions.<br />

• Compiling with --arm behaves in a similar way to --fpu=vfpv2<br />

except that all functions are given software floating-point linkage.<br />

This means that functions pass and return floating-point arguments<br />

and results in the same way as --fpu=softvfp, but use VFP<br />

instructions internally.<br />

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

ID101213<br />

Non-Confidential,

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

Saved successfully!

Ooh no, something went wrong!