On 26/5/24 21:42, Richard Henderson wrote:
Signed-off-by: Richard Henderson <[email protected]>
---
target/sparc/insns.decode | 1 +
target/sparc/translate.c | 11 +++++++++++
2 files changed, 12 insertions(+)
+static void do_wrmwait(DisasContext *dc, TCGv src)
+{
+ /*
+ * TODO: This is a stub version of mwait, which merely recognizes
+ * interrupts immediately and does not wait.
If icount is used, do we need to consume some instructions from the budget?
+ */
+ dc->base.is_jmp = DISAS_EXIT;
+}
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>