This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_X86_SSE_FP_MATH

Compiler-generated SSEx instructions for floating point math

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

X86_SSE && (FPU || X86_64) && X86

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols that select this symbol

Kconfig definition

At arch/x86/Kconfig:159

Included via Kconfig:8Kconfig.zephyr:39arch/Kconfig:12

Menu path: (Top) → X86 Architecture Options → x86 Features

config X86_SSE_FP_MATH
    bool "Compiler-generated SSEx instructions for floating point math"
    depends on X86_SSE && (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.)