From 83d27b0f0bad6a5138d0a0984a9de16e34b93c76 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Sun, 14 Dec 2014 03:24:17 +0200 Subject: [PATCH] unix: Enable Thumb2 and ARM emitters by default on corresponding archs. --- unix/mpconfigport.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 51d100b722..4ed25d144f 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)