]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: Add SPE/EFP math emulation for E500v1/v2 processors.
authorLiu Yu <yu.liu@freescale.com>
Tue, 28 Oct 2008 03:50:21 +0000 (11:50 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Wed, 3 Dec 2008 14:19:16 +0000 (08:19 -0600)
commit6a800f36acd5bf06b5fe2cb27c4d0524d60c3df5
treefe5611ddb3a92d5609736618aed5eb8d9e65ce7a
parent033b8a333c66e0a7dc63132c1bd65175dc98bc25
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>
arch/powerpc/include/asm/processor.h
arch/powerpc/include/asm/sfp-machine.h
arch/powerpc/kernel/head_fsl_booke.S
arch/powerpc/kernel/traps.c
arch/powerpc/math-emu/Makefile
arch/powerpc/math-emu/math_efp.c [new file with mode: 0644]