Message ID | 20221224235720.842093-25-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp931305pvb; Sat, 24 Dec 2022 16:07:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXsz5+LK+8OP85WGsuJT+Z7WoD5Z6SSCPfezqO6Uv+3FTEycJWbYlxsLL1HNYOTZ4go+lT46 X-Received: by 2002:ac8:5507:0:b0:3a9:6973:be41 with SMTP id j7-20020ac85507000000b003a96973be41mr17929297qtq.24.1671926848678; Sat, 24 Dec 2022 16:07:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671926848; cv=none; d=google.com; s=arc-20160816; b=UV6e7IzaXtm20n4xSpetgC3ghh6lpeph5jmFZPGz3LOLMGMEbgoNvhln51sCy5VyPW iM3MEaO8EPZ3pFKAPd8PpwJzQkG3ZrxkznvqA2QBsEQt4hVq5CHndxxERg7A+1lAQC0M 7UD9aCRAxTVZFfqivhPlF/oa94J0jSknX6jpHToYv0L20CqVcSdqJ57bfOgNO4KcmpI3 mUCOApp8zeYNjBlDfhX2adv0S58Upz1pS0FEXFGResUKUVU6savK2ra/On/88x0de0Dc 0u1IBMyPniAYMVdK53rFRgO39CZ4q8BQ9R/kIXZyIs4jGRzHK/6qCFQYSNRWdYcP/daV Tu+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zkDNvTm+PB28QbxJv1RcKBwbBiJBv33q35rFa86H5jg=; b=ygPa+DyNbEzneoAb/KjGKG1xTuZcC8PNNE7kDJxrwRoyTA0/vIlP9CRKTYvNFrLcjS mIKVRIjxtK55jwpOYZYqfrf/N5EfH/z1NuZI6e+xYyoKc5g3pIT/lYtg2sVQyZyzqCV5 9AOiEHmHtGmxRzBTqnLn5MvvNogQ7Ml+tpI0nm8kK144+Y2T9e4V9EUjwkJPkHWwNdTZ WVuiegGXJ0CxOD7qhHzkoIPvY1rGw+xmhtvEhU+k/eDAgLgn67vHZSwm7nvhbWWRdSSJ y2+/PobhlBI02ZP/f0ADKJRdP8zT2Pj6bOZrocwa5zQAVWRRqOADZpethl3Lqqs/5vbi YmiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wbN19EKk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c71-20020a379a4a000000b006fa39c46fb4si2479691qke.134.2022.12.24.16.07.28 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 24 Dec 2022 16:07:28 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wbN19EKk; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1p9EOx-0002dI-Sk; Sat, 24 Dec 2022 18:58:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1p9EOi-0002O1-Ak for qemu-devel@nongnu.org; Sat, 24 Dec 2022 18:57:49 -0500 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1p9EOg-0006KE-3p for qemu-devel@nongnu.org; Sat, 24 Dec 2022 18:57:47 -0500 Received: by mail-pl1-x633.google.com with SMTP id m4so8047270pls.4 for <qemu-devel@nongnu.org>; Sat, 24 Dec 2022 15:57:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=zkDNvTm+PB28QbxJv1RcKBwbBiJBv33q35rFa86H5jg=; b=wbN19EKkoE8P0aWrpzGEEkbs4px8oH3fQU/ykqZibDZmeey8uG/KdT553Y2L9cklrV vNx9FZwetldnRZyabkb/M7BzvMQVzIiui0q7PZtNtzXFNcxaGE9TySnPhTj02ao5+mAd 0yhfgZ3ghNXc/7x6bB742cxp8SRvxmuyTydNnZtZK8keYTNvKwZa1Gy7Lk5+i4MUJpgV qAR5LT0ZfSuTPhn+nPguZ7Yhx5GW1/901oYVgloTvurSXGqMNZmcB6PiH5RmsQXYLxdq r9wjZCLGAlgI0/Zc6kTmgzgMjHxZhnAIpFQtyntkM0FgUigS8NeofIUleoRRSZwVaJiN +H6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zkDNvTm+PB28QbxJv1RcKBwbBiJBv33q35rFa86H5jg=; b=Md3FbeqkjoRz8+WqRWNWyKbtNQH1NWRTnAEbQqVBLb6HVId3PAcAM8DwDtfUgoJFmL JBhzzaz8E9Go1BBxwapMa7ExJb0s7jDwOpweDbQaVcoBoMmdPtt+TLNhzQPVMrCzdYCl eopMU+/Xq8xLrbYLZWUmJ5jnQq7P4gAkGPEftcG9TCZJMjc/w4zLEn20UPk4YVJFASna KMKVC2tfs8OV9blkhBjkVstTHXzn6EYpkEVmwMOo7LAuEVpRvOL5zs18Ufxw6fn8tQxR VjDGzxX94fDdGTPHgoRpibfKrEFs26QxpxEg8bXbWVltq36idrnVJsQjQy0n6GH2Xy/I ++Dw== X-Gm-Message-State: AFqh2kqLbPqG2VpCksf/mGZobHxVqAtFvYrYVNQgTCHAhysX78Og+g68 5wqLI0D3R6iUhRqTHnx9DaPx+9Hlw81HBP4F X-Received: by 2002:a17:903:3255:b0:191:f83:636b with SMTP id ji21-20020a170903325500b001910f83636bmr16626975plb.25.1671926265352; Sat, 24 Dec 2022 15:57:45 -0800 (PST) Received: from stoup.. (76-14-210-194.or.wavecable.com. [76.14.210.194]) by smtp.gmail.com with ESMTPSA id cp12-20020a170902e78c00b00187022627d7sm4599716plb.36.2022.12.24.15.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Dec 2022 15:57:44 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: alex.bennee@linaro.org, philmd@linaro.org Subject: [PATCH v5 24/43] tcg: Simplify calls to temp_sync vs mem_coherent Date: Sat, 24 Dec 2022 15:57:01 -0800 Message-Id: <20221224235720.842093-25-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221224235720.842093-1-richard.henderson@linaro.org> References: <20221224235720.842093-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x633.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
tcg misc patches
|
expand
|
diff --git a/tcg/tcg.c b/tcg/tcg.c index 0f58013a5a..36a33a122c 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -4075,12 +4075,8 @@ static bool tcg_reg_alloc_dup2(TCGContext *s, const TCGOp *op) /* If the two inputs form one 64-bit value, try dupm_vec. */ if (itsl + 1 == itsh && itsl->base_type == TCG_TYPE_I64) { - if (!itsl->mem_coherent) { - temp_sync(s, itsl, s->reserved_regs, 0, 0); - } - if (!itsh->mem_coherent) { - temp_sync(s, itsh, s->reserved_regs, 0, 0); - } + temp_sync(s, itsl, s->reserved_regs, 0, 0); + temp_sync(s, itsh, s->reserved_regs, 0, 0); #if HOST_BIG_ENDIAN TCGTemp *its = itsh; #else