On 10/18/21 14:47, Song Gao wrote: > This patch add main translation routines and > basic functions for translation. > > Signed-off-by: Song Gao <gaos...@loongson.cn> > Signed-off-by: Xiaojuan Yang <yangxiaoj...@loongson.cn> > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > --- > target/loongarch/helper.h | 9 +++ > target/loongarch/internals.h | 1 - > target/loongarch/op_helper.c | 22 ++++++ > target/loongarch/translate.c | 160 > +++++++++++++++++++++++++++++++++++++++++++ > target/loongarch/translate.h | 27 ++++++++ > 5 files changed, 218 insertions(+), 1 deletion(-) > create mode 100644 target/loongarch/helper.h > create mode 100644 target/loongarch/op_helper.c > create mode 100644 target/loongarch/translate.c > create mode 100644 target/loongarch/translate.h
> diff --git a/target/loongarch/internals.h b/target/loongarch/internals.h > index cfb08df..1052cb6 100644 > --- a/target/loongarch/internals.h > +++ b/target/loongarch/internals.h > @@ -9,7 +9,6 @@ > #ifndef LOONGARCH_INTERNALS_H > #define LOONGARCH_INTERNALS_H > > - > void loongarch_translate_init(void); > > void loongarch_cpu_dump_state(CPUState *cpu, FILE *f, int flags); Remnant from previous patch ;) Not a big deal.