summary refs log tree commit diff stats
path: root/include/tcg/tcg-op-common.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-03-14 13:02:32 -1000
committerRichard Henderson <richard.henderson@linaro.org>2024-04-30 16:12:05 -0700
commit8a2927f290fb6c3ba51dfd6465e4ea51a3c9e1a0 (patch)
tree827b09c42792b612d9a9e518c37bf1f15e939a6f /include/tcg/tcg-op-common.h
parentac977170bf1e89fce25197ad54f04d9ec1f6a2b6 (diff)
downloadfocaccia-qemu-8a2927f290fb6c3ba51dfd6465e4ea51a3c9e1a0.tar.gz
focaccia-qemu-8a2927f290fb6c3ba51dfd6465e4ea51a3c9e1a0.zip
plugins: Use emit_before_op for PLUGIN_GEN_FROM_MEM
Introduce a new plugin_mem_cb op to hold the address temp
and meminfo computed by tcg-op-ldst.c.  Because this now
has its own opcode, we no longer need PLUGIN_GEN_FROM_MEM.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/tcg/tcg-op-common.h')
-rw-r--r--include/tcg/tcg-op-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tcg/tcg-op-common.h b/include/tcg/tcg-op-common.h
index 9de5a7f280..72b80b20d0 100644
--- a/include/tcg/tcg-op-common.h
+++ b/include/tcg/tcg-op-common.h
@@ -75,6 +75,7 @@ void tcg_gen_goto_tb(unsigned idx);
 void tcg_gen_lookup_and_goto_ptr(void);
 
 void tcg_gen_plugin_cb(unsigned from);
+void tcg_gen_plugin_mem_cb(TCGv_i64 addr, unsigned meminfo);
 void tcg_gen_plugin_cb_start(unsigned from, unsigned type, unsigned wr);
 void tcg_gen_plugin_cb_end(void);