Keil™, An ARM® Company

RealView Libraries and Floating Point Support Guide

About floating‑point support

1.2. About floating‑point support

The ARM floating‑point environment is an implementation of the IEEE 754 standard for binary floating‑point arithmetic. See IEEE 754 arithmetic for more information on the ARM implementation of the standard.

An ARM system might have:

  • a VFP coprocessor

  • no floating‑point hardware.

If you compile for a system with a hardware VFP coprocessor, the ARM compiler makes use of it. If you compile for a system without a coprocessor, the compiler implements the calculations in software.

For example, the compiler option ‑‑fpu=vfp selects a hardware VFP coprocessor and the option ‑‑fpu=softvfp specifies that arithmetic operations are to be performed in software, without the use of any coprocessor instructions.

See Chapter 4 Floating‑point Support for more information.

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0378A