qemu/target/tilegx
Igor Mammedov 12f4572ec3 tilegx: replace cpu_tilegx_init() with cpu_generic_init()
cpu_tilegx_init() always falls back to TYPE_TILEGX_CPU object
regardless of cpu_model. Put fallback logic into
tilegx_cpu_class_by_name() which would translate any cpu_model
into TYPE_TILEGX_CPU class and replace cpu_tilegx_init()
with cpu_generic_init().

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <1503592308-93913-15-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-09-01 11:54:24 -03:00
..
cpu.c tilegx: replace cpu_tilegx_init() with cpu_generic_init() 2017-09-01 11:54:24 -03: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: Pass generic CPUState to gen_intermediate_code() 2017-07-19 14:45:16 -07:00