target/ppc: merge ppc_vsr_t and ppc_avr_t union types
commit05ee3e8aa0c0178e98c9a05755359e382f56ce87
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 2 Jan 2019 09:14:21 +0000 (2 09:14 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 8 Jan 2019 22:28:14 +0000 (9 09:28 +1100)
treea5fae6f659b598758d051f259b0673c5b436328b
parent7329fb6240c689648ad89b71250411b4e46f6de7
target/ppc: merge ppc_vsr_t and ppc_avr_t union types

Since the VSX registers are actually a superset of the VMX registers then they
can be represented by the same type. Merge ppc_avr_t into ppc_vsr_t and change
ppc_avr_t to be a simple typedef alias.

Note that due to a difference in the naming of the float32 member between
ppc_avr_t and ppc_vsr_t, references to the ppc_avr_t f member must be replaced
with f32 instead.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/cpu.h
target/ppc/int_helper.c
target/ppc/internal.h