[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 35/37] target/sparc: Implement MWAIT
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 35/37] target/sparc: Implement MWAIT |
Date: |
Wed, 5 Jun 2024 09:27:01 +0200 |
User-agent: |
Mozilla Thunderbird |
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?
+ */
+ dc->base.is_jmp = DISAS_EXIT;
+}
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
- Re: [PATCH v2 35/37] target/sparc: Implement MWAIT,
Philippe Mathieu-Daudé <=