diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-12-09 13:17:49 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-12-09 17:06:21 +1100 |
| commit | ad297a1950c74c35c90dd655ae9a69d33ed28dc0 (patch) | |
| tree | 91deea064af391e5dcfadf76e584a48e57da09d2 /py/mpconfig.h | |
| parent | 45a6156dfd327f14f58c30ebf9159a92a5567ed5 (diff) | |
py: Allow inline-assembler emitter to be generic.
This patch refactors some code so that it is easier to integrate new
inline assemblers for different architectures other than ARM Thumb.
Diffstat (limited to 'py/mpconfig.h')
| -rw-r--r-- | py/mpconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 15f770573..5234cc7f9 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -296,6 +296,9 @@ // Convenience definition for whether any native emitter is enabled #define MICROPY_EMIT_NATIVE (MICROPY_EMIT_X64 || MICROPY_EMIT_X86 || MICROPY_EMIT_THUMB || MICROPY_EMIT_ARM || MICROPY_EMIT_XTENSA) +// Convenience definition for whether any inline assembler emitter is enabled +#define MICROPY_EMIT_INLINE_ASM (MICROPY_EMIT_INLINE_THUMB) + /*****************************************************************************/ /* Compiler configuration */ |
