From nobody Sat May 4 09:43:25 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1596458986; cv=none; d=zohomail.com; s=zohoarc; b=nS41IXnmalNlSp8Udpt3W2XDFYLZ8l0tIzh7VK498XeneUS0+LBd51MC13AMmdEvG3xLXfXI8t32UvwONM/nJXRxMI0lugWyOFTUjw8vUZkg0jg5QMC7BBAUb6rEzrxRq77KeL8V1f+v+ezQh6E4iAkS2ym8mGwu1whNO0IgLmU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596458986; h=Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=Y1ekWK8CJLvHrVxfCc2kYGCDX3fGw6jKhM4D+UOMVQU=; b=Y+twkh2OJk/aaIF+y8c4Toml1wpvxoI9AvHoMfeAGjoOMJtYRnb1CQClw2c+Q4hX3CFimZd/r0YtfeTwNdZ0QeCND0R7BUw9xsvgVDtoZaUusj6K73z+JlIyWTEjtYEMDFVo/Q77J2IE8Dri9uRnqRBqapMdOngQQCLkhRbeaNg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1596458986711662.3870382652798; Mon, 3 Aug 2020 05:49:46 -0700 (PDT) Received: from localhost ([::1]:39052 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2ZuT-0000RT-9g for importer@patchew.org; Mon, 03 Aug 2020 08:49:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2Ztf-0008Jz-To for qemu-devel@nongnu.org; Mon, 03 Aug 2020 08:48:55 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:36782) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2Ztd-0007Zi-8D for qemu-devel@nongnu.org; Mon, 03 Aug 2020 08:48:55 -0400 Received: by mail-wm1-x342.google.com with SMTP id 3so15314609wmi.1 for ; Mon, 03 Aug 2020 05:48:52 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id d7sm19153174wra.29.2020.08.03.05.48.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Aug 2020 05:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y1ekWK8CJLvHrVxfCc2kYGCDX3fGw6jKhM4D+UOMVQU=; b=hR+x5ZYpgOfTj9hImkFq4ttlq2WAV+xBJSbajC/E7sa+oROv4i3j5JhVPv38hKOZrW 0HLp58Lx13AEu2x3JFGiBAfWmcbaRU5S3kqb2vadt7hTBjujS/ZiTOqMXSIhYnkrjS0a eud0W/iHqZ3vsYnvY7/Et3EJmkk7bnDu2ZyS/4Bt85qBf8iqKWLw9H3ujZxf8wgHKGwU dOUP/tFfikSm7eRHTy2Igve3WqMcRsE3z9MbT9hpRgEXy3IQjw4GUVhdMQfkn0KR7fAI 4slzuGHlc4TZAiM/GgBDGJ6uyuJbDVZ2ES3MuYcBK+JUS4nhr10z3bk+51ERIj+j7JpU Kgtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Y1ekWK8CJLvHrVxfCc2kYGCDX3fGw6jKhM4D+UOMVQU=; b=QBK05Zu+hklgDD7ssOJl1RdtMDlqLrLDv4pdPiCSyWmVkjJeQJbtsdAhmTB1KsnBA2 nT46jC7SQbkiV3YrkCafxBqkBbIHA6Eawlq/X0fTOPUdU5dOqIQoerkdg9l9EPCzZnJy yZUlQ/T1Dg7fSpmpDlKeVfp2YAZnbF/vl8+MePcTBfBaIeNXAWlI9+Gv9+VFHMPem8T1 Ff3o4L2ifmRBFVLiFSh8c6b+wYnBNs6tjE7T6rYBiNXVt411XKpFafoszexnwF5s+g+q 18cc+pSBv6CfxUPbCvmzP1lL+BrjkJjheJthhwBo/y5L/ZIKcc/dLKV5Lkr3C/TyxhQQ NYQw== X-Gm-Message-State: AOAM533EOoYYsZ2FnVR1cgj0RT7sZjecEtZ5Tn296Thm2I8R1ghPEYBY N4/Idk2MbHlruWu+4++5dpA/GCpha2QXMg== X-Google-Smtp-Source: ABdhPJzE1z34Bxuf3hSO7vcf19ZRKdzwMDDTIi7X9o6mMipYo/II9z6mJ+MVdMMfu1Oe5eTsMOeEIw== X-Received: by 2002:a7b:c054:: with SMTP id u20mr22517wmc.2.1596458930936; Mon, 03 Aug 2020 05:48:50 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH] target/arm: Delete unused VFP_DREG macros Date: Mon, 3 Aug 2020 13:48:48 +0100 Message-Id: <20200803124848.18295-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x342.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) Content-Type: text/plain; charset="utf-8" As part of the Neon decodetree conversion we removed all the uses of the VFP_DREG macros, but forgot to remove the macro definitions. Do so now. Signed-off-by: Peter Maydell Reviewed-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/arm/translate.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/target/arm/translate.c b/target/arm/translate.c index c39a929b938..27bf6cd8b51 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -2471,21 +2471,6 @@ static int disas_dsp_insn(DisasContext *s, uint32_t = insn) return 1; } =20 -#define VFP_REG_SHR(x, n) (((n) > 0) ? (x) >> (n) : (x) << -(n)) -#define VFP_DREG(reg, insn, bigbit, smallbit) do { \ - if (dc_isar_feature(aa32_simd_r32, s)) { \ - reg =3D (((insn) >> (bigbit)) & 0x0f) \ - | (((insn) >> ((smallbit) - 4)) & 0x10); \ - } else { \ - if (insn & (1 << (smallbit))) \ - return 1; \ - reg =3D ((insn) >> (bigbit)) & 0x0f; \ - }} while (0) - -#define VFP_DREG_D(reg, insn) VFP_DREG(reg, insn, 12, 22) -#define VFP_DREG_N(reg, insn) VFP_DREG(reg, insn, 16, 7) -#define VFP_DREG_M(reg, insn) VFP_DREG(reg, insn, 0, 5) - static inline bool use_goto_tb(DisasContext *s, target_ulong dest) { #ifndef CONFIG_USER_ONLY --=20 2.20.1