From nobody Mon Oct 6 11:00:07 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.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; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1562664252; cv=none; d=zoho.com; s=zohoarc; b=aIV6Ps646Enmlo+ixVvoabjB8RSlooAjv2RgPI5x5r7atpiYLRnQCszcx9pXHsImRjKGDr+kNsD07ZG4V8v6vO0yE2GvhUNVMKpKUEEFmrQyBJbChnMqoU1vTDe1cdPIMo5GDy0vy46wvB6+7zVpDEDYjgjwvOg9ynjh3c+nwB0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1562664252; h=Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=GlX1ghA7K5MFvwvh9tPMB+W8XhZilfwCsvalOImEzfU=; b=YKLm2lTlsEElmWHSSJmscPYr7C2fmc0QbsmM7sWc2pIpL00FITXr6/LVVAhuZNP/eo9OUjUJxXS6IolyDjTIoCu5LWwfIK1lQmSLPV/2Fk7YinUOSk1lU8J+a14ct3le7xXQ94LgeGJbAvafM0nMBMRacR8VIVUyVP+4EwS6JbA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1562664252306542.7878400253918; Tue, 9 Jul 2019 02:24:12 -0700 (PDT) Received: from localhost ([::1]:48084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkmM7-0002Gz-Bm for importer@patchew.org; Tue, 09 Jul 2019 05:24:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43453) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkmJQ-00070F-Vq for qemu-devel@nongnu.org; Tue, 09 Jul 2019 05:21:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkmJP-0001xU-3d for qemu-devel@nongnu.org; Tue, 09 Jul 2019 05:21:24 -0400 Received: from mail-io1-xd41.google.com ([2607:f8b0:4864:20::d41]:37378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hkmJO-0001tL-M3 for qemu-devel@nongnu.org; Tue, 09 Jul 2019 05:21:23 -0400 Received: by mail-io1-xd41.google.com with SMTP id q22so19834992iog.4 for ; Tue, 09 Jul 2019 02:21:17 -0700 (PDT) Received: from localhost.localdomain ([172.56.12.212]) by smtp.gmail.com with ESMTPSA id c17sm17613817ioo.82.2019.07.09.02.21.11 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 02:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GlX1ghA7K5MFvwvh9tPMB+W8XhZilfwCsvalOImEzfU=; b=Hcw2+UwBgkll2NGyXaZofgHSi0VosxBMRToLyCRg31MJyEYgk41VvS+vvK6NqS1Pmy D3PpF4E7FeHa1gNEm6Fx+KohEpzuO9ef3V5Uf8O7dU9ACuV0ezdcW9LZqSTl8j3nfEJR mPfa56HWHf2jrKwIi+yZ2CyXR9vyXrQbRiGqkB4mAXb0VWNEPMUAF4qTkavJxJBBmqLK 2hcRdPxbCgpjdZXcda/sIKjf+/5HezhBVzKyxKDlPEzBuHwxFWvFpps1uc9PXXmTn8ng c74hnb9ASHXQXj4vKrMFCkPodim2UajeIPSuzZgQGtQChxBglFOy9A3vYVxoTYE3uL3T 197g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GlX1ghA7K5MFvwvh9tPMB+W8XhZilfwCsvalOImEzfU=; b=RUsRoLOVg12Gb/SXrYNyJADlYfoOtrR95Dhb9NYJSqNYE25KbRNsRLhu14wOAQnn3q Jqq+D1scJn+g2hHxwJud9AMAugYR62ep/idRN7J3/KsdRhgfIuOFg6qxWqdccuR7n7ey zW/nKNrTXnRUZs5+Wg3D4wgWxKA+CKqRw/Svkvx0EjwmEi81HEHZyLopoJlCnpZaZexd bRWtJVRrnhQNYrDUvE0AHugr1OhHY70MPinei/6PxfzeSFFlkNZ28Z5EpwHKC8Rn2S2K IWpVG62GzskEDqZu6Qv4IOUdZjypG/k2oNsDnVcfZtiqZ9XviNH1/7bAKgsuyLNxH+y9 Xu1Q== X-Gm-Message-State: APjAAAUcTTn5QLmv+MtrUyCPNBrK9k8fcEIp9Cd1+uz/TI0Rd75hQ85H //lYoaxsWfqelfQfyfc70L6ghMatdP0= X-Google-Smtp-Source: APXvYqyEoSwDcgx+6jnGaPeSWKMSvSbHpyp6qKOMwqVvVGOfpB0b3zmM1kAtqj300Tr99E+ViOKSMQ== X-Received: by 2002:a02:c492:: with SMTP id t18mr27107880jam.67.1562664076190; Tue, 09 Jul 2019 02:21:16 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Tue, 9 Jul 2019 11:20:47 +0200 Message-Id: <20190709092049.13771-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190709092049.13771-1-richard.henderson@linaro.org> References: <20190709092049.13771-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::d41 Subject: [Qemu-devel] [PATCH 3/5] tcg: Remove cpu_ld*_code_ra 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: lvivier@redhat.com, peter.maydell@linaro.org, alex.bennee@linaro.org, pbonzini@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" These functions are not used, and are not usable in the context of code generation, because we never have a helper return address to pass in to them. Signed-off-by: Richard Henderson Reviewed-by: Alex Benn=C3=A9e --- include/exec/cpu_ldst_useronly_template.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/exec/cpu_ldst_useronly_template.h b/include/exec/cpu_l= dst_useronly_template.h index e65733f7e2..8c7a2c6cd7 100644 --- a/include/exec/cpu_ldst_useronly_template.h +++ b/include/exec/cpu_ldst_useronly_template.h @@ -72,6 +72,7 @@ glue(glue(cpu_ld, USUFFIX), MEMSUFFIX)(CPUArchState *env,= abi_ptr ptr) return glue(glue(ld, USUFFIX), _p)(g2h(ptr)); } =20 +#ifndef CODE_ACCESS static inline RES_TYPE glue(glue(glue(cpu_ld, USUFFIX), MEMSUFFIX), _ra)(CPUArchState *env, abi_ptr ptr, @@ -83,6 +84,7 @@ glue(glue(glue(cpu_ld, USUFFIX), MEMSUFFIX), _ra)(CPUArch= State *env, clear_helper_retaddr(); return ret; } +#endif =20 #if DATA_SIZE <=3D 2 static inline int @@ -96,6 +98,7 @@ glue(glue(cpu_lds, SUFFIX), MEMSUFFIX)(CPUArchState *env,= abi_ptr ptr) return glue(glue(lds, SUFFIX), _p)(g2h(ptr)); } =20 +#ifndef CODE_ACCESS static inline int glue(glue(glue(cpu_lds, SUFFIX), MEMSUFFIX), _ra)(CPUArchState *env, abi_ptr ptr, @@ -107,7 +110,8 @@ glue(glue(glue(cpu_lds, SUFFIX), MEMSUFFIX), _ra)(CPUAr= chState *env, clear_helper_retaddr(); return ret; } -#endif +#endif /* CODE_ACCESS */ +#endif /* DATA_SIZE <=3D 2 */ =20 #ifndef CODE_ACCESS static inline void --=20 2.17.1