diff options
author | Alessandro Gatti <a.gatti@frob.it> | 2025-07-10 00:50:15 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-08-11 22:31:13 +1000 |
commit | 0ee3f99da24e678a415a1d0b4575c38ad51430fe (patch) | |
tree | 9ff9c116d3f89bc4934793e7d33a972409dbf25d /tests/import/import_pkg6.py | |
parent | b1d5c656de3f11fc1729f165c8d9709594ccbfb6 (diff) |
py/asmrv32: Make lt/le comparisons emitter shorter.HEADorigin/masterorigin/HEADmaster
This commit simplifies the emitter code in charge of generating opcodes
performing less-than and less-than-or-equal comparisons.
By rewriting the SLT/SLTU opcode generator (handling less-than
comparisons) and de-inlining the less-than comparison generator call in
the less-than-or-equal generator, the output binary is ~80 bytes smaller
(measurements taken from the QEMU port).
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'tests/import/import_pkg6.py')
0 files changed, 0 insertions, 0 deletions