From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:53251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glrvf-00011J-O3 for qemu-devel@nongnu.org; Tue, 22 Jan 2019 04:01:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glrvX-0004Mm-8h for qemu-devel@nongnu.org; Tue, 22 Jan 2019 04:01:07 -0500 References: <20190118131456.32451-1-kbastian@mail.uni-paderborn.de> <20190118131456.32451-27-kbastian@mail.uni-paderborn.de> <235a7ee4-8f5e-1b2a-09fd-e4809c674065@linaro.org> <5ad14b08-7db1-279a-a702-9ce2e981397e@mail.uni-paderborn.de> <3da52a06-911a-5459-021c-526b23d9a928@linaro.org> From: Bastian Koppelmann Message-ID: <3a9e0117-d2d9-39d9-4935-9a6da88efe5f@mail.uni-paderborn.de> Date: Tue, 22 Jan 2019 10:00:53 +0100 MIME-Version: 1.0 In-Reply-To: <3da52a06-911a-5459-021c-526b23d9a928@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US-large Subject: Re: [Qemu-devel] [PATCH v4 26/35] target/riscv: Remove shift and slt insn manual decoding List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson , sagark@eecs.berkeley.edu, palmer@sifive.com, Alistair.Francis@wdc.com Cc: peer.adelt@hni.uni-paderborn.de, qemu-riscv@nongnu.org, qemu-devel@nongnu.org On 1/22/19 12:22 AM, Richard Henderson wrote: > On 1/21/19 1:10 AM, Bastian Koppelmann wrote: >> On 1/20/19 2:43 AM, Richard Henderson wrote: >>> On 1/19/19 12:14 AM, Bastian Koppelmann wrote: >>>> Signed-off-by: Bastian Koppelmann >>>> Signed-off-by: Peer Adelt >>>> --- >>>> v3 -> v4: >>>>      - refactor tcg_gen_set_cond_tl(TCG_COND_LT,..) into gen_slt function >>>>        and reuse gen_arith(..., &gen_slt) for all trans_slt functions. >>>>      - Add missing sign extension to trans_srlw/sllw >>>>      - Made rs2 == 0 a special case of srlw/sllw >>> Why?  It's not like it is a likely case, and it works without. >> >> Because you suggested it :) (see https://patchwork.kernel.org/patch/10662699/). >> Maybe I misunderstood your comment. If you like I can remove it in the respin. > I meant the register indicated by rs2 containing the value 0, > which you have fixed with the extension. I see. I remove it in the respin. Cheers, Bastian