xemu/target/tilegx
Richard Henderson 1c2adb958f tcg: Initialize cpu_env generically
This is identical for each target.  So, move the initialization to
common code.  Move the variable itself out of tcg_ctx and name it
cpu_env to minimize changes within targets.

This also means we can remove tcg_global_reg_new_{ptr,i32,i64},
since there are no longer global-register temps created by targets.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2017-10-24 13:53:42 -07:00
..
cpu.c qom: Introduce CPUClass.tcg_initialize 2017-10-24 22:00:13 +02:00
cpu.h tilegx: replace cpu_tilegx_init() with cpu_generic_init() 2017-09-01 11:54:24 -03:00
helper.c target-tilegx: Use ctpop helper 2017-01-10 08:49:59 -08:00
helper.h target-tilegx: Use ctpop helper 2017-01-10 08:49:59 -08:00
Makefile.objs Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
opcode_tilegx.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
simd_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
spr_def_64.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
translate.c tcg: Initialize cpu_env generically 2017-10-24 13:53:42 -07:00