From patchwork Wed Mar 1 02:56:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 657755 Delivered-To: patch@linaro.org Received: by 2002:adf:a3c6:0:0:0:0:0 with SMTP id m6csp3269570wrb; Tue, 28 Feb 2023 18:59:11 -0800 (PST) X-Google-Smtp-Source: AK7set/evmYfAjhffZDDo8uZEFQcBYjgeV5mrn+Ii6eDiNRsIbvlHMCYhjaHmxOscjiY+s6R3sP1 X-Received: by 2002:a05:622a:14cc:b0:3bf:c545:384a with SMTP id u12-20020a05622a14cc00b003bfc545384amr8598459qtx.25.1677639550970; Tue, 28 Feb 2023 18:59:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677639550; cv=none; d=google.com; s=arc-20160816; b=ep5AS3mqpPcEGhHL3DErJ7b736+4mOue6fQphoO5kpRDoVcoRY3otIdTK8C105Hu/a dr4bSTylxBc0k5qKvQfE1YkK4uwjCCWHJilGtVsAsxgJCZQrHfhHEAsblRRKvCyLmpS3 t708xFPKYBRRtp6XFWH1xBhZikFUwGuM2FVXkQoUgzmb37Ph1JlULnYACXA7nEzZHC5m UcLDfu8J/Eir2wcZoN3zCzm5IalWtyQchcP9wY6HU9P27DYQSxY7llf90ZCmpqpCUHKS DKhpaOS2zU4o/7iFGeVvdT8/kVScf9+PVrUXouaaqREcNM/ymwMpEJnv5RPv37eshNay nv4w== 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=J4agBn68Y8gdxvYT6Yik1Q+P2GqHDnoSblHlhOryqMg=; b=mOheHHTXsg74nojQidu4Vds2NxfMug3ITmeCFxdi0D184Nc8HetHCs1KBpBhl79NPe 3UD0IyKb5ANcfeu1dhBoptJ9P5Snep4F4cVVyYz3v+oZ5udoG7ZjHWN6udSkhoTFgdKM Wa523+w7rD/YgGlNE0Xgxq4hROmxOjj0+0TTCx6oASpnFFMLBxOUXJpZRUsl/v2yIZ+3 QiyS8zx5/7aZRjWpLA27U8ofdv8QbGWuLaNI5Z6qwpm/5KJEl3Zq5D+YY/3TA2XVnKfK RZvar7/YV6yxStB4UgjfA7KvV/ggwmPO4cNGtVvE4M4v9eWcz01K9OlZ3z0GBp5lSba8 3tVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eDGnvRJn; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id k9-20020a05620a414900b00708084c79f3si10657717qko.610.2023.02.28.18.59.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Feb 2023 18:59:10 -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=eDGnvRJn; 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 ) id 1pXCf5-00020W-Ui; Tue, 28 Feb 2023 21:57:47 -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 ) id 1pXCf0-0001Rl-0K for qemu-devel@nongnu.org; Tue, 28 Feb 2023 21:57:44 -0500 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 1pXCey-00039T-BT for qemu-devel@nongnu.org; Tue, 28 Feb 2023 21:57:41 -0500 Received: by mail-pl1-x636.google.com with SMTP id z2so12529695plf.12 for ; Tue, 28 Feb 2023 18:57:39 -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=J4agBn68Y8gdxvYT6Yik1Q+P2GqHDnoSblHlhOryqMg=; b=eDGnvRJn7iEuXOR138DYkDiOhoTVtkES79gAjmjBPl8ZgZKeRaX8x7DOX1kN0vQepV ytNKALUuMEhn2p9eLboBfyXcu5bcTuvNOX89DXOIMJf8B7GixzdF2ippv7A0byO16h5T nud+6EI+7tBwcEUc8SShxDbCxas5zjtL04WsO1Qp6TvSICAjNazRxs1IulsYoMBIZXd0 vtvQWI6O2a63qBR7zyPqX/eDqI7vM9FCpnKlyw2ayQTYyes3HuUCfhPpJe4+QfK6y8ug Q9F1CpN/91sJqGpu/hwuvKnWVHUoS4OEiOprjYompbiVB9pOcbaP7djBbWWjDN845AIG KGUg== 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=J4agBn68Y8gdxvYT6Yik1Q+P2GqHDnoSblHlhOryqMg=; b=Tavi5Si/rmw5Rvu50BAYdcOcPMq9EW9jOnT3yWFET+YpWzCXNFcWMhpa8kS3QGxRo1 886bWZ2rN5Qp4ROMS410kCbLlokObhd+m1s8adrp+1GImRPVA332AvAGD62QkbyYCVPS 93tFYQTPbleQcKRw/fvmf1bj9mzESZZBeh71GjwF34o/5D1yv/LMkDmBHJoO8f7BuHut ajuo8zfiQpt6XpsOlrMBVzDwL5W+TUzuSEGlk7ar3FHvhonKIpsyDDUNW57bqN9cqm7+ 0dzQDw3d4ywlXtvzRMCsuQ/UL3R8yUJHfNnu96TwQJn6rodrFH9NNAV7qWgxDEmkmuX2 CjCw== X-Gm-Message-State: AO0yUKVlmAN8+E8AabCd3Z85PoCG2COUiipf7tnSITUxlfNLy/Q4b1GU gpoM6R2huHla7m87Q0IunScZULf2a6D9P9yZG3A= X-Received: by 2002:a17:902:e806:b0:19a:9897:461 with SMTP id u6-20020a170902e80600b0019a98970461mr5752748plg.52.1677639459464; Tue, 28 Feb 2023 18:57:39 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id jg15-20020a17090326cf00b0019adbef6a63sm7210120plb.235.2023.02.28.18.57.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 18:57:39 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Anton Johansson , =?utf-8?q?Phili?= =?utf-8?q?ppe_Mathieu-Daud=C3=A9?= Subject: [PULL 31/62] include/exec: Remove `tb_pc()` Date: Tue, 28 Feb 2023 16:56:12 -1000 Message-Id: <20230301025643.1227244-32-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230301025643.1227244-1-richard.henderson@linaro.org> References: <20230301025643.1227244-1-richard.henderson@linaro.org> MIME-Version: 1.0 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Anton Johansson via Signed-off-by: Anton Johansson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20230227135202.9710-28-anjo@rev.ng> Signed-off-by: Richard Henderson --- include/exec/exec-all.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h index 6af001bfde..e09254333d 100644 --- a/include/exec/exec-all.h +++ b/include/exec/exec-all.h @@ -619,13 +619,6 @@ static inline uint32_t tb_cflags(const TranslationBlock *tb) return qatomic_read(&tb->cflags); } -/* Hide the read to avoid ifdefs for CF_PCREL. */ -static inline target_ulong tb_pc(const TranslationBlock *tb) -{ - assert(!(tb_cflags(tb) & CF_PCREL)); - return tb->pc; -} - static inline tb_page_addr_t tb_page_addr0(const TranslationBlock *tb) { #ifdef CONFIG_USER_ONLY