2013-07-09 21:18:12 +08:00
|
|
|
/*
|
|
|
|
* linux/arch/arm64/include/asm/neon.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Linaro Ltd <ard.biesheuvel@linaro.org>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
2014-02-24 22:26:29 +08:00
|
|
|
#include <linux/types.h>
|
2016-11-08 21:56:21 +08:00
|
|
|
#include <asm/fpsimd.h>
|
2014-02-24 22:26:29 +08:00
|
|
|
|
2016-11-08 21:56:21 +08:00
|
|
|
#define cpu_has_neon() system_supports_fpsimd()
|
2013-07-09 21:18:12 +08:00
|
|
|
|
2014-02-24 22:26:29 +08:00
|
|
|
#define kernel_neon_begin() kernel_neon_begin_partial(32)
|
|
|
|
|
|
|
|
void kernel_neon_begin_partial(u32 num_regs);
|
2013-07-09 21:18:12 +08:00
|
|
|
void kernel_neon_end(void);
|