From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gWucm-0002dj-4L for qemu-devel@nongnu.org; Tue, 11 Dec 2018 21:51:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gWuci-0006Fa-PX for qemu-devel@nongnu.org; Tue, 11 Dec 2018 21:51:47 -0500 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]:32987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gWuci-0006Eu-Gu for qemu-devel@nongnu.org; Tue, 11 Dec 2018 21:51:44 -0500 Received: by mail-ot1-x330.google.com with SMTP id i20so16276410otl.0 for ; Tue, 11 Dec 2018 18:51:44 -0800 (PST) References: From: Richard Henderson Message-ID: Date: Tue, 11 Dec 2018 20:51:40 -0600 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v3 15/24] riscv: tcg-target: Add the add2 and sub2 instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alistair Francis , "qemu-devel@nongnu.org" , "qemu-riscv@nongnu.org" Cc: "alistair23@gmail.com" On 12/7/18 6:48 PM, Alistair Francis wrote: > +static void tcg_out_addsub2(TCGContext *s, > + TCGReg rl, TCGReg rh, > + TCGReg al, TCGReg ah, > + TCGReg bl, TCGReg bh, > + bool cbl, bool cbh, bool is_sub, bool is32bit) bl and bh must be TCGArg, since they may be constants, as indicated by cbl+cbh. r~