Re: [PATCH 09/84] tcg: Reduce copies for plugin_gen_mem_callbacks

2023-05-11 Thread Alex Bennée
Richard Henderson writes: > We only need to make copies for loads, when the destination > overlaps the address. For now, only eliminate the copy for > stores and 128-bit loads. > > Rename plugin_prep_mem_callbacks to plugin_maybe_preserve_addr, > returning NULL if no copy is made. > > Signed-o

[PATCH 09/84] tcg: Reduce copies for plugin_gen_mem_callbacks

2023-05-03 Thread Richard Henderson
We only need to make copies for loads, when the destination overlaps the address. For now, only eliminate the copy for stores and 128-bit loads. Rename plugin_prep_mem_callbacks to plugin_maybe_preserve_addr, returning NULL if no copy is made. Signed-off-by: Richard Henderson --- tcg/tcg-op-ld

[PATCH 09/84] tcg: Reduce copies for plugin_gen_mem_callbacks

2023-05-03 Thread Richard Henderson
We only need to make copies for loads, when the destination overlaps the address. For now, only eliminate the copy for stores and 128-bit loads. Rename plugin_prep_mem_callbacks to plugin_maybe_preserve_addr, returning NULL if no copy is made. Signed-off-by: Richard Henderson --- tcg/tcg-op-ld