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

Note<br />

If you specify softvfp+vfpv2 with the --arm or --thumb option for C code,<br />

it ensures that your interworking floating-point code is compiled to use<br />

software floating-point linkage.<br />

softvfp+vfpv3<br />

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

targets the VFPv3 architecture. Select this option if you are interworking<br />

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

softvfp+vfpv3 is is available in <strong>RealView</strong> Development Suite 3.0 and<br />

later only.<br />

softvfp+vfpv3_fp16<br />

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

targets the VFPv3 architecture with half-precision floating-point<br />

extension support. softvfp+vfpv3_fp16 is available in <strong>RealView</strong><br />

Development Suite 4.0 and later only.<br />

softvfp+vfpv3_d16<br />

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

targets the VFPv3-D16 architecture. softvfp+vfpv3_d16 is available in<br />

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

softvfp+vfpv3_d16_fp16<br />

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

targets the VFPv3-D16 architecture, with half-precision floating-point<br />

extension support. softvfp+vfpv3_d16_fp16 is available in <strong>RealView</strong><br />

Development Suite 4.0 and later only.<br />

Usage<br />

Any FPU explicitly selected using the --fpu option always overrides any FPU<br />

implicitly selected using the --cpu option. For example, the option cpu=<strong>ARM</strong>1136JF-S<br />

--fpu=softvfp generates code that uses the software floating-point library fplib, even<br />

though the choice of CPU implies the use of architecture VFPv2.<br />

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

Non-Confidential,<br />

ID101213

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

Saved successfully!

Ooh no, something went wrong!