summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/math-emu/Makefile
diff options
context:
space:
mode:
authorLiu Yu2008-10-28 04:50:21 +0100
committerKumar Gala2008-12-03 15:19:16 +0100
commit6a800f36acd5bf06b5fe2cb27c4d0524d60c3df5 (patch)
treefe5611ddb3a92d5609736618aed5eb8d9e65ce7a /arch/powerpc/math-emu/Makefile
parentpowerpc/math-emu: Remove redundant 'ret' (diff)
downloadkernel-qcow2-linux-6a800f36acd5bf06b5fe2cb27c4d0524d60c3df5.tar.gz
kernel-qcow2-linux-6a800f36acd5bf06b5fe2cb27c4d0524d60c3df5.tar.xz
kernel-qcow2-linux-6a800f36acd5bf06b5fe2cb27c4d0524d60c3df5.zip
powerpc: Add SPE/EFP math emulation for E500v1/v2 processors.
This patch add the handlers of SPE/EFP exceptions. The code is used to emulate float point arithmetic, when MSR(SPE) is enabled and receive EFP data interrupt or EFP round interrupt. This patch has no conflict with or dependence on FP math-emu. The code has been tested by TestFloat. Now the code doesn't support SPE/EFP instructions emulation (it won't be called when receive program interrupt), but it could be easily added. Signed-off-by: Liu Yu <yu.liu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/math-emu/Makefile')
-rw-r--r--arch/powerpc/math-emu/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/math-emu/Makefile b/arch/powerpc/math-emu/Makefile
index 03aa98dd9f0a..f9e506a735ae 100644
--- a/arch/powerpc/math-emu/Makefile
+++ b/arch/powerpc/math-emu/Makefile
@@ -11,6 +11,8 @@ obj-$(CONFIG_MATH_EMULATION) += fabs.o fadd.o fadds.o fcmpo.o fcmpu.o \
mcrfs.o mffs.o mtfsb0.o mtfsb1.o \
mtfsf.o mtfsfi.o stfiwx.o stfs.o
+obj-$(CONFIG_SPE) += math_efp.o
+
CFLAGS_fabs.o = -fno-builtin-fabs
CFLAGS_math.o = -fno-builtin-fabs