CONFIG_SSE_FP_MATH

Compiler-generated SSEx instructions

Type: bool

Help

This option allows the compiler to generate SSEx instructions for performing floating point math. This can greatly improve performance when exactly the same operations are to be performed on multiple data objects; however, it can also significantly reduce performance when preemptive task switches occur because of the larger register set that must be saved and restored.

Disabling this option means that the compiler utilizes only the x87 instruction set for floating point operations.

Direct dependencies

SSE && CPU_HAS_FPU && !X86_64 && X86

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At arch/x86/core/Kconfig.ia32:87

Included via Kconfig:8Kconfig.zephyr:34arch/Kconfig:12arch/x86/Kconfig:279

Menu path: (Top) → X86 Architecture Options → Processor Capabilities → Architecture Floating Point Options → SSE registers

config SSE_FP_MATH
    bool "Compiler-generated SSEx instructions"
    depends on SSE && CPU_HAS_FPU && !X86_64 && X86
    help
      This option allows the compiler to generate SSEx instructions for
      performing floating point math. This can greatly improve performance
      when exactly the same operations are to be performed on multiple
      data objects; however, it can also significantly reduce performance
      when preemptive task switches occur because of the larger register
      set that must be saved and restored.

      Disabling this option means that the compiler utilizes only the
      x87 instruction set for floating point operations.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)