diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2024-08-01 21:21:38 +0200 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-08-19 15:53:50 +1000 |
| commit | da0e027fa5699ce2676568fecba1f55a30344f7b (patch) | |
| tree | 07aabcc648a2162aef8635ba162ce171b122199f /py/objproperty.c | |
| parent | 326e1149eccc2521527e62be66f1a0ae9f6600d0 (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/objproperty.c')
0 files changed, 0 insertions, 0 deletions
