From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C8612C433FE for ; Sun, 3 Oct 2021 17:32:18 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C90961184 for ; Sun, 3 Oct 2021 17:32:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 4C90961184 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=nongnu.org Received: from localhost ([::1]:40936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mX5LV-0000eq-Hi for qemu-devel@archiver.kernel.org; Sun, 03 Oct 2021 13:32:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mX5Jw-0007h9-3c for qemu-devel@nongnu.org; Sun, 03 Oct 2021 13:30:40 -0400 Received: from mail-qv1-xf2c.google.com ([2607:f8b0:4864:20::f2c]:33530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mX5Ju-00034d-Nm for qemu-devel@nongnu.org; Sun, 03 Oct 2021 13:30:39 -0400 Received: by mail-qv1-xf2c.google.com with SMTP id a9so8752229qvf.0 for ; Sun, 03 Oct 2021 10:30:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=bFoY65933Z5hTpP4wWKZhdIFiRXyAO+IJTFiiAECmtE=; b=Pp+wfOjF85VTPg6/9qNcEcVwlNl8fHY0bHXTzyKMlW8yY4oRXdOqcqzT2FAV5P6X99 OtHfem8MkLiw3cNbnUmY+w6WrSx41oO+whV6OCp3ydlreHotRhOOwxYs0oUq+OYsEBu8 RQENGp3XwYyeVvsS0DsR0ZOMPohbtRqMdG9E8oCVFIAkb3H5UqcQDG5dYVIy0Ah+40AI UUgaNyBPevTlxcK7NYyvoiD7rqhzWquqksph+UZ3AR0C1CJXLYTgeuuoZCvG88ckqpFk bhhXU+70OY+5758+9fGaXLMsXkrAYt+grTK1R1eLfbTZgVfperQ5iqQy9bi8jZUOrg2b 2oKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=bFoY65933Z5hTpP4wWKZhdIFiRXyAO+IJTFiiAECmtE=; b=1qYVjFvtv6g0DoHba161cRfbS6d1fo6pLkdDGJfkY6twJu/I/bBUFEhn0vcnuONtct 6lgD8bt8nUGHr22fhBF74irQDFZyURRcEZL2q1Bzge7ivuD7VGwer2JxfAhLOJNc1nHu SqF5uj7g+09GRdRvXZm47HjVorVdEoLr5pXuNjZnSru6/ltg8Snr1FNtY3dSe899KrVG GJvQAIV4zxW2Dn1JQF9LS5P/yK5FuRYq5/hP88A798UUHtQAYqDfaHG5smWYc4HmFg6B TJe5Hcbgfd79Ia+J4dIYKeWopCQQxrwK+55PoBCFAWJ4jriX637kIisHY5icqLihxgaT yhnQ== X-Gm-Message-State: AOAM530nuly1HPyR30nc8kkQxtMjfZL1vrZ+haisVDFo18mJjadh87A/ ytw54ZeQ88zUHXRuEL2/uTPU38Q+exQTDw== X-Google-Smtp-Source: ABdhPJxI5721BY1fLy+SmzIbjmTQzf2BqV+YRl/vms6ApqCKU3fmB75CXIfccw/1YRTA+rVBA8nNCA== X-Received: by 2002:ad4:54ee:: with SMTP id k14mr18502370qvx.46.1633282237709; Sun, 03 Oct 2021 10:30:37 -0700 (PDT) Received: from [192.168.3.43] (c-67-174-166-185.hsd1.ga.comcast.net. [67.174.166.185]) by smtp.gmail.com with ESMTPSA id v7sm6327405qkd.41.2021.10.03.10.30.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 03 Oct 2021 10:30:37 -0700 (PDT) Subject: Re: [PATCH 2/2] target/riscv: Use dup_const_tl in orc.b to legalise truncation of constant To: Philipp Tomsich , qemu-devel@nongnu.org References: <20210928205450.4121269-1-philipp.tomsich@vrull.eu> <20210928205450.4121269-2-philipp.tomsich@vrull.eu> From: Richard Henderson Message-ID: <4d8eade1-0ac8-dbc3-c9f0-66f9fcfd495c@linaro.org> Date: Sun, 3 Oct 2021 13:30:35 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20210928205450.4121269-2-philipp.tomsich@vrull.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::f2c; envelope-from=richard.henderson@linaro.org; helo=mail-qv1-xf2c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair Francis Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On 9/28/21 4:54 PM, Philipp Tomsich wrote: > We need to use the newly introduced dup_const_tl in orc.b to legalise > the truncation (to target_long) of the constant generated with dup_const. > > Signed-off-by: Philipp Tomsich > --- > > target/riscv/insn_trans/trans_rvb.c.inc | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Richard Henderson r~