From patchwork Mon Aug 3 12:48:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 247374 Delivered-To: patch@linaro.org Received: by 2002:a92:cc90:0:0:0:0:0 with SMTP id x16csp1183160ilo; Mon, 3 Aug 2020 05:49:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyA3moLj75880M2/9SsTYXEIhg0jqe+qq8NiBJYPNVdnsThTslNeLaPXCrTdNCkSLwO8Brm X-Received: by 2002:a25:e406:: with SMTP id b6mr184677ybh.211.1596458946636; Mon, 03 Aug 2020 05:49:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596458946; cv=none; d=google.com; s=arc-20160816; b=GF7fhGL2qNTc2GycuQnWlsbAlJBTTyFvBdObWvOmdkSOih/qkMumMfD7skLp7NooXu Xt7nfgA9gT9osxdP2LkshrqeKmymGmJZdBM0+Zx3kD0lHnm45DcQl4JwBgb6w7ktLwxO kv7sHaTw/YoCkENunm9bzsmttw07EfSj+LAh5iwzHKsBUeVCPIctmalkYsuGiKQFu9zz LKSh/VDDpxrn9GsBX8RFO6Uf+dzzn7SIMXf/njp9bN5EigDFhPIq6pY3ALk9M9yZ6mHW TS5F40fd9uUQHWkaIkqVr5SQu4hdHatl7Qq5X061FDX1XPCDCtthxyXz6hsAGDBOxTe6 /pPg== 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:message-id:date:subject:to:from:dkim-signature; bh=Y1ekWK8CJLvHrVxfCc2kYGCDX3fGw6jKhM4D+UOMVQU=; b=Vwpkf9VOvo5lEoFw1QckiFfDJVDLa8K77G7FB+Yl2H4VxbJkVZjjXNcOvdDV+fdZwK X9x6nhgYkswsk0UpHnXE4UfuJev3RkOmtxY4OROX9bVf21HQVw1ihngod7K19Db84fhd /h7Ko0gnIq84fhLkYTLjWn92uDZywbpXqHtUPZPgPu4EjXkZ1EnXo8lLsdkRz7th/h9y YNjK9Qko0YWIRolRIXSVVvsgtU72fmTNx8iQgm1hhOSQcSvnlXjCpxLRqjioJa+lZDDg DhBgG/A2SA9Nf7B+v3NND7gQEbvp5jkVpR9laC7zmbn4H6OPmARCPO+2Qt3PLNK0tv3g QzwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hR+x5ZYp; 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 m196si14870303ybm.384.2020.08.03.05.49.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Aug 2020 05:49:06 -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=hR+x5ZYp; 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]:37834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2Ztq-0008Lf-6p for patch@linaro.org; Mon, 03 Aug 2020 08:49:06 -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) 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-Received: by 2002:a7b:c054:: with SMTP id u20mr22517wmc.2.1596458930936; Mon, 03 Aug 2020 05:48:50 -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) 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 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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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 --- target/arm/translate.c | 15 --------------- 1 file changed, 15 deletions(-) -- 2.20.1 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Alex Bennée 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; } -#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 = (((insn) >> (bigbit)) & 0x0f) \ - | (((insn) >> ((smallbit) - 4)) & 0x10); \ - } else { \ - if (insn & (1 << (smallbit))) \ - return 1; \ - reg = ((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