diff options
| author | Damien George | 2019-02-21 15:19:24 +1100 |
|---|---|---|
| committer | Damien George | 2019-03-08 16:51:04 +1100 |
| commit | 31d2d83e79828552363732e0a118a6e61d8c196b (patch) | |
| tree | 589d7618fe07fd9281ec6ac755252398583be7f3 /mpy-cross | |
| parent | 7852b287df0d012f8600dc7d3e6f352fb5925a88 (diff) | |
mpy-cross: Enable building of x64 native .mpy files.
Diffstat (limited to 'mpy-cross')
| -rw-r--r-- | mpy-cross/gccollect.c | 3 | ||||
| -rw-r--r-- | mpy-cross/mpconfigport.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/mpy-cross/gccollect.c b/mpy-cross/gccollect.c index 75891a2fb..9e4b59d9e 100644 --- a/mpy-cross/gccollect.c +++ b/mpy-cross/gccollect.c @@ -143,9 +143,6 @@ void gc_collect(void) { // GC stack (and regs because we captured them) void **regs_ptr = (void**)(void*)®s; gc_collect_root(regs_ptr, ((mp_uint_t)MP_STATE_THREAD(stack_top) - (mp_uint_t)®s) / sizeof(mp_uint_t)); - #if MICROPY_EMIT_NATIVE - mp_unix_mark_exec(); - #endif gc_collect_end(); } diff --git a/mpy-cross/mpconfigport.h b/mpy-cross/mpconfigport.h index e227d1be5..21ddfcf6a 100644 --- a/mpy-cross/mpconfigport.h +++ b/mpy-cross/mpconfigport.h @@ -30,13 +30,15 @@ #define MICROPY_PERSISTENT_CODE_LOAD (0) #define MICROPY_PERSISTENT_CODE_SAVE (1) -#define MICROPY_EMIT_X64 (0) +#define MICROPY_EMIT_X64 (1) #define MICROPY_EMIT_X86 (0) #define MICROPY_EMIT_THUMB (0) #define MICROPY_EMIT_INLINE_THUMB (0) #define MICROPY_EMIT_INLINE_THUMB_ARMV7M (0) #define MICROPY_EMIT_INLINE_THUMB_FLOAT (0) #define MICROPY_EMIT_ARM (0) +#define MICROPY_EMIT_XTENSA (0) +#define MICROPY_EMIT_INLINE_XTENSA (0) #define MICROPY_DYNAMIC_COMPILER (1) #define MICROPY_COMP_CONST_FOLDING (1) |
