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 X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2D3BC47083 for ; Wed, 2 Jun 2021 09:16:08 +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 63554613AE for ; Wed, 2 Jun 2021 09:16:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 63554613AE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:59736 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1loMyt-0007aB-BV for qemu-devel@archiver.kernel.org; Wed, 02 Jun 2021 05:16:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55036) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1loMxK-0005Io-Rt for qemu-devel@nongnu.org; Wed, 02 Jun 2021 05:14:30 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:43715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1loMxG-0000BD-Ng for qemu-devel@nongnu.org; Wed, 02 Jun 2021 05:14:30 -0400 Received: by mail-wr1-x431.google.com with SMTP id v23so1498932wrd.10 for ; Wed, 02 Jun 2021 02:14:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=xIH6bL45vjmevFqM3xaicdNZm66VlThcNQpUH+k5f4c=; b=Z+cVwpucmB0OWi4YbqG17MFMDFptGcnOR3QxySfDDPcADQ13BNLkM3DvTcEbYiB9Wa 9NGcHlDHlcdI9yiOh8dikN/iwcuV2BWZ8r4AR+3sOLKhmKtX0Bc0NpqqyieklgaKq4+B v/lQQqfvPfZaNFf/zS+4AfDvLHIGRuSc1pDlS8VVp/iy/wYy82x8Lqpzr2z8pJ7Xw3dT uGGZNVbZVEY6Oxi2ymeAeOCGhxj0PnPmkRYLyHYaulJ9nvHnsF+1vy2/19qgvFIAi8t8 J9xrVMYPQf7yiiWl0Z7K9gE5LmnBsCTsL7KiPUYCNGAdyo/x7jGvEZMdbJsIYUGbGRfB nWXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=xIH6bL45vjmevFqM3xaicdNZm66VlThcNQpUH+k5f4c=; b=IC/BZSXKlrBRd9HU6NNr+bI3OS/rxaSYulTGwtcPY0487ZGTmipnlF6dW+0tJD7GR8 tYtRffCZfqXjXTn3UooL1CDziCt+4luzrtYTSKitel8uDzbbps8y6V4GxS/22lAhVfJK 8kvns4cl+Up8DhMefYgvzf43WUASnMCshtpV8D4dPzZXOauWzyUQSu2gYjS0mKq0U7JZ q6/eJXD9njsvzHArPlsBMtxUioq+u3lWFaEYa7Qo9NBubTE8uGV8V39Ev+XLYlEZRijm 0sSA5YP6OwFOZYEswBatpu+PFZz3ou4IlZQZ+oSgFeVeAMYAJmwS0V60ENyOMADSFE0N rTaw== X-Gm-Message-State: AOAM533x5F/mQkVRFvX7ReNeM9YquuPY+hGziVLGLBRSXYsXlLhBJnXY JN0e7UVUpxxlWc2vlvbOLg6V8Q== X-Google-Smtp-Source: ABdhPJxaHAOz1/JF6inUxxlhWmPOuRuIrrMHDK48oEDXNzAGy+qztKGXFOWOsAnH6F4P/qFHHu3u4Q== X-Received: by 2002:adf:fc11:: with SMTP id i17mr27456186wrr.374.1622625264339; Wed, 02 Jun 2021 02:14:24 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id f14sm5927989wry.40.2021.06.02.02.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 02:14:23 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 3DCE41FF7E; Wed, 2 Jun 2021 10:14:22 +0100 (BST) References: <20210602020720.47679-1-richard.henderson@linaro.org> User-agent: mu4e 1.5.13; emacs 28.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Richard Henderson Subject: Re: [PATCH] target/arm: Mark LDS{MIN,MAX} as signed operations Date: Wed, 02 Jun 2021 10:14:17 +0100 In-reply-to: <20210602020720.47679-1-richard.henderson@linaro.org> Message-ID: <87k0ncbpch.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x431.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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: qemu-arm@nongnu.org, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Richard Henderson writes: > The operands to tcg_gen_atomic_fetch_s{min,max}_i64 must > be signed, so that the inputs are properly extended. > Zero extend the result afterward, as needed. > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/364 > Signed-off-by: Richard Henderson Reviewed-by: Alex Benn=C3=A9e --=20 Alex Benn=C3=A9e