From patchwork Tue May 2 13:57:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 678411 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp522930wrs; Tue, 2 May 2023 06:59:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7YyBVZKuDdJVWI1KJzqZFpH+eLrxXnQvYt7KtnR6pom/DK2DsDGuzu7JEFGcINFmo2WVkj X-Received: by 2002:a05:622a:46:b0:3ef:2fbd:90ba with SMTP id y6-20020a05622a004600b003ef2fbd90bamr28088132qtw.43.1683035971636; Tue, 02 May 2023 06:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683035971; cv=none; d=google.com; s=arc-20160816; b=jBMKTDZTRMoMq+kKxUTjJOR2SMo78EXAnByPdsAVR8XDaGGcnkOJrCZVi+/5VNgwsy Ct9YPOMrdElrt8REjuaKE05WKqmLuOWMfLUQRMG/asTAXP5wHnmGTPP42ycbHntLPLZf 5VnPoY6bRh44OxBxKuMf6BH5yRRldewxCnSZiEq1JLGiWn/gxdx6ZGmG6kiLnQvZ9KDI 3tyHyHL9GWGv1J0VyTdYc8f5f7VeVvJRtRXgoQwopYGck7jVCNkRs9zSPyq1fT6+euXK eXcYXJFcviKJuH86fKvC7UmVo/KHRsLmBAzO4bWP7toXaJX0TCTpHhJe3t3hCze5fgV+ 0iew== 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=k8+IvNZJMcdLOhL9FxadBq6IK3jqw0ZHg8erBjOx+uw=; b=FQmZnF61der76/otEgRPn0GpODSsrngs1b8NuuL/v5GzuuUf8jwIn2rnMosxwfXTMX G1ZX+QMF5golv/QSXHg9cV4RxIIGfSiV1laUYwOxL+ODU6B89yxarkzDXNdxLgAK2P89 OOdvkb6Uz+gay11rlHu6ZXgCXulDGzaTgKDaATnviUBrceZtuvcXe3t75jECo7EzJiKn Ii75o29brntJytpIEccB0VDMtxooxhXkvP5RwDAzdjPdn0UyCrpPshRwSn8sVMoJS8AZ 4RTq9ikyzA5RFLInN2DQOVu+e13Rkk9Bx3jbuam5reVpl+I41lRhof/QqjVTZckezyZN 9mgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GAlIZT1N; 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 3-20020a05620a070300b0074ac18604casi1961101qkc.50.2023.05.02.06.59.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 May 2023 06:59:31 -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=GAlIZT1N; 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 1ptqW1-0001De-3o; Tue, 02 May 2023 09:58:01 -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 1ptqVu-0001AB-4C for qemu-devel@nongnu.org; Tue, 02 May 2023 09:57:54 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ptqVs-0003UW-8W for qemu-devel@nongnu.org; Tue, 02 May 2023 09:57:53 -0400 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f19323259dso37791805e9.3 for ; Tue, 02 May 2023 06:57:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683035871; x=1685627871; 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=k8+IvNZJMcdLOhL9FxadBq6IK3jqw0ZHg8erBjOx+uw=; b=GAlIZT1NgLMja07uXJVppK40zEw2x52ILLazz+iarnn9/C0zBkTLgFrxnCpVY30LF5 k7IZ9ivmK9ed3maEkyJ/k1aLkbyL407aprK4lnCS/PmeGe0jRUR/6ZSH5IeYSpzsBxhX /20zQh1ay4jK33FHRf77NsanM8GUi1/Rr6KaHDybxHKln6V+F/CTWRQFTrkan0FN/vEt 1jOdEr10AMse2ObvS0G5TXGVFeWHfjjFwzKHW10h9pIv4MCcC3EvD282KOzNLMsw9DlL a4Z+u2J/9HbMK5VjXcInntCkyyR4L8fpqqxhEDE/GwHq7PgJywhMsjnjepy2sgGcoy/l T3KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683035871; x=1685627871; 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=k8+IvNZJMcdLOhL9FxadBq6IK3jqw0ZHg8erBjOx+uw=; b=AhlDaMZxyRk7vbTbRSSJxRWHsCrd7bvouLp4+obGY+kBm+yF9ZjvTanxFeJe9N+NAA HS1ri5nebw3XrphoM5ARBeyiFizvUxOoaUYap8ilRCymAC/HlVOPJs6ai0lPVS0+O2f9 DzvOokBgDmNZ9v99BuX1HHa13hvEX2DVGS14HiugmADvFYOQrHtNe88s4U5PGsxWowpO XbFn+n78q4n9tPJGD/uVjFpGFsxx7i4RREgj6ck4QFyvawiGKT68U3Qf8KYCWikSVig3 TagjTmHyrMkqzFbm5my1fULvC0NKxBaWXczOJzG61MFGNHmXd6PlUp7wBOPqmjRvSr5x uydA== X-Gm-Message-State: AC+VfDx0fKCBq20bdiToGfLyt13Usz9GBUI1nztGlqTJ2jV7k05ZNHRF SpOtxDai0KF1Jnw3mZSQxrV2H2KE21MKyR7TgtVMaA== X-Received: by 2002:a1c:7408:0:b0:3f1:8142:43ff with SMTP id p8-20020a1c7408000000b003f1814243ffmr12035358wmc.12.1683035870908; Tue, 02 May 2023 06:57:50 -0700 (PDT) Received: from stoup.Home ([2a02:c7c:74db:8d00:ad29:f02c:48a2:269c]) by smtp.gmail.com with ESMTPSA id j32-20020a05600c1c2000b003f173987ec2sm39461140wms.22.2023.05.02.06.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 May 2023 06:57:50 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: mrolnik@gmail.com, edgar.iglesias@gmail.com, tsimpson@quicinc.com, ale@rev.ng, anjo@rev.ng, laurent@vivier.eu, philmd@linaro.org, jiaxun.yang@flygoat.com, david@redhat.com, iii@linux.ibm.com, thuth@redhat.com, mark.cave-ayland@ilande.co.uk, atar4qemu@gmail.com, jcmvbkbc@gmail.com Subject: [PATCH 9/9] tcg: Remove compatability helpers for qemu ld/st Date: Tue, 2 May 2023 14:57:41 +0100 Message-Id: <20230502135741.1158035-10-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230502135741.1158035-1-richard.henderson@linaro.org> References: <20230502135741.1158035-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x32e.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=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 Remove the old interfaces with the implicit MemOp argument. Signed-off-by: Richard Henderson Acked-by: David Hildenbrand --- include/tcg/tcg-op.h | 55 -------------------------------------------- 1 file changed, 55 deletions(-) diff --git a/include/tcg/tcg-op.h b/include/tcg/tcg-op.h index dff17c7072..4401fa493c 100644 --- a/include/tcg/tcg-op.h +++ b/include/tcg/tcg-op.h @@ -841,61 +841,6 @@ void tcg_gen_qemu_st_i64(TCGv_i64, TCGv, TCGArg, MemOp); void tcg_gen_qemu_ld_i128(TCGv_i128, TCGv, TCGArg, MemOp); void tcg_gen_qemu_st_i128(TCGv_i128, TCGv, TCGArg, MemOp); -static inline void tcg_gen_qemu_ld8u(TCGv ret, TCGv addr, int mem_index) -{ - tcg_gen_qemu_ld_tl(ret, addr, mem_index, MO_UB); -} - -static inline void tcg_gen_qemu_ld8s(TCGv ret, TCGv addr, int mem_index) -{ - tcg_gen_qemu_ld_tl(ret, addr, mem_index, MO_SB); -} - -static inline void tcg_gen_qemu_ld16u(TCGv ret, TCGv addr, int mem_index) -{ - tcg_gen_qemu_ld_tl(ret, addr, mem_index, MO_TEUW); -} - -static inline void tcg_gen_qemu_ld16s(TCGv ret, TCGv addr, int mem_index) -{ - tcg_gen_qemu_ld_tl(ret, addr, mem_index, MO_TESW); -} - -static inline void tcg_gen_qemu_ld32u(TCGv ret, TCGv addr, int mem_index) -{ - tcg_gen_qemu_ld_tl(ret, addr, mem_index, MO_TEUL); -} - -static inline void tcg_gen_qemu_ld32s(TCGv ret, TCGv addr, int mem_index) -{ - tcg_gen_qemu_ld_tl(ret, addr, mem_index, MO_TESL); -} - -static inline void tcg_gen_qemu_ld64(TCGv_i64 ret, TCGv addr, int mem_index) -{ - tcg_gen_qemu_ld_i64(ret, addr, mem_index, MO_TEUQ); -} - -static inline void tcg_gen_qemu_st8(TCGv arg, TCGv addr, int mem_index) -{ - tcg_gen_qemu_st_tl(arg, addr, mem_index, MO_UB); -} - -static inline void tcg_gen_qemu_st16(TCGv arg, TCGv addr, int mem_index) -{ - tcg_gen_qemu_st_tl(arg, addr, mem_index, MO_TEUW); -} - -static inline void tcg_gen_qemu_st32(TCGv arg, TCGv addr, int mem_index) -{ - tcg_gen_qemu_st_tl(arg, addr, mem_index, MO_TEUL); -} - -static inline void tcg_gen_qemu_st64(TCGv_i64 arg, TCGv addr, int mem_index) -{ - tcg_gen_qemu_st_i64(arg, addr, mem_index, MO_TEUQ); -} - void tcg_gen_atomic_cmpxchg_i32(TCGv_i32, TCGv, TCGv_i32, TCGv_i32, TCGArg, MemOp); void tcg_gen_atomic_cmpxchg_i64(TCGv_i64, TCGv, TCGv_i64, TCGv_i64,