You copied the Doc URL to your clipboard.

-mfpu

Specifies the target FPU architecture, that is the floating-point hardware available on the target.

Syntax

-mfpu=name

Where name is one of the following:

  • none
  • neon
  • fp-armv8
  • neon-fp-armv8
  • crypto-neon-fp-armv8

The -mfpu option overrides the default FPU option implied by the target architecture.

The -mfpu=none option selects no FPU. No floating-point instructions or floating-point registers are used.

Note

The -mfpu option is only valid with the armv8a-arm-none-eabi target. It is not possible to override the default FPU for the aarch64-arm-none-eabi target. However, you can prevent the use of floating-point instructions or floating-point registers for the aarch64-arm-none-eabi target with the -mgeneral-regs-only option.

Default

The default for the armv8a-arm-none-eabi target is -mfpu=crypto-neon-fp-armv8.

Was this page helpful? Yes No