diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-06-09 03:01:24 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-06-20 03:05:09 -0400 |
commit | 4e63f8edfe4d6f20b1af176efc022c2b2f5e7aeb (patch) | |
tree | 5fd40bcbe3b23b8c055e1f8bd543ec125c9f98d6 /arch/powerpc/Kconfig | |
parent | 04ae9001719c3f0012d239a7c5aa4136f6b6541d (diff) |
powerpc/math-emu: Allow math-emu to be used for HW FPU
(Including 64-bit ones)
This allow SW emulation by the kernel of optional instructions
such as fsqrt which aren't implemented on some processors, and
thus fixes some Fedora 19 issues such as Anaconda since the
compiler is set to generate those by default on 64-bit.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index c33e3ad2c8fd..e3009abc7f75 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -298,7 +298,7 @@ config HUGETLB_PAGE_SIZE_VARIABLE | |||
298 | 298 | ||
299 | config MATH_EMULATION | 299 | config MATH_EMULATION |
300 | bool "Math emulation" | 300 | bool "Math emulation" |
301 | depends on 4xx || 8xx || E200 || PPC_MPC832x || E500 | 301 | depends on 4xx || 8xx || PPC_MPC832x || BOOKE |
302 | ---help--- | 302 | ---help--- |
303 | Some PowerPC chips designed for embedded applications do not have | 303 | Some PowerPC chips designed for embedded applications do not have |
304 | a floating-point unit and therefore do not implement the | 304 | a floating-point unit and therefore do not implement the |
@@ -307,6 +307,10 @@ config MATH_EMULATION | |||
307 | unit, which will allow programs that use floating-point | 307 | unit, which will allow programs that use floating-point |
308 | instructions to run. | 308 | instructions to run. |
309 | 309 | ||
310 | This is also useful to emulate missing (optional) instructions | ||
311 | such as fsqrt on cores that do have an FPU but do not implement | ||
312 | them (such as Freescale BookE). | ||
313 | |||
310 | config PPC_TRANSACTIONAL_MEM | 314 | config PPC_TRANSACTIONAL_MEM |
311 | bool "Transactional Memory support for POWERPC" | 315 | bool "Transactional Memory support for POWERPC" |
312 | depends on PPC_BOOK3S_64 | 316 | depends on PPC_BOOK3S_64 |