qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 35/37] target/sparc: Implement MWAIT


From: Richard Henderson
Subject: Re: [PATCH v2 35/37] target/sparc: Implement MWAIT
Date: Wed, 5 Jun 2024 09:11:06 -0700
User-agent: Mozilla Thunderbird

On 6/5/24 02:27, Philippe Mathieu-Daudé wrote:
On 26/5/24 21:42, Richard Henderson wrote:
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
  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?

Pardon?  There's nothing special about this.
One insn will be consumed from the budget.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]