Hacker News new | ask | show | jobs
by assetlabel 1455 days ago
RISC-V: WFI - WFI (Wait For Interrupt) makes the processor suspend execution (Clock is stopped) until one of the following events take place: An IRQ interrupt. An FIQ interrupt. A Debug Entry request made to the processor.
1 comments

ARM has the same. Apple's CPUs are interesting as they lose most register state on WFI, though there is a chicken bit to disable that behaviour - it's mentioned in one of the Asahi Linux blog posts [0]

[0] - https://asahilinux.org/2021/03/progress-report-january-febru...