]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/platform-bionic.git/commitdiff
Code using neon uses ARCH_ARM_HAVE_NEON.
authorElliott Hughes <enh@google.com>
Thu, 4 Dec 2014 01:41:26 +0000 (17:41 -0800)
committerElliott Hughes <enh@google.com>
Thu, 4 Dec 2014 01:41:26 +0000 (17:41 -0800)
Bug: 18556103
Change-Id: Ia8674dda223f81d616d15ee47b402ab4a3f98079

libc/arch-arm/include/machine/cpu-features.h

index bf9a75d343f5f3baf53ff3d038ed516ab223f094..fc8c80dc749c50ad65b20ad0ea5776688abc7c0b 100644 (file)
 #ifndef _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
  * we're going to support. Our toolchain doesn't define __ARM_ARCH__
  * so try to guess it.
 #  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 */