summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/arm/rtems/score/arm.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/cpu/arm/rtems/score/arm.h')
-rw-r--r--cpukit/score/cpu/arm/rtems/score/arm.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/cpukit/score/cpu/arm/rtems/score/arm.h b/cpukit/score/cpu/arm/rtems/score/arm.h
index 91999b32ea..fb0f98e4e8 100644
--- a/cpukit/score/cpu/arm/rtems/score/arm.h
+++ b/cpukit/score/cpu/arm/rtems/score/arm.h
@@ -37,15 +37,12 @@ extern "C" {
#define ARM_MULTILIB_ARCH_V4
#endif
-/* All ARM CPUs are assumed to not have floating point units */
-#if defined(__SOFTFP__)
-#define ARM_HAS_FPU 0
-#else
-#define ARM_HAS_FPU 1
-#warning "FPU-support not yet implemented for the arm"
+#if defined(__ARM_NEON__)
+ #define ARM_MULTILIB_VFP_D32
+#elif !defined(__SOFTFP__)
+ #error "FPU support not implemented"
#endif
-
/*
* Define the name of the CPU family.
*/