From nobody Fri Nov 7 18:50:31 2025 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) 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; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1548423732820330.92283571285975; Fri, 25 Jan 2019 05:42:12 -0800 (PST) Received: from localhost ([127.0.0.1]:44806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gn1k9-0002YZ-L7 for importer@patchew.org; Fri, 25 Jan 2019 08:42:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gn1aJ-0002lD-OW for qemu-devel@nongnu.org; Fri, 25 Jan 2019 08:31:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gn1aH-0002Vu-As for qemu-devel@nongnu.org; Fri, 25 Jan 2019 08:31:51 -0500 Received: from mx2.rt-rk.com ([89.216.37.149]:35832 helo=mail.rt-rk.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gn1aH-0002Uv-2M for qemu-devel@nongnu.org; Fri, 25 Jan 2019 08:31:49 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.rt-rk.com (Postfix) with ESMTP id 0734D1A23FF; Fri, 25 Jan 2019 14:31:47 +0100 (CET) Received: from rtrkw774-lin.domain.local (rtrkw774-lin.domain.local [10.10.13.43]) by mail.rt-rk.com (Postfix) with ESMTPSA id BFDEE1A21CC; Fri, 25 Jan 2019 14:31:46 +0100 (CET) X-Virus-Scanned: amavisd-new at rt-rk.com From: Aleksandar Markovic To: qemu-devel@nongnu.org Date: Fri, 25 Jan 2019 14:31:25 +0100 Message-Id: <1548423098-31864-2-git-send-email-aleksandar.markovic@rt-rk.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1548423098-31864-1-git-send-email-aleksandar.markovic@rt-rk.com> References: <1548423098-31864-1-git-send-email-aleksandar.markovic@rt-rk.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.216.37.149 Subject: [Qemu-devel] [PULL 01/14] target/mips: nanoMIPS: Remove duplicate macro definitions X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, amarkovic@wavecomp.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Aleksandar Markovic Several macros were defined twice, with identical values, so remove duplicates. Previously added in 80845edf37b. This reverts commit 6bfa9f4c9cf24d6cfaaa227722e9cdcca1ad6fe9. Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Aleksandar Markovic --- target/mips/translate.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/target/mips/translate.c b/target/mips/translate.c index ab307c4..6002d1c 100644 --- a/target/mips/translate.c +++ b/target/mips/translate.c @@ -18502,16 +18502,6 @@ static inline int decode_gpr_gpr4_zero(int r) } =20 =20 -/* extraction utilities */ - -#define NANOMIPS_EXTRACT_RD(op) ((op >> 7) & 0x7) -#define NANOMIPS_EXTRACT_RS(op) ((op >> 4) & 0x7) -#define NANOMIPS_EXTRACT_RS2(op) uMIPS_RS(op) -#define NANOMIPS_EXTRACT_RS1(op) ((op >> 1) & 0x7) -#define NANOMIPS_EXTRACT_RD5(op) ((op >> 5) & 0x1f) -#define NANOMIPS_EXTRACT_RS5(op) (op & 0x1f) - - static void gen_adjust_sp(DisasContext *ctx, int u) { gen_op_addr_addi(ctx, cpu_gpr[29], cpu_gpr[29], u); --=20 2.7.4