afonso360 opened PR #6959 from afonso360:riscv-canonical-mov
to bytecodealliance:main
:
:wave: Hey,
The canonical move instruction on RISC-V is
addi rd, rs, 0
, however we currently emitori ...
which while it achieves the same thing is technically not optimal as some processors may miss the renaming opportunity. It also disassembles better.This seems to be a leftover of the AArch64 port that does use
or
as it's move instruction.
afonso360 requested fitzgen for a review on PR #6959.
afonso360 requested wasmtime-compiler-reviewers for a review on PR #6959.
elliottt submitted PR review:
The disassembly is much nicer, thanks Afonso!
afonso360 merged PR #6959.
Last updated: Nov 22 2024 at 16:03 UTC