am 230005c4: Merge "Code using neon uses ARCH_ARM_HAVE_NEON."
* commit '230005c4bd3910ef974694f88d04e6f6a5a540b4': Code using neon uses ARCH_ARM_HAVE_NEON.
This commit is contained in:
commit
18a470e435
@ -28,14 +28,6 @@
|
|||||||
#ifndef _ARM_MACHINE_CPU_FEATURES_H
|
#ifndef _ARM_MACHINE_CPU_FEATURES_H
|
||||||
#define _ARM_MACHINE_CPU_FEATURES_H
|
#define _ARM_MACHINE_CPU_FEATURES_H
|
||||||
|
|
||||||
/* The purpose of this file is to define several macros corresponding
|
|
||||||
* to CPU features that may or may not be available at build time on
|
|
||||||
* on the target CPU.
|
|
||||||
*
|
|
||||||
* This is done to abstract us from the various ARM Architecture
|
|
||||||
* quirks and alphabet soup.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* __ARM_ARCH__ is a number corresponding to the ARM revision
|
/* __ARM_ARCH__ is a number corresponding to the ARM revision
|
||||||
* we're going to support. Our toolchain doesn't define __ARM_ARCH__
|
* we're going to support. Our toolchain doesn't define __ARM_ARCH__
|
||||||
* so try to guess it.
|
* so try to guess it.
|
||||||
@ -53,12 +45,4 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* define _ARM_HAVE_NEON for ARMv7 architecture if we support the
|
|
||||||
* Neon SIMD instruction set extensions. This also implies
|
|
||||||
* that VFPv3-D32 is supported.
|
|
||||||
*/
|
|
||||||
#if __ARM_ARCH__ >= 7 && defined __ARM_NEON__
|
|
||||||
# define __ARM_HAVE_NEON
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _ARM_MACHINE_CPU_FEATURES_H */
|
#endif /* _ARM_MACHINE_CPU_FEATURES_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user