diff options
| author | Alessandro Gatti <a.gatti@frob.it> | 2025-01-24 00:20:39 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-01-26 23:42:36 +1100 |
| commit | 40585eaa8f1b603f0094b73764e8ce5623812ecf (patch) | |
| tree | bb6e210d652e9184ab02720697b063b2a9f56661 /py/objfloat.c | |
| parent | bfc0d7b0b97cbf52db892775b0f371dd06d2ba08 (diff) | |
py/emitnative: Emit shorter exception handler entry code on RV32.
This commit improves the RV32 code sequence that is emitted if a
function needs to set up an exception handler as its prologue.
The old code would clear a temporary register and then copy that value
to places that needed to be initialised with zero values. On RV32
there's a dedicated register that's hardwired to be equal to zero, which
allows us to bypass the extra register clear and use the zero register
to initialise values.
Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
Diffstat (limited to 'py/objfloat.c')
0 files changed, 0 insertions, 0 deletions
