From patchwork Mon May 30 16:06:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 577260 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:330b:0:0:0:0 with SMTP id f11csp427485mag; Mon, 30 May 2022 10:17:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKq0dw+sqsDO0NHW5Hhcu/SFywuxeAovZ8v7i6hcNzlr3vrGxYBrhn4i2jnNphmaJaiIUT X-Received: by 2002:ac8:5c85:0:b0:304:b5ca:fc47 with SMTP id r5-20020ac85c85000000b00304b5cafc47mr2430792qta.9.1653931062603; Mon, 30 May 2022 10:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653931062; cv=none; d=google.com; s=arc-20160816; b=rHKijFKYMCsDSImTv1R4KtwFwieH3l5xRc9OKnU4k3Ta/vPyWBP4MnYgG2pNYTwe01 hsd6svlqphjT1s8BT/0vwMwuD4xQpL90L5MfSjrkLsXp/d/U7lKUlhbYRAP5VAHiYFSz z3QWUuOoik0TYucvJ2aEgVJDmDBX+FTsu31IGKYpZ1zLyotTrFQWT7zuOuFiQjCf2C0F kZoaX87Q/d1DAZ851WCtEze3DcUooU20LW/Wi421sKnchYdD/5psIfHpHgZvXFRAOmV1 YK/Kocd6MRWWcIozqwmKt06FiwB/qEXlNzvXua29X3aLU560OuhPLO4DGw35urU8vZO1 /qJA== 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:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=qKmMP3ntWm8SMPbCv9q+yK+oS7ObuX4ggX/H2tpCZds=; b=wmnJYwKekBL4SmmgaV7ZmoFIjEH25DiH+v0a1soUceaRJdmSZkV7/U4HpHl2yVTTyU UkcSwY+Vays8q7T+jdARv2gWKtJa0OPhNZw+ih/yWNfabi/IbVzLKJ7WRV6DwVhKM95k LZuB4MVCeTjOzz6LLjS9gk8k6gBbQYM0Hsn5hJDbTJlEeK3uL9WMZYh+w9DlhwCSALIo U/vdHkBKx2CDsQh6cssxTYQRN6a61HbVpZbQecQ3Seq6eoawBZWJ5/lpvzMuA13gk1TR 7g9hm+k2mcezE3HzWG18Y1Sx9nuAERGbLygcD9NW/bcKYZKbyZHMee6N1zSqRBOJ0txY Dg/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HvDcFVUc; 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 y195-20020a3764cc000000b006a03e39acadsi7047866qkb.443.2022.05.30.10.17.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 May 2022 10:17:42 -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=HvDcFVUc; 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]:54354 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nvj1S-0001v4-5o for patch@linaro.org; Mon, 30 May 2022 13:17:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvhwS-0003w8-9k for qemu-devel@nongnu.org; Mon, 30 May 2022 12:08:28 -0400 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:42544) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvhwP-0007Ju-NR for qemu-devel@nongnu.org; Mon, 30 May 2022 12:08:27 -0400 Received: by mail-wm1-x32e.google.com with SMTP id l188-20020a1c25c5000000b003978df8a1e2so4642191wml.1 for ; Mon, 30 May 2022 09:08:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=qKmMP3ntWm8SMPbCv9q+yK+oS7ObuX4ggX/H2tpCZds=; b=HvDcFVUcMoTCfk+bQZfN9v0SczcVQw7FFa+SppuhqNo7U4eEkDeUShvJmtUZvONhf4 BqW2FI2OCbLD0izFCq/DrJJU09W9+VgLsaowruqWFY1BUwwzF0xcD+EDqeDJ5Wc3YT6E v98LhhuuFis5gRsxX0f+YJGTR3pyGQPH76Xaok0YztcRdR9EmoKngtumh6PLuKurCWLD DAj+UOBdUeI+7g7+Do24psCxAJ+m2CQQfmi3/JNJjOTfZuR4Q17/cDKv5x0MLFfG3ngn 5Av6seykhWUGRVGWd+dr4MxjahrSVBVDXoMSlwkidtD/5BS+NlTN21xmhwMlvS2eG3hx tocw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qKmMP3ntWm8SMPbCv9q+yK+oS7ObuX4ggX/H2tpCZds=; b=hQFweYN1mK/6lc0nmhpKx4fiGagX6HjIpS4OJRTJmAZrGAHKRkZSDRTpLz9VYgXc4K EwnlSYHSoRG2AzC2aSNCJIFZfEos56+9y8022herSHUkWiSJFBvSLvOLJJJjzxcffhwb AW6SgVqDX/uo0cw6Iqb+82osKFIn16EVG3Yopq18m6R2NeoTW15XjtMtFWrEcOqtnb5L nCtIfq2z1kobjy0iidCklS8ZFSipp4acYKoah5w+8UrUuGFLeTos1t1loiqq1wxB/YL8 DVlN0pwCRNubV5KbUoByIZLSG7l5PrAHqVKuQSElqQlL42VjnjZxMqUCqtr26DjWUsbh CauA== X-Gm-Message-State: AOAM5309dvVZTINGsM2UzkyGxYzRrf925bnQfei2V21x0fY4FvfaJfeL tvMO2zQFg5pMpGl08MNPSy7F+VwpY9oKyA== X-Received: by 2002:a05:600c:257:b0:397:4106:5150 with SMTP id 23-20020a05600c025700b0039741065150mr19560335wmj.163.1653926901835; Mon, 30 May 2022 09:08:21 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id bi12-20020a05600c3d8c00b003974b95d897sm10232152wmb.37.2022.05.30.09.08.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 09:08:21 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 077/117] target/arm: Use TRANS_FEAT for ADD_zzi Date: Mon, 30 May 2022 17:06:28 +0100 Message-Id: <20220530160708.726466-78-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220530160708.726466-1-peter.maydell@linaro.org> References: <20220530160708.726466-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32e.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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" From: Richard Henderson Signed-off-by: Richard Henderson Message-id: 20220527181907.189259-75-richard.henderson@linaro.org Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- target/arm/translate-sve.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index 83980f5ee6b..6b2f235e4a7 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -3254,10 +3254,7 @@ static bool trans_DUP_i(DisasContext *s, arg_DUP_i *a) return true; } -static bool trans_ADD_zzi(DisasContext *s, arg_rri_esz *a) -{ - return gen_gvec_fn_arg_zzi(s, tcg_gen_gvec_addi, a); -} +TRANS_FEAT(ADD_zzi, aa64_sve, gen_gvec_fn_arg_zzi, tcg_gen_gvec_addi, a) static bool trans_SUB_zzi(DisasContext *s, arg_rri_esz *a) {