| |||
| Home > Assembler Reference > Command syntax > FPU names | |||
There is an option to specify the FPU name:
--fpu nameSelects the target floating-point unit (FPU)
architecture. If you specify this option it overrides any implicit
FPU set by the --cpu option. The assembler produces
an error if the FPU you specify explicitly is incompatible with
the CPU. Floating-point instructions also produce either errors
or warnings if assembled for the wrong target FPU.
The assembler sets a build attribute corresponding to in
the object file. The linker determines compatibility between object
files, and selection of libraries, accordingly.name
Valid values for are:name
noneSelects no floating-point architecture. This makes your assembled object file compatible with object files built with any FPU.
vfpv3Selects hardware floating-point unit conforming to architecture VFPv3.
vfpv3_fp16Selects hardware floating-point unit conforming to architecture VFPv3 with half-precision floating-point extension.
vfpv3_d16Selects hardware floating-point unit conforming to architecture VFPv3-D16.
vfpv3_d16_fp16Selects hardware floating-point unit conforming to architecture VFPv3-D16 with half-precision floating-point extension.
vfpv2Selects hardware floating-point unit conforming to architecture VFPv2.
softvfpSelects
software floating-point linkage. This is the default if you do not
specify a --fpu option and the --cpu option
selected does not imply a particular FPU.
softvfp+vfpv2Selects a floating-point library with software floating-point linkage that uses VFP instructions.
This is otherwise equivalent to using --fpu vfpv2.
softvfp+vfpv3Selects a floating-point library with software floating-point linkage that uses VFP instructions.
This is otherwise equivalent to using --fpu vfpv3.
softvfp+vfpv3_fp16Selects a floating-point library with software floating-point linkage that uses VFP instructions.
This is otherwise equivalent to using --fpu vfpv3_fp16.
softvfp+vfpv3_d16Selects a floating-point library with software floating-point linkage that uses VFP instructions.
This is otherwise equivalent to using --fpu vfpv3_d16.
softvfp+vfpv3_d16_fp16Selects a floating-point library with software floating-point linkage that uses VFP instructions.
This is otherwise equivalent to using --fpu vfpv3_d16_fp16.
See the Linker User Guide for full details of the effect of these values on software library selection at link time.