From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS5aS-0004dc-Ar for qemu-devel@nongnu.org; Wed, 28 Nov 2018 14:33:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gS5aP-0004WQ-4f for qemu-devel@nongnu.org; Wed, 28 Nov 2018 14:33:28 -0500 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:34100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gS5aM-0004P0-IS for qemu-devel@nongnu.org; Wed, 28 Nov 2018 14:33:22 -0500 Received: by mail-pf1-x42c.google.com with SMTP id h3so10672852pfg.1 for ; Wed, 28 Nov 2018 11:33:18 -0800 (PST) References: <67303db03721ef2e4d9737379312681543a0ba0c.1543352682.git.alistair.francis@wdc.com> From: Richard Henderson Message-ID: Date: Wed, 28 Nov 2018 11:33:14 -0800 MIME-Version: 1.0 In-Reply-To: <67303db03721ef2e4d9737379312681543a0ba0c.1543352682.git.alistair.francis@wdc.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v2 07/24] riscv: tcg-target: Add support for the constraints 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 11/27/18 1:07 PM, Alistair Francis wrote: > + OPC_FENCE_RW_RW = 0x0330000f, > + OPC_FENCE_R_R = 0x0220000f, > + OPC_FENCE_W_R = 0x0120000f, > + OPC_FENCE_R_W = 0x0210000f, > + OPC_FENCE_W_W = 0x0110000f, > + OPC_FENCE_R_RW = 0x0230000f, > + OPC_FENCE_RW_W = 0x0310000f, A full compliment would have 9 alternatives, surely? Perhaps better to just fill in the fields when emitting? Otherwise, Reviewed-by: Richard Henderson r~