qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 24/60] AArch64: Add SIMD ushll instruction emula


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 24/60] AArch64: Add SIMD ushll instruction emulation
Date: Fri, 27 Sep 2013 12:29:43 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 09/26/2013 05:48 PM, Alexander Graf wrote:
> +    for (i = 0; i < (8 / ebytes); i++) {
> +        simd_ld(tcg_tmp, freg_offs_n + (i * ebytes), size);
> +        tcg_gen_shli_i64(tcg_tmp, tcg_tmp, shift);
> +        simd_st(tcg_tmp, freg_offs_d + (i * ebytes * 2), size + 1);
> +    }

Are we really going to open-code all of the simd insns?

If so, then it makes me wonder if we ought to handle them as tcg registers
instead of continually loading and storing into the backing storage.


r~



reply via email to

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