From patchwork Fri May 15 14:20:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 186834 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp483136ilb; Fri, 15 May 2020 07:22:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXcqYtGa6JXlXqmCVxDOohC2u8O+2JXFg6E60avooMbOcmcFqAAekxhrpCCzHTdk8+LVUD X-Received: by 2002:aed:2d23:: with SMTP id h32mr3664042qtd.389.1589552576782; Fri, 15 May 2020 07:22:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589552576; cv=none; d=google.com; s=arc-20160816; b=WgDZG7TArepwY14sTImHaZZrfRCwcFnTRqe3ahLyc29THoGwoRmuk6aeuDmsnUsFUU UuWxVj9H6IA3yvlV8tmVPlCi4D0ZD+ojhYs1eKrUDAk/LAAJBipfH2FQr+FCYvdcxUFW QWtNebuUj3REt/xb6oZ0+ms6oVLFe/4rbjcrbLSUn0zi86oSSbfU7hlP02qSNCPCoJnw CBzgQ5AUW9L5o7pBFI8HJtbOmIBmsYRPWhlR30S+LF7x1ijgJ8Q6hMIOULtS9+IV4XVz Rmc/cyFlRp1MO++CuIQN2aSAj5b6aCVcZB4lAxMLbQ3Jq1/5kpwWxPv2yIJfgZqI3mDu r/kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=YD8Dvuo5pUfHRMo8RpEeRFbdBBgINC3AFc9P3kqEPfY=; b=N59hqdtWyuZR6xwfjbwNMHLCXYjN4wYpqfDEBr8NRd8UjQsB9UNSj1YsOM8y5dAm4v 0K/yDJrHdjJ+9wSQLvdvcacUqNcflDWsrreRMZMzTkpSfvUMxtvTTFWv3ljasGPcb33D KvT4KjdAoCAL14Y+0nLYc11SjcwTsikLvh0E7f8aLCFXjSPUEo1K/05tj2cd9LyADFGd jtpH7UyPBXe8eQSNCoJSyrEMmJjnuR+N54NovLRpAVqSxG5YbX49RAOwtleJm11/c1JR uGkMGPoEq5VRMNSUuadUmJAZHmE0b3z6RjJ8gxbwyYBmE+a6ePU+6OPTFhrnXq8THGwj gW/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IL4BxIWV; 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 i23si1233933qkl.11.2020.05.15.07.22.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 15 May 2020 07:22:56 -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=IL4BxIWV; 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]:38276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZbEm-0004J1-8K for patch@linaro.org; Fri, 15 May 2020 10:22:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZbCv-0000be-Sd for qemu-devel@nongnu.org; Fri, 15 May 2020 10:21:01 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:34593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZbCv-0003rS-3y for qemu-devel@nongnu.org; Fri, 15 May 2020 10:21:01 -0400 Received: by mail-wr1-x443.google.com with SMTP id y3so3808812wrt.1 for ; Fri, 15 May 2020 07:21:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YD8Dvuo5pUfHRMo8RpEeRFbdBBgINC3AFc9P3kqEPfY=; b=IL4BxIWVkbgjozh8pyu59eUNZoYCsRxcoX9jcmSXkrX6RP+zFcp5HFQrlD3uBNVEiP LvuBWuQAEBZN20CzSjE8u6TjIZU1B4gau5IfQTqCw6vQ3BmjxTu/+HVEAJO6fKK//MrR JkQ6Uto1eSdpCUOXg1C8/SNW2pN1+UK8MzNq8G3NHIIzwa4/U1IF2SMmNy43+ZwZ6s5J 8t9DrDotDulXrbrEEzgUQpjtbNY12TKcffzDF7TvYlcKT0nciyPGhoRp20uzoTd0f/Wo BQdAfTTTGNn8wkiBxN84EkUbpxJTFsoeI97ENMhxnDeok1UKYslRjDBdB2SntLeAMqYq ZmwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YD8Dvuo5pUfHRMo8RpEeRFbdBBgINC3AFc9P3kqEPfY=; b=rl2EwtHYGq/8FBjcchZb7cB3JTUGm+cd7w0VKnFLNc9JSHE9GnALAjF1UVJr3jDTG9 gTHTOZhLfMEXXoKaQxxD+yo9vUnApTyp93haEujntHBWliIKfUxW/+blYs9Q1eY8e8nf enQPOPgDblXF0yH3IQ+9eeIx9cNC22rMPWIQyUXPkeVxI90V2E17AOneuRGrqzfwRF5N 89/0HIJE8XvbBFWbJcrovib2nhB+x6etwJLNEYWI6xdsmKbBCEq5s8C1LYSY1CJcpPS8 OiFrNSB0bL1bXJs69DLEdvwEelDZHLG3jP5fhXIjBhCgQQGEww4whqqMDvDWrD+RgljQ kK1A== X-Gm-Message-State: AOAM5338JacGWsJWxHSmIsS/8B/H2RF37l/UtMs/FpHGDh2xKegSwPDT 3iVdeJh1q4QJhwQWS2zhB3Vh5wc3CLnqmQ== X-Received: by 2002:adf:80a3:: with SMTP id 32mr4472357wrl.199.1589552459820; Fri, 15 May 2020 07:20:59 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id s14sm3738327wmh.18.2020.05.15.07.20.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 07:20:59 -0700 (PDT) From: Peter Maydell To: qemu-arm@nongnu.org, qemu-devel@nongnu.org Subject: [PATCH 01/10] target/arm: Remove unused GEN_NEON_INTEGER_OP macro Date: Fri, 15 May 2020 15:20:47 +0100 Message-Id: <20200515142056.21346-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200515142056.21346-1-peter.maydell@linaro.org> References: <20200515142056.21346-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x443.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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Cc: Richard Henderson Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" The GEN_NEON_INTEGER_OP macro is no longer used; remove it. Signed-off-by: Peter Maydell --- Between Richard's cleanup and mine we deleted all the uses of this, but since neither series on its own was sufficient to delete all of them we failed to remove the macro definition when it finally became unused. --- target/arm/translate.c | 23 ----------------------- 1 file changed, 23 deletions(-) -- 2.20.1 Reviewed-by: Richard Henderson diff --git a/target/arm/translate.c b/target/arm/translate.c index 4c9bb8b5ac0..c8296116d4b 100644 --- a/target/arm/translate.c +++ b/target/arm/translate.c @@ -3034,29 +3034,6 @@ static inline void gen_neon_rsb(int size, TCGv_i32 t0, TCGv_i32 t1) default: return 1; \ }} while (0) -#define GEN_NEON_INTEGER_OP(name) do { \ - switch ((size << 1) | u) { \ - case 0: \ - gen_helper_neon_##name##_s8(tmp, tmp, tmp2); \ - break; \ - case 1: \ - gen_helper_neon_##name##_u8(tmp, tmp, tmp2); \ - break; \ - case 2: \ - gen_helper_neon_##name##_s16(tmp, tmp, tmp2); \ - break; \ - case 3: \ - gen_helper_neon_##name##_u16(tmp, tmp, tmp2); \ - break; \ - case 4: \ - gen_helper_neon_##name##_s32(tmp, tmp, tmp2); \ - break; \ - case 5: \ - gen_helper_neon_##name##_u32(tmp, tmp, tmp2); \ - break; \ - default: return 1; \ - }} while (0) - static TCGv_i32 neon_load_scratch(int scratch) { TCGv_i32 tmp = tcg_temp_new_i32();