summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-12-14 03:24:17 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-12-14 03:24:17 +0200
commit83d27b0f0bad6a5138d0a0984a9de16e34b93c76 (patch)
tree82e53d7b1dccf2dd9baea1462ffb703b13b2e466
parent138562ccd975dbccd189c1221349ca2fc1e0fda9 (diff)
unix: Enable Thumb2 and ARM emitters by default on corresponding archs.
-rw-r--r--unix/mpconfigport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 51d100b72..4ed25d144 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -33,6 +33,12 @@
#if !defined(MICROPY_EMIT_X86) && defined(__i386__)
#define MICROPY_EMIT_X86 (1)
#endif
+#if !defined(MICROPY_EMIT_THUMB) && defined(__thumb2__)
+ #define MICROPY_EMIT_THUMB (1)
+#endif
+#if !defined(MICROPY_EMIT_ARM) && defined(__arm__)
+ #define MICROPY_EMIT_ARM (1)
+#endif
#define MICROPY_ENABLE_GC (1)
#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_MEM_STATS (1)