summaryrefslogtreecommitdiff
path: root/py/persistentcode.c
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2025-05-07 22:21:30 +0200
committerAlessandro Gatti <a.gatti@frob.it>2025-05-21 01:50:11 +0200
commit04c6b99cb941cdc00822f17fe530a63639359019 (patch)
tree637246d9e2f3c2494bd244a11e3a975e1b7607e5 /py/persistentcode.c
parent1d37caa3679c86ef4fe43d2f9e6ac13074498433 (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