Index: src/base/build_config.h |
diff --git a/src/base/build_config.h b/src/base/build_config.h |
index e033134feb4b9a496ce9600f9e64e7983c7325d0..905d7081a9de265557920cc29f41b3a48886122e 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 |