diff options
author | Elliott Hughes <enh@google.com> | 2014-12-04 01:45:54 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-12-04 01:45:54 +0000 |
commit | 230005c4bd3910ef974694f88d04e6f6a5a540b4 (patch) | |
tree | a2106d2b4cba9f87ef27486b8af1814efa6725d3 | |
parent | a18af83bc1bab330f2558451ffcd61bb31b8f147 (diff) | |
parent | 1309dcc842e3057336d70175e658dea51df3adc4 (diff) | |
download | bionic-230005c4bd3910ef974694f88d04e6f6a5a540b4.zip bionic-230005c4bd3910ef974694f88d04e6f6a5a540b4.tar.gz bionic-230005c4bd3910ef974694f88d04e6f6a5a540b4.tar.bz2 |
Merge "Code using neon uses ARCH_ARM_HAVE_NEON."
-rw-r--r-- | libc/arch-arm/include/machine/cpu-features.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libc/arch-arm/include/machine/cpu-features.h b/libc/arch-arm/include/machine/cpu-features.h index bf9a75d..fc8c80d 100644 --- a/libc/arch-arm/include/machine/cpu-features.h +++ b/libc/arch-arm/include/machine/cpu-features.h @@ -28,14 +28,6 @@ #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. @@ -53,12 +45,4 @@ # 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 */ |