diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2025-05-07 22:21:30 +0200 |
---|---|---|
committer | Alessandro Gatti <a.gatti@frob.it> | 2025-05-21 01:50:11 +0200 |
commit | 04c6b99cb941cdc00822f17fe530a63639359019 (patch) | |
tree | 637246d9e2f3c2494bd244a11e3a975e1b7607e5 /py/persistentcode.c | |
parent | 1d37caa3679c86ef4fe43d2f9e6ac13074498433 (diff) |
py/emitnative: Improve Viper register-indexed code for Thumb.
This commit lets the Viper code generator use optimised code sequence
for register-indexed load and store operations when generating Thumb
code.
Register-indexed load and store operations for Thumb now can take at
most two machine opcodes for halfword and word values, and just a single
machine opcode for byte values. The original implementation could
generate up to four opcodes in the worst case (dealing with word
values).
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/persistentcode.c')
0 files changed, 0 insertions, 0 deletions