Index: src/base/build_config.h |
diff --git a/src/base/build_config.h b/src/base/build_config.h |
index e033134feb4b9a496ce9600f9e64e7983c7325d0..599e2efa0bfffbe60e51c9afd69b219ab9bcb18e 100644 |
--- a/src/base/build_config.h |
+++ b/src/base/build_config.h |
@@ -55,13 +55,21 @@ |
defined(__ARM_ARCH_7R__) || \ |
defined(__ARM_ARCH_7__) |
# define CAN_USE_ARMV7_INSTRUCTIONS 1 |
+#ifdef __ARM_ARCH_EXT_IDIV__ |
+#define CAN_USE_SUDIV 1 |
+#endif |
# ifndef CAN_USE_VFP3_INSTRUCTIONS |
-# define CAN_USE_VFP3_INSTRUCTIONS |
+#define CAN_USE_VFP3_INSTRUCTIONS 1 |
# endif |
#endif |
#if defined(__ARM_ARCH_8A__) |
+#define CAN_USE_ARMV7_INSTRUCTIONS 1 |
+#define CAN_USE_SUDIV 1 |
# define CAN_USE_ARMV8_INSTRUCTIONS 1 |
+#ifndef CAN_USE_VFP3_INSTRUCTIONS |
+#define CAN_USE_VFP3_INSTRUCTIONS 1 |
+#endif |
#endif |