From nobody Wed Nov 27 19:52:04 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1697668304; cv=none; d=zohomail.com; s=zohoarc; b=SHTil3Kf92+CoioD78Gu5q6Y+WvQrkOH/6IqybcDx0ZiNp+5gLhxLYrf4+H2YnXaU+vR4Fp1QwRV03RayES8g3XA+AdJj4UDoC0fj3iYPsMQTSr4lgAijR0rGEZzTxhC6D/yWe/dTojyqpDI7QcPIgV+jrMZoTCmTafMkOdQ86M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697668304; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=wgo3sS5iUyrU0Dzdzk24htDnmRxHdeX5tUMGq3kg/oc=; b=WqcHh+HJue7JUEm4kEfo6tzm9rmV5+AU6HAMuJABOvbm6KEJNFHOwOdbhvk/O4dSyqVNO6a7W98MaNs5cpHQA1vOPFrBaQnQbYGUiCHWgwrY5aiN0AzYFlCue39KqJynZfq1tKg7i77qpS+/Z2asPa4XH+mZntw8nuk9j1+u2gU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1697668304799798.8664862128481; Wed, 18 Oct 2023 15:31:44 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtEzY-00087d-LR; Wed, 18 Oct 2023 18:26:16 -0400 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 ) id 1qtEzW-000871-0E for qemu-devel@nongnu.org; Wed, 18 Oct 2023 18:26:14 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtEzU-0002UO-9U for qemu-devel@nongnu.org; Wed, 18 Oct 2023 18:26:13 -0400 Received: by mail-pl1-x62c.google.com with SMTP id d9443c01a7336-1c434c33ec0so50460235ad.3 for ; Wed, 18 Oct 2023 15:26:11 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id 13-20020a170902c24d00b001b9d95945afsm431058plg.155.2023.10.18.15.26.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 15:26:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697667971; x=1698272771; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=wgo3sS5iUyrU0Dzdzk24htDnmRxHdeX5tUMGq3kg/oc=; b=AeAfFAVkwVfW1Q+ML+uYwP8ihCTBnWK18BBtrz9dLDl0N3H37IMaG2uSdZxvrqSh0Q h0XO1UkBzbtNFkHSMgMVO+qFQJYCc+lBYg7iiic6PwZtCtoZrhzFGLynOpu3tzOPpo90 6KYAT0dbSBEsmFnWKn30dmSlPdoj4xEmLISymNR3RzO835C8PTMXRZlaV0vzPUvmZzn9 9w3Zgp1InZbXBfmX12FtoC45sb2lV37wuVvoNRXYG+hYI8sS/6Zw4Vtum2lPG37hjben +H9Gszuo0FSfNXyYmX65qidckjgNroO8zJnF/IVdYBVTlVJcYslhyDonpNpbWgcRszzT gkgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697667971; x=1698272771; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wgo3sS5iUyrU0Dzdzk24htDnmRxHdeX5tUMGq3kg/oc=; b=Q7EX8uWb8mlUe+UNPV5ldN0EnHsOZ6hbqeYY+9OjvbweW3YG5I0kf5WxRKPbbakD/v k1SuJ+s44bFuemFwWfRA1w6dky5BX1dANYM81X99Xy1DArPFrdeErmpS4nA9LdJWgC1n k9BrCENhh2ww/qWYZ55jRGfxYe0M9oSrqsXT0ml/K85RE9QN2t9SNcqkHuHimIe6Qgcz eRHIcKjDDeSrtdlR3no/m6gAnGBXhhW+w5FuOeM//tJm9Zo6HoQ3yr1rJjDiSsYn5nex gYVM1Kd17yF/oDUDohGGEK5CYvUQei3nw5XBcOIOn4hsKQrdFOkSb589vdewaZELvLld 7ZHA== X-Gm-Message-State: AOJu0YzLOIfePHSTTdUiPlK75W8vUqQyDRxM5s+gQWGw25gUy830SCcP 9gIqaYlMj8tRJZcfQU6nYP556UPXzUjC+DI7UAI= X-Google-Smtp-Source: AGHT+IFD0M/517RpMnOx4hNnCQEmBWKCi1Y8OfoumoQoCPSluTw997LU/goPCyh9OfAFtzi/W+sQtA== X-Received: by 2002:a17:902:da8d:b0:1c7:495c:87df with SMTP id j13-20020a170902da8d00b001c7495c87dfmr885184plx.53.1697667971044; Wed, 18 Oct 2023 15:26:11 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 13/29] tcg/ppc: Disable TCG_REG_TB for Power9/Power10 Date: Wed, 18 Oct 2023 15:25:41 -0700 Message-Id: <20231018222557.1562065-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231018222557.1562065-1-richard.henderson@linaro.org> References: <20231018222557.1562065-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62c.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1697668305511100001 Content-Type: text/plain; charset="utf-8" This appears to slightly improve performance on power9/10. Signed-off-by: Richard Henderson --- tcg/ppc/tcg-target.c.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc index 6496f76e41..c31da4da9d 100644 --- a/tcg/ppc/tcg-target.c.inc +++ b/tcg/ppc/tcg-target.c.inc @@ -83,7 +83,7 @@ #define TCG_VEC_TMP2 TCG_REG_V1 =20 #define TCG_REG_TB TCG_REG_R31 -#define USE_REG_TB (TCG_TARGET_REG_BITS =3D=3D 64) +#define USE_REG_TB (TCG_TARGET_REG_BITS =3D=3D 64 && !have_isa_3_00) =20 /* Shorthand for size of a pointer. Avoid promotion to unsigned. */ #define SZP ((int)sizeof(void *)) --=20 2.34.1