From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gXag5-0004Ur-O4 for qemu-devel@nongnu.org; Thu, 13 Dec 2018 18:46:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gXag1-000824-4z for qemu-devel@nongnu.org; Thu, 13 Dec 2018 18:46:01 -0500 Received: from mail-ot1-x344.google.com ([2607:f8b0:4864:20::344]:46811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gXag0-00080w-VH for qemu-devel@nongnu.org; Thu, 13 Dec 2018 18:45:57 -0500 Received: by mail-ot1-x344.google.com with SMTP id w25so3679134otm.13 for ; Thu, 13 Dec 2018 15:45:56 -0800 (PST) References: <7dfbddf7014a595150aa79011ddb342c3cc17ec3.1544648105.git.alistair.francis@wdc.com> From: Richard Henderson Message-ID: Date: Thu, 13 Dec 2018 17:45:53 -0600 MIME-Version: 1.0 In-Reply-To: <7dfbddf7014a595150aa79011ddb342c3cc17ec3.1544648105.git.alistair.francis@wdc.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 1/1] tcg: mips: Improve the add2/sub2 command to use TCG_TARGET_REG_BITS List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis , "qemu-devel@nongnu.org" , "aurelien@aurel32.net" , "smarkovic@wavecomp.com" , "rth@twiddle.net" Cc: "alistair23@gmail.com" On 12/12/18 2:58 PM, Alistair Francis wrote: > Instead of hard coding 31 for the shift right use > TCG_TARGET_REG_BITS - 1. > > Signed-off-by: Alistair Francis > --- > tcg/mips/tcg-target.inc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Queued. r~