|
From: | Tom Musta |
Subject: | Re: [Qemu-ppc] [Qemu-devel] [PATCH 10/13] Add xxmrgh/xxmrgl |
Date: | Thu, 10 Oct 2013 07:16:18 -0500 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
On 10/9/2013 3:09 PM, Richard Henderson wrote:
Richard: Thanks for the comments. I will rework this to use deposit (and also lxvw4x and xxspltw).On 10/04/2013 06:23 AM, Tom Musta wrote:+ tcg_gen_andi_i64(a0, a0, 0xFFFFFFFF00000000ul); \ + tcg_gen_shli_i64(a1, a1, 32); \ + tcg_gen_shri_i64(b0, b0, 32); \ + tcg_gen_andi_i64(b0, b0, 0x00000000FFFFFFFFul); \ + tcg_gen_andi_i64(b1, b1, 0x00000000FFFFFFFFul); \ + tcg_gen_or_i64(a0, a0, b0); \ + tcg_gen_or_i64(a1, a1, b1); \ + tcg_gen_mov_i64(cpu_vsrh(xT(ctx->opcode)), a0); \ + tcg_gen_mov_i64(cpu_vsrl(xT(ctx->opcode)), a1); \Two deposit operations. r~
[Prev in Thread] | Current Thread | [Next in Thread] |