diff options
author | Michael Neuling <mikey@neuling.org> | 2008-06-25 00:07:18 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-06-30 21:28:51 -0400 |
commit | 96d5b52c8473ae6ee63d592474bcc1255df06102 (patch) | |
tree | 600100969a2400908746cd140e68b9c1d29da374 | |
parent | ce48b2100785e5ca629fb3aa8e3b50aca808f692 (diff) |
powerpc: Add CONFIG_VSX config option
Add CONFIG_VSX config build option. Must compile with POWER4, FPU and ALTIVEC.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/platforms/Kconfig.cputype | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/Kconfig.cputype b/arch/powerpc/platforms/Kconfig.cputype index c66b8ed7e7d9..5bc4b611ff88 100644 --- a/arch/powerpc/platforms/Kconfig.cputype +++ b/arch/powerpc/platforms/Kconfig.cputype | |||
@@ -160,6 +160,22 @@ config ALTIVEC | |||
160 | 160 | ||
161 | If in doubt, say Y here. | 161 | If in doubt, say Y here. |
162 | 162 | ||
163 | config VSX | ||
164 | bool "VSX Support" | ||
165 | depends on POWER4 && ALTIVEC && PPC_FPU | ||
166 | ---help--- | ||
167 | |||
168 | This option enables kernel support for the Vector Scaler extensions | ||
169 | to the PowerPC processor. The kernel currently supports saving and | ||
170 | restoring VSX registers, and turning on the 'VSX enable' bit so user | ||
171 | processes can execute VSX instructions. | ||
172 | |||
173 | This option is only useful if you have a processor that supports | ||
174 | VSX (P7 and above), but does not have any affect on a non-VSX | ||
175 | CPUs (it does, however add code to the kernel). | ||
176 | |||
177 | If in doubt, say Y here. | ||
178 | |||
163 | config SPE | 179 | config SPE |
164 | bool "SPE Support" | 180 | bool "SPE Support" |
165 | depends on E200 || (E500 && !PPC_E500MC) | 181 | depends on E200 || (E500 && !PPC_E500MC) |