-
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.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At arch/x86/Kconfig:168
Included via Kconfig:10
→ Kconfig.zephyr:29
→ arch/Kconfig:15
Menu path: (top menu) → X86 Architecture Options → Processor Capabilities → Architecture Floating Point Options
config SSE_FP_MATH bool prompt "Compiler-generated SSEx instructions" ifSSE
&&CPU_HAS_FPU
&&X86
depends onSSE
&&CPU_HAS_FPU
&&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.
(Definitions include propagated dependencies, including from if’s and menus.)