diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2025-05-22 12:34:12 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-06-10 11:29:02 +1000 |
| commit | 1f5ba6998bb1895354f5afcd7bb52d83a02733be (patch) | |
| tree | 71345700615e2d3397e77dc79415c343bdec73fd /py/persistentcode.c | |
| parent | 78ee1bac60a89f13d62395c1f7b6b122e26af98a (diff) | |
py/asmthumb: Extend load/store generators with ARMv7-M opcodes.
This commit lets the Thumb native code generator backend emit ARMv7-M
specific opcodes for indexed load/store operations if possible.
Now T3 opcode encodings are used if the generator backend is configured
to allow emitting ARMv7-M opcodes and if the (unsigned) scaled index
fits in 12 bits. Or, in other words, LDR{B,H}.W and STR{B,H}.W opcodes
are now emitted if possible.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/persistentcode.c')
0 files changed, 0 insertions, 0 deletions
