qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/20] Rewrite plugin code generation
@ 2024-04-24 23:02 Richard Henderson
  2024-04-24 23:02 ` [PATCH v3 01/20] tcg: Make tcg/helper-info.h self-contained Richard Henderson
                   ` (19 more replies)
  0 siblings, 20 replies; 26+ messages in thread
From: Richard Henderson @ 2024-04-24 23:02 UTC (permalink / raw)
  To: qemu-devel

Patches 6 & 7 still lack review.
Changes for v3:
  - Rebase.

r~


Richard Henderson (20):
  tcg: Make tcg/helper-info.h self-contained
  tcg: Pass function pointer to tcg_gen_call*
  plugins: Zero new qemu_plugin_dyn_cb entries
  plugins: Move function pointer in qemu_plugin_dyn_cb
  plugins: Create TCGHelperInfo for all out-of-line callbacks
  plugins: Use emit_before_op for PLUGIN_GEN_AFTER_INSN
  plugins: Use emit_before_op for PLUGIN_GEN_FROM_TB
  plugins: Add PLUGIN_GEN_AFTER_TB
  plugins: Use emit_before_op for PLUGIN_GEN_FROM_INSN
  plugins: Use emit_before_op for PLUGIN_GEN_FROM_MEM
  plugins: Remove plugin helpers
  tcg: Remove TCG_CALL_PLUGIN
  tcg: Remove INDEX_op_plugin_cb_{start,end}
  plugins: Simplify callback queues
  plugins: Introduce PLUGIN_CB_MEM_REGULAR
  plugins: Replace pr_ops with a proper debug dump flag
  plugins: Split out common cb expanders
  plugins: Merge qemu_plugin_tb_insn_get to plugin-gen.c
  plugins: Inline plugin_gen_empty_callback
  plugins: Update the documentation block for plugin-gen.c

 accel/tcg/plugin-helpers.h         |    5 -
 include/exec/helper-gen-common.h   |    4 -
 include/exec/helper-proto-common.h |    4 -
 include/exec/plugin-gen.h          |    4 -
 include/qemu/log.h                 |    1 +
 include/qemu/plugin.h              |   67 +-
 include/tcg/helper-info.h          |    3 +
 include/tcg/tcg-op-common.h        |    4 +-
 include/tcg/tcg-opc.h              |    4 +-
 include/tcg/tcg.h                  |   26 +-
 include/exec/helper-gen.h.inc      |   24 +-
 accel/tcg/plugin-gen.c             | 1007 +++++++---------------------
 plugins/api.c                      |   26 +-
 plugins/core.c                     |   61 +-
 tcg/tcg-op-ldst.c                  |    6 +-
 tcg/tcg-op.c                       |    8 +-
 tcg/tcg.c                          |   78 ++-
 tcg/tci.c                          |    1 +
 util/log.c                         |    4 +
 19 files changed, 399 insertions(+), 938 deletions(-)
 delete mode 100644 accel/tcg/plugin-helpers.h

-- 
2.34.1



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2024-04-29 19:57 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-24 23:02 [PATCH v3 00/20] Rewrite plugin code generation Richard Henderson
2024-04-24 23:02 ` [PATCH v3 01/20] tcg: Make tcg/helper-info.h self-contained Richard Henderson
2024-04-29 10:57   ` Philippe Mathieu-Daudé
2024-04-24 23:02 ` [PATCH v3 02/20] tcg: Pass function pointer to tcg_gen_call* Richard Henderson
2024-04-29 11:00   ` Philippe Mathieu-Daudé
2024-04-24 23:02 ` [PATCH v3 03/20] plugins: Zero new qemu_plugin_dyn_cb entries Richard Henderson
2024-04-24 23:02 ` [PATCH v3 04/20] plugins: Move function pointer in qemu_plugin_dyn_cb Richard Henderson
2024-04-29 10:58   ` Philippe Mathieu-Daudé
2024-04-24 23:02 ` [PATCH v3 05/20] plugins: Create TCGHelperInfo for all out-of-line callbacks Richard Henderson
2024-04-24 23:02 ` [PATCH v3 06/20] plugins: Use emit_before_op for PLUGIN_GEN_AFTER_INSN Richard Henderson
2024-04-29 19:56   ` Pierrick Bouvier
2024-04-24 23:02 ` [PATCH v3 07/20] plugins: Use emit_before_op for PLUGIN_GEN_FROM_TB Richard Henderson
2024-04-29 19:57   ` Pierrick Bouvier
2024-04-24 23:02 ` [PATCH v3 08/20] plugins: Add PLUGIN_GEN_AFTER_TB Richard Henderson
2024-04-24 23:02 ` [PATCH v3 09/20] plugins: Use emit_before_op for PLUGIN_GEN_FROM_INSN Richard Henderson
2024-04-24 23:02 ` [PATCH v3 10/20] plugins: Use emit_before_op for PLUGIN_GEN_FROM_MEM Richard Henderson
2024-04-24 23:02 ` [PATCH v3 11/20] plugins: Remove plugin helpers Richard Henderson
2024-04-24 23:02 ` [PATCH v3 12/20] tcg: Remove TCG_CALL_PLUGIN Richard Henderson
2024-04-24 23:02 ` [PATCH v3 13/20] tcg: Remove INDEX_op_plugin_cb_{start,end} Richard Henderson
2024-04-24 23:02 ` [PATCH v3 14/20] plugins: Simplify callback queues Richard Henderson
2024-04-24 23:02 ` [PATCH v3 15/20] plugins: Introduce PLUGIN_CB_MEM_REGULAR Richard Henderson
2024-04-24 23:02 ` [PATCH v3 16/20] plugins: Replace pr_ops with a proper debug dump flag Richard Henderson
2024-04-24 23:02 ` [PATCH v3 17/20] plugins: Split out common cb expanders Richard Henderson
2024-04-24 23:02 ` [PATCH v3 18/20] plugins: Merge qemu_plugin_tb_insn_get to plugin-gen.c Richard Henderson
2024-04-24 23:02 ` [PATCH v3 19/20] plugins: Inline plugin_gen_empty_callback Richard Henderson
2024-04-24 23:02 ` [PATCH v3 20/20] plugins: Update the documentation block for plugin-gen.c Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).