From 1309dcc842e3057336d70175e658dea51df3adc4 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 3 Dec 2014 17:41:26 -0800 Subject: [PATCH] Code using neon uses ARCH_ARM_HAVE_NEON. Bug: 18556103 Change-Id: Ia8674dda223f81d616d15ee47b402ab4a3f98079 --- libc/arch-arm/include/machine/cpu-features.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/libc/arch-arm/include/machine/cpu-features.h b/libc/arch-arm/include/machine/cpu-features.h index bf9a75d34..fc8c80dc7 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 */