From patchwork Mon Oct 14 23:22:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 835182 Delivered-To: patch@linaro.org Received: by 2002:adf:b352:0:b0:37d:45d0:187 with SMTP id k18csp2211128wrd; Mon, 14 Oct 2024 16:23:26 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUgYZZhdC9ZJyL7tHEQ+d/a3Z0GQd8K0Fu1VblTQCQ9q00Ybqxqqk0IO2Dh/vEUgGPSeKFCxQ==@linaro.org X-Google-Smtp-Source: AGHT+IFcmVThDarmjWQ6Uiar9y105Mn6vuRyxP2krbK6kEaxxKhppZxvmDGWTOMTMO8w3lIc0yQH X-Received: by 2002:a05:620a:4010:b0:7a9:a3f7:ef30 with SMTP id af79cd13be357-7b121008b64mr1413863885a.45.1728948206545; Mon, 14 Oct 2024 16:23:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1728948206; cv=none; d=google.com; s=arc-20240605; b=IBRgjEn/xZmP3upoF7susek0LL2hWcEpr09RoBP+GIojScxSwobZ4Zxy5u5Buf+uCL VmiPzugtSHnL05b256+BhsEqQvQsoy/YXomGX0ZShaoNS+mv2qN5dgwIlOMyHEqeqy2v Yk8c7f+73XQTerkcyX8leKtdycFrM/wB5XPJOZwcdomiOIpetHfJ3itkqtsyTIpDpoEu QJ9o5bkzJqi0XsH8JUz/tL95y00eQHuYrut7D2o1Iqw2k8bPEKAORcYpSdqyIYVFCmGd mU/z0w3UgACUKBnCYrAqEBgrvOFXPGDuDwjety6acYchgMie2lsnPikzESKIjioAHCp7 Bqig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=y1u+ZvgIQjZ6JDHGe3izzZSLU+rKVxyWULrWHBsrCDg=; fh=lnKfSRt/Twj1XRrphqcgaogof3OsynbdvhRwaGdKeE8=; b=Bt4T47lnydmG2qq3+fD1XsSU+VzVJ04gEMZ3Dv8SNBjYU61c5GzqQEOzu9PoRXDrLw lQcftdK6X1J6x9Sqn7gFxkm2BdwH/HBWAtOQ7VCeSsvAD1K4ntywAqiEqDgt9u/Ofctv FJtAkIaChqy+qIvAjeBayO9a9R2Zl+/4UtpHCb+LnGVX5sJyEAvmEmTh1wF5+K0Pxu7q gljq4/zqlVCKTlqab8IKcVeh5xo3rNPjzdcWjYIK0+kv07eTMSvr0Q9YPn1YWAjptSMM X/G+cXhd5q8kjrIQEvJwGoKc8KwmTRc2BcMKhj9gyb6WCvDfUmeOUHKb+i6gGQrCGRsn e8/g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R2GmFrMj; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7b1363e3b25si16699185a.419.2024.10.14.16.23.26 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Oct 2024 16:23:26 -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=R2GmFrMj; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t0UOk-0001Wn-C7; Mon, 14 Oct 2024 19:22:46 -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 1t0UOi-0001R6-8J for qemu-devel@nongnu.org; Mon, 14 Oct 2024 19:22:44 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t0UOg-0006rr-LX for qemu-devel@nongnu.org; Mon, 14 Oct 2024 19:22:44 -0400 Received: by mail-pg1-x52d.google.com with SMTP id 41be03b00d2f7-7e9fd82f1a5so3043727a12.1 for ; Mon, 14 Oct 2024 16:22:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728948160; x=1729552960; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=y1u+ZvgIQjZ6JDHGe3izzZSLU+rKVxyWULrWHBsrCDg=; b=R2GmFrMj941mt+xo1eaWsKgcYzbZQnDsaGxZszZd7TBuXu2GVl1WsqdU3vFELIqmj0 iw21FZogPpIo1scWzOxNYrHHWOrgEx8gEg56M0liH//Xua9kSf6y8kdRZxyunxwlH5Dw 5XdwFjv6M4QdGjAx02t3+fMqYfxYL9DFkEFGVZE6Y/AwhWG4XmlGnhlzNC3DW7RBGu9Z x7mcGkgWCRtSzwfttlVssLI/+f55Uc5q/hYPDO2C/rYaeGD/K0tqZBC8hYNSyc2b6juq o6T2nJrUVYxVFuxeF7YRJFZJQ5aqhlsyZGeoordhVI2RTUHvyb3q8qq/iRUSeiTRDIyN 7wGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728948160; x=1729552960; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=y1u+ZvgIQjZ6JDHGe3izzZSLU+rKVxyWULrWHBsrCDg=; b=km0gRYZun5SwPmWrbx7adP0CwlHsfBqkAVRraak1rs7saSdBd+xNQ/r3xKzBbcDyFJ zrkobfin+VAxENPKF6bZQutQhv6ZEf8dTjULoME3CT/guIUGvuT5U/yMC54ZuP1a7gKL SpzWgztWCZDzKDwfA5TdoKAI0WB6sEpMxHspkBMBRBo+F6/b8+1r6BSw9dCpPZaYJVD+ XOwLI2tYlXQtrPBLuwgEtRvu6wig1ICDN7wjpwImXnQducmMLAjeh733fSApdBTvq74+ 2u/zd+DP0pd6ivRsTAV/rPw3ES0etT1FMHaglY+3X8z7idFNS2Ow+yAEP0b5BLxnyMW2 MI+g== X-Gm-Message-State: AOJu0YxcAjsjvzQ/38OjBslxDE2tojLcOokMcmiHRxXMizIdAuHlKWDs WkRQwZsJLlAEgmG/6etlLwVhvxhYs9YXnC1XTGhlY0Ibw+lzJU7ZUPEWrilsFP9c9trL3S/2TQi Y X-Received: by 2002:a05:6a20:9f96:b0:1d6:d5c1:e504 with SMTP id adf61e73a8af0-1d8c95a8a23mr16873299637.26.1728948160394; Mon, 14 Oct 2024 16:22:40 -0700 (PDT) Received: from localhost.localdomain ([45.176.88.167]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71e774a431bsm75071b3a.137.2024.10.14.16.22.38 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 14 Oct 2024 16:22:39 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Aleksandar Rikalo , Richard Henderson , Jiaxun Yang , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Aurelien Jarno Subject: [PATCH] target/mips: Remove unused MEMOP_IDX() macro Date: Mon, 14 Oct 2024 20:22:35 -0300 Message-ID: <20241014232235.51988-1-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::52d; envelope-from=philmd@linaro.org; helo=mail-pg1-x52d.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 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, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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 MEMOP_IDX() is unused since commit 948f88661c6 ("target/mips: Use cpu_*_data_ra for msa load/store"), remove it. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/mips/tcg/msa_helper.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/target/mips/tcg/msa_helper.c b/target/mips/tcg/msa_helper.c index d2181763e72..1d40383ca4f 100644 --- a/target/mips/tcg/msa_helper.c +++ b/target/mips/tcg/msa_helper.c @@ -8211,14 +8211,6 @@ void helper_msa_ffint_u_df(CPUMIPSState *env, uint32_t df, uint32_t wd, /* Element-by-element access macros */ #define DF_ELEMENTS(df) (MSA_WRLEN / DF_BITS(df)) -#if !defined(CONFIG_USER_ONLY) -#define MEMOP_IDX(DF) \ - MemOpIdx oi = make_memop_idx(MO_TE | DF | MO_UNALN, \ - mips_env_mmu_index(env)); -#else -#define MEMOP_IDX(DF) -#endif - #if TARGET_BIG_ENDIAN static inline uint64_t bswap16x4(uint64_t x) {