From patchwork Fri May 5 21:24:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 679326 Delivered-To: patch@linaro.org Received: by 2002:a5d:4a41:0:0:0:0:0 with SMTP id v1csp579195wrs; Fri, 5 May 2023 14:26:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ679PiY0AyaAvGLRvg4ssQsWxw/OHXmEiZlJDqTUIswHTwyaqUkt88Yprq0P7LefZd6IafV X-Received: by 2002:a05:622a:3cc:b0:3f2:39:6352 with SMTP id k12-20020a05622a03cc00b003f200396352mr5168433qtx.7.1683322000939; Fri, 05 May 2023 14:26:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683322000; cv=none; d=google.com; s=arc-20160816; b=rrncPz4ijRFieOD+9ZtTy5C6IayJKz4WcpEM75+ZRHoioMR8P324QgWHxJRPAhpOd0 wRrCYsHY1CYuH9DDvUe5reMXmFiIu6MM61d17CGXITWGrsLBE33FpO1GusLm6yQe5eto cWzRu4GSWfBE4SvKkjHaICXnUbuDJnHqw3j5ZFXscxlxtU4OPKCp2vy/jN4UoNxE2cR+ 01MgqdVcN2Fjr4ca9b3pmYJ4G1vJaErVElJ/d9B+YTf6MqXCfvJohNE9TaC4dtqq5OaV gK2MD3n25T8goc9eJbb7dbnAHtVHigEJisf9tg93tkDHBlOr28zQKvByDp0dKxuQoyok RP6Q== 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=bOXqUcEIKY7lYB4B2J+FOo94uyYip8zFUIfwUoelhLc=; b=ZbX6btsyvh+5B287HwgDIIj1TDe+z8PjVmvcUyWOfM8y0vFih7XB0sDbE/ZfS+F2S+ ukGfsIX3Vses5a/F0phYfJLvnHvRhgllnRyX+TUshqVBFlem1Uj4rfsqwkOuUpWLAC6h OoL8cereRxF+vGjVrlcTPpZubbB2buhY46CXREeFFq5ugtb88D3xAu0YhjSSBaAcma9K eVoEZ9f+K+RVqK2S7qCbN9AsQarHPjq4nPAmliu6s1H0R010z1HvYxwsfJOaTLLK4fVQ boSEWkZrF6CxPFi6NCz92incnbQB6sPZsHo8oP3WzY0zESiaHpJJHwhXq0Hi0h4+I13p CtWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=N8XbGOn3; 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 p17-20020ae9f311000000b0074de774a195si982527qkg.373.2023.05.05.14.26.40 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 05 May 2023 14:26:40 -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=N8XbGOn3; 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 1pv2vD-0000eB-Mj; Fri, 05 May 2023 17:24:59 -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 1pv2vC-0000dL-LM for qemu-devel@nongnu.org; Fri, 05 May 2023 17:24:58 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pv2vA-0004P4-2M for qemu-devel@nongnu.org; Fri, 05 May 2023 17:24:58 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f19a7f9424so23070775e9.2 for ; Fri, 05 May 2023 14:24:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683321894; x=1685913894; 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=bOXqUcEIKY7lYB4B2J+FOo94uyYip8zFUIfwUoelhLc=; b=N8XbGOn3jryyqdBF+LSeNzvGmLZhb12N8iNx1K9pHJI0odgUrgb3QyVLJVoNN3LPbB D0CtxOX83zjUhe1Z55h0RDfqaisbjI1ghtH3kXgWuHuiwlVgQQy0xz2j445IHMxXO7y+ ioR4NxRRZ28mO4SxY6fYasjpqznUkd9GmQ4/BZEURLg+4/Ppuf4BTVjW6kOgk5vLjYJ/ AkDE4Vxt0bwrEJHgBdMNBK7k9ktsvxmdm0LOZkUqnjQOL9tgEb6MHAH2X6orFgBcFQtQ W32nHlK2OmfIvSCLDE373ARKBLIsTESTX6GK1KN84Bm33xN3Ez/PL4TuhQtblUnQ/zfR Qo8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683321894; x=1685913894; 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=bOXqUcEIKY7lYB4B2J+FOo94uyYip8zFUIfwUoelhLc=; b=fHhI1RAlnW5bLR7E4G2Rc0AKhF3+VNd9sT5REzD4Uh3KiK3X8KSp4I28k/eh2zJi85 ajkOKcn3zp6Z4GonhBughYd+Nm/VG5WDy8i4jdI5hbBeXM+iqUZ7o0oP/eP5rYdZyPta 8OD6QTbVnscMx2k662806WbWhXpQT4j0IL0qs81a2h2VOK6dnC+LK0Lqx7PfiW8A7oNW 4C7iAVI+Pg2LsB2KOHlcbrRUt+8f6um8sT8jV+EcfnFcvSODUMKEw+5D5+yeaJNOQR+v kTcQUEFvoiMzJ/+JMLjL8WxE8djgPn6+IVz2qEsf0BWTnSKj3/GR6K97XUPRTIFdAwLQ rduQ== X-Gm-Message-State: AC+VfDyEA3YK62NSmFmXZ49n1uz9ZP0rZuWDkJM2Mdhqh57pldhFt2/4 v2zWSTm280b5qYgGwMLtNu/KtMdWDuqM6kaZoF2HPA== X-Received: by 2002:a5d:4570:0:b0:306:44a9:76a1 with SMTP id a16-20020a5d4570000000b0030644a976a1mr2040826wrc.17.1683321894682; Fri, 05 May 2023 14:24:54 -0700 (PDT) Received: from stoup.. ([212.241.182.8]) by smtp.gmail.com with ESMTPSA id t14-20020a5d460e000000b003047ae72b14sm3426709wrq.82.2023.05.05.14.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 May 2023 14:24:54 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: David Hildenbrand Subject: [PULL 10/42] tcg: Remove compatability helpers for qemu ld/st Date: Fri, 5 May 2023 22:24:15 +0100 Message-Id: <20230505212447.374546-11-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230505212447.374546-1-richard.henderson@linaro.org> References: <20230505212447.374546-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=richard.henderson@linaro.org; helo=mail-wm1-x329.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 Message-Id: <20230502135741.1158035-10-richard.henderson@linaro.org> --- 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,