Received: from eggs.gnu.org ([209.51.188.92]:47764) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hJh1q-0008L2-M2 for qemu-devel@nongnu.org; Thu, 25 Apr 2019 12:15:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hJh1p-0008Cr-UI for qemu-devel@nongnu.org; Thu, 25 Apr 2019 12:15:18 -0400 Received: from mail-pf1-x443.google.com ([2607:f8b0:4864:20::443]:44097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hJh1p-0008BG-N0 for qemu-devel@nongnu.org; Thu, 25 Apr 2019 12:15:17 -0400 Received: by mail-pf1-x443.google.com with SMTP id y13so134679pfm.11 for ; Thu, 25 Apr 2019 09:15:17 -0700 (PDT) References: From: Richard Henderson Message-ID: Date: Thu, 25 Apr 2019 09:15:13 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH for-4.1 3/8] target/riscv: Merge argument sets for insn32 and insn16 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Palmer Dabbelt Cc: qemu-devel@nongnu.org, Bastian Koppelmann , Alistair Francis , qemu-riscv@nongnu.org On 4/25/19 9:04 AM, Palmer Dabbelt wrote: > c.lwsp with rd=0 should be an illegal instruction, but it's not.  We'd need to > re-introduce the shim to handle that quirk, but since it's not actually a new > bug I'm OK taking the patch set and fixing that later. That should be fixable in the decode file, without a shim. See patch 5, where I introduce trans_illegal, for doing exactly this for c.addi4spn. r~