diff options
| author | Damien George <damien@micropython.org> | 2022-05-23 17:57:33 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-05-23 23:01:12 +1000 |
| commit | a5324a10747dfba921bb363ed904f05ebb6de010 (patch) | |
| tree | 60ef9db94c0da2a12faa3c8a6ae233a859cc31ab /py/emitnarm.c | |
| parent | 7d3204783a3550ab8a5a848901e0e512d54a4163 (diff) | |
py/asmthumb: Make ARMv7-M instruction use dynamically selectable.
This commit adjusts the asm_thumb_xxx functions so they can be dynamically
configured to use ARMv7-M instructions or not. This is available when
MICROPY_DYNAMIC_COMPILER is enabled, and then controlled by the value of
mp_dynamic_compiler.native_arch.
If MICROPY_DYNAMIC_COMPILER is disabled the previous behaviour is retained:
the functions emit ARMv7-M instructions only if MICROPY_EMIT_THUMB_ARMV7M
is enabled.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/emitnarm.c')
0 files changed, 0 insertions, 0 deletions
