Received: from eggs.gnu.org ([2001:4830:134:3::10]:34670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bpSdF-0007OZ-Ok for qemu-devel@nongnu.org; Thu, 29 Sep 2016 00:07:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bpSdB-0002Cl-Nt for qemu-devel@nongnu.org; Thu, 29 Sep 2016 00:07:37 -0400 Sender: Richard Henderson References: <1475088120-20244-1-git-send-email-nikunj@linux.vnet.ibm.com> <1475088120-20244-4-git-send-email-nikunj@linux.vnet.ibm.com> <20160929015325.GD8390@umbus.fritz.box> From: Richard Henderson Message-ID: <6091f535-61a5-32c5-eeb8-677bbca20c85@twiddle.net> Date: Wed, 28 Sep 2016 21:07:30 -0700 MIME-Version: 1.0 In-Reply-To: <20160929015325.GD8390@umbus.fritz.box> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v5 3/9] target-ppc: Implement mtvsrws instruction List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gibson Cc: Nikunj A Dadhania , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, benh@kernel.crashing.org, Ravi Bangoria On 09/28/2016 06:53 PM, David Gibson wrote: > On Wed, Sep 28, 2016 at 01:21:00PM -0700, Richard Henderson wrote: >> On 09/28/2016 11:41 AM, Nikunj A Dadhania wrote: >>> + tcg_gen_mov_i64(t0, cpu_gpr[rA(ctx->opcode)]); >>> + tcg_gen_deposit_i64(cpu_vsrl(xT(ctx->opcode)), t0, t0, 32, 32); >> >> Why are you using t0? > > Richard, I don't quite understand your question. There's no need for the copy into t0 -- just put rA into those two arguments. r~