diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-03-10 07:56:42 -0800 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-05-16 16:30:29 -0700 |
commit | eb9d02f24b1ce877a60ffaf6cc1ecc8484740b37 (patch) | |
tree | f02ece05535570aa126b31dae857ab3440700cb5 /qapi/qapi-util.c | |
parent | b6d9164518b377bf77a6962f1a8bcc8cf6c085f1 (diff) | |
download | qemu-eb9d02f24b1ce877a60ffaf6cc1ecc8484740b37.zip qemu-eb9d02f24b1ce877a60ffaf6cc1ecc8484740b37.tar.gz qemu-eb9d02f24b1ce877a60ffaf6cc1ecc8484740b37.tar.bz2 |
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>
Diffstat (limited to 'qapi/qapi-util.c')
0 files changed, 0 insertions, 0 deletions