arm64: Floating point and SIMD
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 5 Mar 2012 11:49:32 +0000 (11:49 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 17 Sep 2012 12:42:13 +0000 (13:42 +0100)
commit53631b54c8704fe5de435582c82ddbc0bfabf06a
tree3bca49152b4e2eeaf7a96f2405ed963ce17da1e5
parent3dd681d944f6d861f12ee03aff17a14342963330
arm64: Floating point and SIMD

This patch adds support for FP/ASIMD register bank saving and restoring
during context switch and FP exception handling to generate SIGFPE.
There are 32 128-bit registers and the context switching is currently
done non-lazily. Benchmarks on real hardware are required before
implementing lazy FP state saving/restoring.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm64/include/asm/fpsimd.h [new file with mode: 0644]
arch/arm64/kernel/entry-fpsimd.S [new file with mode: 0644]
arch/arm64/kernel/fpsimd.c [new file with mode: 0644]