On Mon, Dec 14, 2020 at 6:02 AM Richard Henderson <richard.hender...@linaro.org> wrote: > > Add two helper functions, using a global variable to hold > the displacement. The displacement is currently always 0, > so no change in behaviour. > > Begin using the functions in tcg common code only. > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > accel/tcg/tcg-runtime.h | 2 +- > include/disas/disas.h | 2 +- > include/exec/exec-all.h | 2 +- > include/exec/log.h | 2 +- > include/tcg/tcg.h | 26 ++++++++++++++---- > accel/tcg/cpu-exec.c | 2 +- > accel/tcg/tcg-runtime.c | 2 +- > accel/tcg/translate-all.c | 33 +++++++++++------------ > disas.c | 4 ++- > tcg/tcg.c | 56 ++++++++++++++++++++++++++++++++++----- > tcg/tci.c | 5 ++-- > accel/tcg/trace-events | 2 +- > tcg/tcg-pool.c.inc | 6 ++++- > 13 files changed, 104 insertions(+), 40 deletions(-)
Reviewed-by: Joelle van Dyne <j...@getutm.app>