commit | eb9d02f24b1ce877a60ffaf6cc1ecc8484740b37 | [log] [tgz] |
---|---|---|
author | Richard Henderson <richard.henderson@linaro.org> | Fri Mar 10 07:56:42 2023 -0800 |
committer | Richard Henderson <richard.henderson@linaro.org> | Tue May 16 16:30:29 2023 -0700 |
tree | f02ece05535570aa126b31dae857ab3440700cb5 | |
parent | b6d9164518b377bf77a6962f1a8bcc8cf6c085f1 [diff] |
tcg: Reduce copies for plugin_gen_mem_callbacks 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. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>