summaryrefslogtreecommitdiff
path: root/py/py.cmake
diff options
context:
space:
mode:
authorAlessandro Gatti <a.gatti@frob.it>2024-08-01 21:21:38 +0200
committerDamien George <damien@micropython.org>2024-08-19 15:53:50 +1000
commitda0e027fa5699ce2676568fecba1f55a30344f7b (patch)
tree07aabcc648a2162aef8635ba162ce171b122199f /py/py.cmake
parent326e1149eccc2521527e62be66f1a0ae9f6600d0 (diff)
py/asmrv32: Emit C.LW opcodes only when necessary.
The RV32 emitter sometimes generated short load opcodes even when it was not supposed to. This commit fixes an off-by-one error in its offset eligibility range calculation and corrects one case of offset calculation, operating on the raw label index number rather than its effective offset in the stack (C.LW assumes all loads are word-aligned). Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/py.cmake')
0 files changed, 0 insertions, 0 deletions