qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v3 3/8] plugins: add new inline op STORE_U64


From: Richard Henderson
Subject: Re: [PATCH v3 3/8] plugins: add new inline op STORE_U64
Date: Mon, 25 Mar 2024 09:11:04 -1000
User-agent: Mozilla Thunderbird

On 3/25/24 02:41, Pierrick Bouvier wrote:
@@ -152,6 +152,18 @@ static void gen_inline_add_u64_cb(struct 
qemu_plugin_dyn_cb *cb)
      tcg_temp_free_ptr(ptr);
  }
+static void gen_inline_store_u64_cb(struct qemu_plugin_dyn_cb *cb)
+{
+    TCGv_ptr ptr = gen_plugin_u64_ptr(cb->inline_insn.entry);
+    TCGv_i64 val = tcg_temp_ebb_new_i64();
+
+    tcg_gen_movi_i64(val, cb->inline_insn.imm);

TCGv_i64 val = tcg_constant_i64(cb->inline_insn.imm);

With that,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~



reply via email to

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