#RISCV "Wait for Interrupt instruction (WFI) provides a hint to the implementation that the current hart can be stalled until an interrupt ... so a legal implementation is to simply implement WFI as a NOP" 🤔
Source: https://github.com/riscv/riscv-isa-manual/releases/download/Priv-v1.12/riscv-privileged-20211203.pdf
@freemo @lupyuen It makes more sense when I look at an RTOS. It also makes sense why it's in the Privileged category.
A few NOPs exist in RISC-V but it's rather clever that WFI would be used instead of NOP. It should allow time sensitive operations to run as soon as they become ready.