From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHyfs-0000hd-B4 for qemu-devel@nongnu.org; Wed, 31 Oct 2018 18:09:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHyfp-0005Hc-3p for qemu-devel@nongnu.org; Wed, 31 Oct 2018 18:09:16 -0400 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]:40462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHyfo-0005HC-JF for qemu-devel@nongnu.org; Wed, 31 Oct 2018 18:09:12 -0400 Received: by mail-wr1-x444.google.com with SMTP id i17-v6so18099402wre.7 for ; Wed, 31 Oct 2018 15:09:12 -0700 (PDT) References: <20181031132029.4887-1-kbastian@mail.uni-paderborn.de> <20181031132029.4887-23-kbastian@mail.uni-paderborn.de> From: Richard Henderson Message-ID: <5d4e842f-81b8-0eea-9e5a-f42d973d7d2b@linaro.org> Date: Wed, 31 Oct 2018 22:09:09 +0000 MIME-Version: 1.0 In-Reply-To: <20181031132029.4887-23-kbastian@mail.uni-paderborn.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 22/35] target/riscv: Remove manual decoding from gen_load() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Bastian Koppelmann , mjc@sifive.com, sagark@eecs.berkeley.edu, palmer@sifive.com, Alistair.Francis@wdc.com Cc: peer.adelt@hni.uni-paderborn.de, qemu-devel@nongnu.org, qemu-riscv@nongnu.org On 10/31/18 1:20 PM, Bastian Koppelmann wrote: > With decodetree we don't need to convert RISC-V opcodes into to MemOps > as the old gen_load() did. > > Reviewed-by: Richard Henderson > Signed-off-by: Bastian Koppelmann > Signed-off-by: Peer Adelt Reviewed-by: Richard Henderson > +static bool gen_load(DisasContext *ctx, arg_lb *a, int memop) Better with TCGMemOp instead of int. r~