From nobody Wed Nov 27 19:27:22 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=1697668135; cv=none; d=zohomail.com; s=zohoarc; b=Z7yQE2R/PFrD4OzpKvT/3AYYk+Va5dUwkpTUUyifEe2nv0LFxEp1ccCUar7LHjeeBz3Csu8Cw7KueUYltAvBTltInyVnGjLmz6ckQ4F2lJxn3adqUMbcey2lHKnrNGNYkQTyHieyQDW5LX/PG2VhURHTmTMI9L72OTE40qDA8a4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697668135; 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=6Sq2XuaUgq1WVJLtCb9vCiBQv+e4IAv+CN8pWqHj0rc=; b=F0exHEV4s8tHujj1KnicCXSa7jMxs2oeM/ntJksp/IhviRdBLWHvhADH9Riw973F4qwH5Vjs8q0kkPDOh5SDL1gRPu0ojinAtr0UOnZoNM2GzSxiQ7dVJG1xBseTTcYs+BYt8t07tZp9Uvl0jfDYhScGif2KozQjcs1jQw1hu/U= 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 16976681358601021.3465222724907; Wed, 18 Oct 2023 15:28:55 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qtEzX-00087E-OK; Wed, 18 Oct 2023 18:26:15 -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 1qtEzV-00086p-79 for qemu-devel@nongnu.org; Wed, 18 Oct 2023 18:26:13 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qtEzT-0002UC-Fd for qemu-devel@nongnu.org; Wed, 18 Oct 2023 18:26:12 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1ca6809fb8aso27744435ad.1 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.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 15:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697667970; x=1698272770; 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=6Sq2XuaUgq1WVJLtCb9vCiBQv+e4IAv+CN8pWqHj0rc=; b=SqzXI9+UUb2Rze/ebis/iA75UB8tihXJeJ4lPnNRlepEbW3aFn6Zi3Gs2D1lN2MTAe y3HP35tzfZ9lR2IWNkro3ooAOvTh1f/p/259viZVw2hoc8M0eQJyWlQovlwSNHIfW/Wy ZbIAhU/vpLbObZUoXIPa8dulfDf0huXFvCwswp9YYPwf39ru6kikgOGDoe9Pf1C0Y7Pf 8agHo82RHIdZK2b2I7mPm3gPmqy8AFXemHaL7ZjC+99G66sjWRdw2jP2pIqOizoeuYUF nrf7tiPWhvXtgCoYSCk84aZY0dhUqOkXgosGeTqxpPCF9OZzcbkB1qY5p0t95hDaE08c GQqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697667970; x=1698272770; 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=6Sq2XuaUgq1WVJLtCb9vCiBQv+e4IAv+CN8pWqHj0rc=; b=NizfELo7YZFTZ1dE669VqtihVEDy2X7k7Lzf/7HO2RLMpKPxZDsxGd88/m5G5ktYm7 neNzCp3pxtDItwRN9P8jIIPO7DQYa/iAhijW8LhWte31we1LRD8hYbNXWfmhyLp8/Z84 MUtSRGvDSrs9lMlSaVSIOkjvd/EccRkDWiUxfpHZcC2z8B6i0QYvxUNPnO4IlhYyjRY3 wwVb8uHUwdLwHY6QiaKZJyINucjZoI8aTNj6QW2WpxB6Kmr67wQY8XJsSyJLlH0VsiIN wQd5BGbGNKciQf43xEaKvd2VFr6rkZcyloukYS1CvTtOff+HWvoMDTD84avRY2Ze1ES0 bejg== X-Gm-Message-State: AOJu0YwetoHhdtIXxbJ3s02mbvsl28/flW5MvJVMHcBIXmq/8Eh2L9vN 2HnjT0HcIiToY8DzOUpY5oe6YJZN8bS8zj6HNok= X-Google-Smtp-Source: AGHT+IHKlYiVfA3Mkx3muVTCf9/Z2EKAcLH8/XX/wOWqY4j85bf/mqyT/mv8e9sC94MFN21PvYNYrQ== X-Received: by 2002:a17:902:ce91:b0:1c6:2acc:62ea with SMTP id f17-20020a170902ce9100b001c62acc62eamr824307plg.57.1697667970315; Wed, 18 Oct 2023 15:26:10 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 12/29] tcg/ppc: Use PLD in tcg_out_goto_tb Date: Wed, 18 Oct 2023 15:25:40 -0700 Message-Id: <20231018222557.1562065-13-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::636; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x636.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: 1697668136740100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Richard Henderson --- tcg/ppc/tcg-target.c.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tcg/ppc/tcg-target.c.inc b/tcg/ppc/tcg-target.c.inc index db3212083b..6496f76e41 100644 --- a/tcg/ppc/tcg-target.c.inc +++ b/tcg/ppc/tcg-target.c.inc @@ -2753,6 +2753,9 @@ static void tcg_out_goto_tb(TCGContext *s, int which) if (USE_REG_TB) { ptrdiff_t offset =3D ppc_tbrel_diff(s, (void *)ptr); tcg_out_mem_long(s, LD, LDX, TCG_REG_TMP1, TCG_REG_TB, offset); + } else if (have_isa_3_10) { + ptrdiff_t offset =3D tcg_pcrel_diff_for_prefix(s, (void *)ptr); + tcg_out_8ls_d(s, PLD, TCG_REG_TMP1, 0, offset, 1); } else if (have_isa_3_00) { ptrdiff_t offset =3D tcg_pcrel_diff(s, (void *)ptr) - 4; lo =3D offset; --=20 2.34.1