Do RISC-V specs document which instruction combinations they recommend be fused? Sounds like the fused instructions are an implementation detail that must be well-documented for compiler writers to know to emit the magic instruction combinations.
Section 2.4, https://riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2...