alpha: cleanup cpu type name composition
commit73a25e8340a2d86cb86b202c331fd1d6591256ab
authorIgor Mammedov <imammedo@redhat.com>
Thu, 5 Oct 2017 13:50:38 +0000 (5 15:50 +0200)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 27 Oct 2017 14:03:53 +0000 (27 16:03 +0200)
treeb6782e3e4e03768d9505e0729512bc9817bfbfdc
parent74d7fc7f6385158b8a5c524c61baaef1b66f3dac
alpha: cleanup cpu type name composition

Introduce ALPHA_CPU_TYPE_NAME macro to replace rather ununique
TYPE macro that alpha uses. With new macro it will follow
the same naming convention as other targets.

While at it put scattered TypeInfo into one array which places
type desriptions at one place and reduces code a bit.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Acked-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <1507211474-188400-5-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
target/alpha/cpu.c
target/alpha/cpu.h