qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 5/8] target/ppc: Optimize emulation of vclzd ins


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 5/8] target/ppc: Optimize emulation of vclzd instruction
Date: Thu, 6 Jun 2019 13:26:47 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 6/6/19 5:15 AM, Stefan Brankovic wrote:
> Optimize Altivec instruction vclzd (Vector Count Leading Zeros Doubleword).
> This instruction counts the number of leading zeros of each doubleword element
> in source register and places result in the appropriate doubleword element of
> destination register.
> 
> Using tcg-s count leading zeros instruction two times(once for each
> doubleword element of source register vB) and placing result in
> appropriate doubleword element of destination register vD.
> 
> Signed-off-by: Stefan Brankovic <address@hidden>
> ---
>  target/ppc/translate/vmx-impl.inc.c | 28 +++++++++++++++++++++++++++-
>  1 file changed, 27 insertions(+), 1 deletion(-)

Once the vclzd helper is removed,

Reviewed-by: Richard Henderson <address@hidden>


r~



reply via email to

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