diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2024-06-25 15:45:13 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2024-07-01 11:36:03 +1000 |
commit | 0600e4f27333092884358c967123dcc040d7a1cc (patch) | |
tree | 6f553ad86e19e0282c2322f55deb47a0dfefc9af /docs/esp8266/tutorial/repl.rst | |
parent | 0e261443be9a9201fd786b54aa2d0198f21543f7 (diff) | |
download | micropython-0600e4f27333092884358c967123dcc040d7a1cc.tar.gz micropython-0600e4f27333092884358c967123dcc040d7a1cc.zip |
py/asmrv32: Make some code sequences smaller.
This commit changes a few code sequences to use more compressed opcodes
where possible. The sequences in question are the ones that show up the
most in the test suite and require the least amount of code changes, namely
short offset loads from memory to RET/ARG registers, indirect calls through
the function table, register-based jumps, locals' offset calculation,
reg-is-null jumps, and register comparisons.
There are no speed losses or gains from these changes, but there is an
average 15-20% generated code size reduction.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'docs/esp8266/tutorial/repl.rst')
0 files changed, 0 insertions, 0 deletions