Received: from eggs.gnu.org ([2001:4830:134:3::10]:52661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzlWq-00022W-Ci for qemu-devel@nongnu.org; Thu, 27 Oct 2016 10:19:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzlWl-000518-AT for qemu-devel@nongnu.org; Thu, 27 Oct 2016 10:19:36 -0400 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]:33885) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bzlWl-00050W-4A for qemu-devel@nongnu.org; Thu, 27 Oct 2016 10:19:31 -0400 Received: by mail-pf0-x22f.google.com with SMTP id n85so18632080pfi.1 for ; Thu, 27 Oct 2016 07:19:28 -0700 (PDT) Sender: Richard Henderson References: <1476803431-7208-1-git-send-email-rth@twiddle.net> <1476803431-7208-9-git-send-email-rth@twiddle.net> From: Richard Henderson Message-ID: <9231c276-045c-7053-7cfc-4afff9612d88@twiddle.net> Date: Thu, 27 Oct 2016 07:19:26 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 08/18] tcg/mips: Implement field extraction opcodes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yongbok Kim , qemu-devel@nongnu.org Cc: James Hogan , "aurelien@aurel32.net" On 10/27/2016 06:40 AM, Yongbok Kim wrote: >> > + case INDEX_op_extract_i32: >> > + tcg_out_opc_bf(s, OPC_EXT, a0, a1, a3 + args[3] - 1, a2); > The msbd (5th argument) must be (a2 + args[3] - 1). In fact "a3" isn't defined. > Yes, I eventually caught this typo when I finally got around to the cross-compile. Thanks. r~