diff options
author | Damien George <damien.p.george@gmail.com> | 2014-09-06 23:06:36 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-09-06 23:06:36 +0100 |
commit | c90f59ec3a4c77848f36c710ed4ab8d55a944a0c (patch) | |
tree | afa66e5e0feb34232212f676c1a85ee9b132ddbc /unix/mpconfigport.h | |
parent | 33b50a02176bcf4f7114498f9925003808d6e53f (diff) | |
download | micropython-c90f59ec3a4c77848f36c710ed4ab8d55a944a0c.tar.gz micropython-c90f59ec3a4c77848f36c710ed4ab8d55a944a0c.zip |
py: Add support for emitting native x86 machine code.
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r-- | unix/mpconfigport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h index 1a57eb2511..38da3fcbcb 100644 --- a/unix/mpconfigport.h +++ b/unix/mpconfigport.h @@ -30,6 +30,9 @@ #if !defined(MICROPY_EMIT_X64) && defined(__x86_64__) #define MICROPY_EMIT_X64 (1) #endif +#if !defined(MICROPY_EMIT_X86) && defined(__i386__) + #define MICROPY_EMIT_X86 (1) +#endif #define MICROPY_EMIT_THUMB (0) #define MICROPY_EMIT_INLINE_THUMB (0) #define MICROPY_ENABLE_GC (1) |