From patchwork Mon May 15 14:32:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 681954 Delivered-To: patch@linaro.org Received: by 2002:adf:fd8f:0:0:0:0:0 with SMTP id d15csp1150410wrr; Mon, 15 May 2023 07:39:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ68sN2/It7Ttp+iRKUg4RNnPLfg4T/ug2RhnoNXyPv8GkhW3uc+HZWcKeLVJ9czNLy6GHip X-Received: by 2002:a05:6000:11c2:b0:307:9f8:4f30 with SMTP id i2-20020a05600011c200b0030709f84f30mr22640464wrx.70.1684161564727; Mon, 15 May 2023 07:39:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684161564; cv=none; d=google.com; s=arc-20160816; b=pkthRP+RNDGRl9h/MYAPgCOxn4I7BL4DNofEVJ+2hJJPXht1MoEsWnhUppUbc1Ej5A BP/tGellxG/DBky6PYOt8VlFR0854f/dJ4mbVrA3vL9L5Nid2XaQIGMlUb0tqb7x0Twj KxPh0zb/wLdYsK/meG68oeWFUH+xHC3nxPA4htXuRVa+3EjWuewYOK0h6/dvh0UiqUN0 0dYb1iLstiQjasWaspEgVPptHRT7rsbeuNmES337bWNdnPkRsjvLk//LxsTLp/pJNYom VORzHFP/ao/KTOVZgDlMu7evbctruh7y18ynmXQypLveapzC3Zd6uvC/8I7q6jWICuWu fmVQ== 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=3QMQeFWwqcUFumXr1WKfxiG/Sk++Gp7SwpIzlewGlEA=; b=HHces7xSXdacyPDZxhueMp/eTyfLyZ+foVQs78l1wlPiIBtywzEea6euz4IcFLGaNj +AUWWPCdoY9ILg1zm865BJJPLuJPARB7GaC8FL8ZcRXliS04/XCjWLrXSxnbeoj2ZMDY 5C2NDKk6wVe2hzHD0Tk2QfgOwEOrnJ/VdbZt8P3QUjXkZp3vScDjKFE/dR39tL8fdvMn S6na35eyyDh4nrftAION7sr3iFBQmlcBVazDOT1+sr0pSdSjGg81rgXubYaRX35Ub2Km ey45dDxEm1025OZRt679dc1cFBkNhPFNRj/5h8thV3OhCY5DVyjBZHKjm07VZLg0NvZW 2UuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vY8W9qv6; 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 s11-20020a5d6a8b000000b00307b2709799si9332131wru.494.2023.05.15.07.39.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 15 May 2023 07:39:24 -0700 (PDT) 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=vY8W9qv6; 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 1pyZIm-0001FM-1X; Mon, 15 May 2023 10:35:52 -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 1pyZHo-0007G9-8o for qemu-devel@nongnu.org; Mon, 15 May 2023 10:34:52 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pyZHc-00051Z-Jc for qemu-devel@nongnu.org; Mon, 15 May 2023 10:34:52 -0400 Received: by mail-pl1-x62f.google.com with SMTP id d9443c01a7336-1aaebed5bd6so90783635ad.1 for ; Mon, 15 May 2023 07:33:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684161220; x=1686753220; 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=3QMQeFWwqcUFumXr1WKfxiG/Sk++Gp7SwpIzlewGlEA=; b=vY8W9qv6VVO3vZNzHxzp15ikXYAwSDUNLoUQKMp7UVlkIdNbXiPFWv9XW+nMGPnDYp n3QvtJ2ewT+qZzUEYdo2YXhxdOUHE34pgyqtXfHOCyrR0p7VCixtzy7/N5tl7BUlehA9 NXY9o7qNJPDD/3led1syGVQmromMrN9w5GafoWJocAquyw7fsQatd0+9Fq3TrhF2AUc7 9f9qHr0gDL8yqt6cjKoEJEWF76Cw//YKTf0YFxCwtupjvWwU5jDvsrAmcIHt2DuWbP3f Rl5iEPebCq6sKdTNd/GgfTBPoLczYsPHPW+wpM39pAxuH9yQn6u5us37TvUZHz+3AT9s ZLgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684161220; x=1686753220; 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=3QMQeFWwqcUFumXr1WKfxiG/Sk++Gp7SwpIzlewGlEA=; b=BxCdvpJHwTFEN3UGrFQHSS84fflyuwbg25Fs4ARLrmt23EKp63IYb91YiUQgh3WpZX 7bKZBH7FoguUN26S+FyrAtvLc2CQop9mDBIKZr3+9y9OQV4JDY7xf8giQB5CpIZO38FY 2ZsSMLtQECEdxCnKGUde3fmdnENT4impoZRbq3tG3vYlTqh7hGcyCDFfRc0h6c0iV1Tn KKECgRl9Zz6aqCQSvN/N8+tpqE6xFkgXAgyFS3eSQvLCq3FRFSqKGTYffTbaU6d5wpRd auIzVi5DodNqLgXpydubCJ0MUUKrmdR2as9ZtFIP3Ds0mjdG93MHifsRKh/Pln4tWn7j Xqvg== X-Gm-Message-State: AC+VfDwQlzde86NsiYi18fsggEtU/E3UujuuDSaSWbecU3vAZxligMa1 ScSmZPz82aYA5IfrL73Qj5luzUdbckpATqKrRtQ= X-Received: by 2002:a17:903:1249:b0:1ab:220a:9068 with SMTP id u9-20020a170903124900b001ab220a9068mr45238720plh.42.1684161220627; Mon, 15 May 2023 07:33:40 -0700 (PDT) Received: from stoup.. ([2602:ae:1598:4c01:9902:96ac:8d8c:4366]) by smtp.gmail.com with ESMTPSA id ik9-20020a170902ab0900b001ab0aec388bsm13694335plb.135.2023.05.15.07.33.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 May 2023 07:33:40 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-s390x@nongnu.org, Peter Maydell Subject: [PATCH v5 30/54] accel/tcg: Remove helper_unaligned_{ld,st} Date: Mon, 15 May 2023 07:32:49 -0700 Message-Id: <20230515143313.734053-31-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230515143313.734053-1-richard.henderson@linaro.org> References: <20230515143313.734053-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62f.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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 These functions are now unused. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- include/tcg/tcg-ldst.h | 6 ------ accel/tcg/user-exec.c | 10 ---------- 2 files changed, 16 deletions(-) diff --git a/include/tcg/tcg-ldst.h b/include/tcg/tcg-ldst.h index 64f48e6990..7dd57013e9 100644 --- a/include/tcg/tcg-ldst.h +++ b/include/tcg/tcg-ldst.h @@ -60,10 +60,4 @@ void helper_stq_mmu(CPUArchState *env, target_ulong addr, uint64_t val, void helper_st16_mmu(CPUArchState *env, target_ulong addr, Int128 val, MemOpIdx oi, uintptr_t retaddr); -#ifdef CONFIG_USER_ONLY - -G_NORETURN void helper_unaligned_ld(CPUArchState *env, target_ulong addr); -G_NORETURN void helper_unaligned_st(CPUArchState *env, target_ulong addr); - -#endif /* CONFIG_USER_ONLY */ #endif /* TCG_LDST_H */ diff --git a/accel/tcg/user-exec.c b/accel/tcg/user-exec.c index 8f86254eb4..7b824dcde8 100644 --- a/accel/tcg/user-exec.c +++ b/accel/tcg/user-exec.c @@ -889,16 +889,6 @@ void page_reset_target_data(target_ulong start, target_ulong last) { } /* The softmmu versions of these helpers are in cputlb.c. */ -void helper_unaligned_ld(CPUArchState *env, target_ulong addr) -{ - cpu_loop_exit_sigbus(env_cpu(env), addr, MMU_DATA_LOAD, GETPC()); -} - -void helper_unaligned_st(CPUArchState *env, target_ulong addr) -{ - cpu_loop_exit_sigbus(env_cpu(env), addr, MMU_DATA_STORE, GETPC()); -} - static void *cpu_mmu_lookup(CPUArchState *env, abi_ptr addr, MemOp mop, uintptr_t ra, MMUAccessType type) {