Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 96d5b52c authored by Michael Neuling's avatar Michael Neuling Committed by Paul Mackerras
Browse files

powerpc: Add CONFIG_VSX config option



Add CONFIG_VSX config build option.  Must compile with POWER4, FPU and ALTIVEC.

Signed-off-by: default avatarMichael Neuling <mikey@neuling.org>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent ce48b210
Loading
Loading
Loading
Loading
+16 −0
Original line number Original line Diff line number Diff line
@@ -160,6 +160,22 @@ config ALTIVEC


	  If in doubt, say Y here.
	  If in doubt, say Y here.


config VSX
	bool "VSX Support"
	depends on POWER4 && ALTIVEC && PPC_FPU
	---help---

	  This option enables kernel support for the Vector Scaler extensions
	  to the PowerPC processor. The kernel currently supports saving and
	  restoring VSX registers, and turning on the 'VSX enable' bit so user
	  processes can execute VSX instructions.

	  This option is only useful if you have a processor that supports
	  VSX (P7 and above), but does not have any affect on a non-VSX
	  CPUs (it does, however add code to the kernel).

	  If in doubt, say Y here.

config SPE
config SPE
	bool "SPE Support"
	bool "SPE Support"
	depends on E200 || (E500 && !PPC_E500MC)
	depends on E200 || (E500 && !PPC_E500MC)