aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/neon.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-05-08arm64: add support for kernel mode NEON in interrupt contextArd Biesheuvel1-1/+5
This patch modifies kernel_neon_begin() and kernel_neon_end(), so they may be called from any context. To address the case where only a couple of registers are needed, kernel_neon_begin_partial(u32) is introduced which takes as a parameter the number of bottom 'n' NEON q-registers required. To mark the end of such a partial section, the regular kernel_neon_end() should be used. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2013-08-20arm64: add support for kernel mode NEONArd Biesheuvel1-0/+14
Add <asm/neon.h> containing kernel_neon_begin/kernel_neon_end function declarations and corresponding definitions in fpsimd.c These are needed to wrap uses of NEON in kernel mode. The names are identical to the ones used in arm/ so code using intrinsics or vectorized by GCC can be shared between arm and arm64. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>