aboutsummaryrefslogtreecommitdiff
path: root/frontend/cspace_neon.S
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/cspace_neon.S')
-rw-r--r--frontend/cspace_neon.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/cspace_neon.S b/frontend/cspace_neon.S
index e7b48a9..7420585 100644
--- a/frontend/cspace_neon.S
+++ b/frontend/cspace_neon.S
@@ -10,6 +10,12 @@
#include "arm_features.h"
+/* sanity check */
+#ifndef __ARM_NEON__
+#error Compiling NEON code, but appropriate preprocessor flag is missing
+#error This usually means -mfpu=neon or -mfloat-abi= is not correctly specified
+#endif
+
.text
.align 2