*
*Home|Chinese|Japanese*About ARM|Forums|Events|News|Employment|Contact Us|Investors*
dotted rule
*ARM - the architecture for the digital worldARM - the architecture for the digital world
search
*
*
***
*MARKETS:PRODUCTS & SOLUTIONS:CONNECTED COMMUNITY:TECHNICAL SUPPORT:DOCUMENTATION*
*
technical support
*
*
****
*.Technical Support
*
*
*>>Home Page*
*
*.Obtaining Support*
*
*.FAQs*
*
**Development Tool FAQs*
**IP FAQs*
**Embedded Software FAQs*
**Artisan Physical IP FAQs (Login Required)*
*
*.Downloads*
*
*.Documentation*
*
*.Training*
*
*.Where To Buy*
*
*.Keil MCU Tools*
*
*.What's New*
*
*.ARM Newsgroups*
*
*.Active Assist On-site Services*
*
*
*
technical support FAQsask ARM*
*

Technical Support Search
*     (Advanced Search)
  FAQs   Documentation   Downloads   Forums

*

 
downarrowUse of --fpu softvfp with processors with implicit VFP
Applies to: ARM Developer Suite (ADS), Assembler, Compilers, RealView Developer Suite (RVDS) 2.0, RealView Developer Suite (RVDS) 2.1, RealView Developer Suite (RVDS) 2.2, RealView Development Suite (RVDS) 3.0, RealView Development Suite (RVDS) 3.1, VFP Support Code

Some ARM processors have vector floating point (VFP) coprocessor hardware contained within them (shown by an "F" in the part number, for example ARM1136JF-S).

Usually a developer would wish to make use of this feature, but for early development you may prefer not to include it, because VFP requires specific "support code" to be added to your image - see FAQ: 'How do I build and run code for VFP?'

It is possible to disable VFP code generation for source files by compiling (or assembling) code with the options:

--cpu ARM1136JF-S --fpu softvfp

The resultant object (.o) file will not contain any VFP code, however, the Build Attributes of the object may be set to support VFP depending on toolchain and versions, which may affect the final link stage.

For RVCT2.2 and earlier (including ADS)

The compiled/assembled object (.o) file will not contain any VFP code, however the Build Attributes of the object will be set to support VFP. As a result, when linking, armlink may use VFP-enabled functions from the C-library, and so VFP code may still be contained within the image (.axf) executable.

To guarantee that no VFP code is contained in your final image, you should compile for the equivalent CPU that does not have an implicit VFP, for example:

--cpu ARM1136J-S

For RVCT 3.0 and later

The Build Attributes will now also be overruled by the --fpu switch. For example building with

--cpu ARM1136JF-S --fpu softvfp

not only prevents the compiler from using VFP instructions in the user object but also stops the attributes of the object indicating VFP is supported and thus the linker will not use those C library functions that contain VFP code. This ensures no VFP instructions are included in the final executable image (.axf).






back to top

*
**
*4 dots*Other ARM Websites
*
shadow *LEGAL STATEMENTshadow