[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [RFC PATCH v2 6/9] target/ppc: merge ppc_vsr_t and ppc_av

From: Richard Henderson
Subject: Re: [Qemu-ppc] [RFC PATCH v2 6/9] target/ppc: merge ppc_vsr_t and ppc_avr_t union types
Date: Mon, 17 Dec 2018 08:47:37 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1

On 12/17/18 4:24 AM, Mark Cave-Ayland wrote:
> 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 <address@hidden>
> ---
>  target/ppc/cpu.h        | 17 ++++++++-------
>  target/ppc/int_helper.c | 56 
> +++++++++++++++++++++++++------------------------
>  target/ppc/internal.h   | 11 ----------
>  3 files changed, 39 insertions(+), 45 deletions(-)

Reviewed-by: Richard Henderson <address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]