x86: Change order of floating point options
Changes the order of the floating point options so that the SSE Kconfig options are not interspersed with the floating point options. Change-Id: I8390b5049f95b3088e7abf48bf492a544e7f5f50 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
This commit is contained in:
parent
9d5599af05
commit
39fc84e65a
1 changed files with 28 additions and 28 deletions
|
@ -227,34 +227,6 @@ config FLOAT
|
|||
Disabling this option means that any task or fiber that uses a
|
||||
floating point instruction will get a fatal exception.
|
||||
|
||||
config SSE
|
||||
bool
|
||||
prompt "SSEx instructions"
|
||||
depends on FLOAT && !CPU_SSE_UNSUPPORTED
|
||||
default n
|
||||
help
|
||||
This option enables the use of SSEx instructions by a task or fiber.
|
||||
|
||||
Disabling this option means that no task or fiber may use SSEx
|
||||
instructions; any such use will result in undefined behavior.
|
||||
|
||||
config SSE_FP_MATH
|
||||
bool
|
||||
prompt "Compiler-generated SSEx instructions" if FP_SHARING
|
||||
depends on SSE
|
||||
default n if FP_SHARING
|
||||
default y if !FP_SHARING
|
||||
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 pre-emptive 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.
|
||||
|
||||
config FP_SHARING
|
||||
bool
|
||||
prompt "Floating point resource sharing" if !ENHANCED_SECURITY
|
||||
|
@ -297,6 +269,34 @@ config AUTOMATIC_FP_ENABLING
|
|||
if SSE is configured, otherwise it is enabled for using x87 FPU or
|
||||
MMX instructions only.
|
||||
|
||||
config SSE
|
||||
bool
|
||||
prompt "SSEx instructions"
|
||||
depends on FLOAT && !CPU_SSE_UNSUPPORTED
|
||||
default n
|
||||
help
|
||||
This option enables the use of SSEx instructions by a task or fiber.
|
||||
|
||||
Disabling this option means that no task or fiber may use SSEx
|
||||
instructions; any such use will result in undefined behavior.
|
||||
|
||||
config SSE_FP_MATH
|
||||
bool
|
||||
prompt "Compiler-generated SSEx instructions" if FP_SHARING
|
||||
depends on SSE
|
||||
default n if FP_SHARING
|
||||
default y if !FP_SHARING
|
||||
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 pre-emptive 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.
|
||||
|
||||
config XIP
|
||||
default n
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue