From patchwork Mon May 30 16:05:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 577236 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:330b:0:0:0:0 with SMTP id f11csp411426mag; Mon, 30 May 2022 09:57:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxcUksPk40kI0UpKy+JL8TadAPGQ6DCAx/lr3ckcO5eBBg4MTEiIboc4KcaKpSRNCXJtBm8 X-Received: by 2002:a37:a9d1:0:b0:6a3:736a:76d8 with SMTP id s200-20020a37a9d1000000b006a3736a76d8mr29229296qke.96.1653929867899; Mon, 30 May 2022 09:57:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653929867; cv=none; d=google.com; s=arc-20160816; b=JybsXsTvUNJoQeXnJUFZes67vu5DrJyVEJFMi77kR73VqIOgLeal6ZS895FSavTwag 5PyvLy8vy2ZSjmsvSMqFAUqr4HA1pI5GOVv/5+WDeqijO/jg6RjWA1UljJJO7V8BvB/D dsGr23bwVT0IrGIIjR8Sifbr8syFCZzFiPIu5IzZievGzpGf7IV0zhIzentWArzZYPKs vF/RDQmW5dkqVmoZEKZPjd/0JARb1REJqSpnthHtd9DwxOuNU2lr6cWZ803CqecC89x3 SMH3GjEZ7lxr2oPVUG3kV0ixMazrtqpZYrPvegCUn+p1LeIz+lKhJFfpW8g3F/TnzPeV zzSA== 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=/rDIgsE7rTUWcnLfgoxn3YYJ/pGQAuzcGv/WQmbeVtY=; b=v0gH2zX8pvGEw71u02OaRIKZsp8SGG0ogwku6aMIWvfLZtR8giHXxoAor65iICuw04 vCya5UnQ/wWu+k9x5UmB25RfRaesH6quRchCW6IVe5UCXf7vZH1PsZ/4KM0HjH7Br+60 ivVU9sisZXqmkRncSnCrLL514NVBOasfnuw/ndZ5po+KMBKZS6QC9YSmxaKK91Du4Y+7 82jtwVn7DHz4UGdkFdhR5du4s0NZIHCqr12Khtaex8MJfyS+zeNla3lhbCrCppPqV2nm MHgjS4+ikxZFyymI5U4OdOoINQVs/DAThc2t/p0NudzgqIcOpQ6VURPfIYRDMDYZdKT4 5Zsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ioCLUyrH; 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 1-20020a0562140d4100b004644d98afc2si2428630qvr.487.2022.05.30.09.57.47 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 May 2022 09:57:47 -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=ioCLUyrH; 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]:59376 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nviiB-00087W-Fg for patch@linaro.org; Mon, 30 May 2022 12:57:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39062) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nvhvk-0003MB-Iy for qemu-devel@nongnu.org; Mon, 30 May 2022 12:07:44 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:33972) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nvhvf-0007Ha-Kq for qemu-devel@nongnu.org; Mon, 30 May 2022 12:07:44 -0400 Received: by mail-wm1-x32b.google.com with SMTP id d5-20020a05600c34c500b0039776acee62so186885wmq.1 for ; Mon, 30 May 2022 09:07:39 -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=/rDIgsE7rTUWcnLfgoxn3YYJ/pGQAuzcGv/WQmbeVtY=; b=ioCLUyrHfeFGLopwk2Z0wCxZLUxMlLlVqSkElBTCgzzVwQSo7UBuPhRw4zQpNGgiaJ OsmWyMcReDo/kH4X6OTO2XuzR+3lzF4YCvFyK4BQ2GiTByDHSwMxOHel9zfMpCuEWj3d qnJ7ZygWpaMaQkCEXVHFreGw/Rt6UpO8El7jCFVcj79b8hyQ3r1Bs8iLiFDdfoE4MQbU brZq8KiWX7lFHjRyz8gI+XPMsD9b1cIYh+CrfwTF4qnrH0vHQCHI+usNw7/pQsWfK6mJ 7H9W4DegtL7mN+v6o2R5T6R1QK+KMlezu+y4jQuHNg2fepQ462cCEKXn18KZZuQiuQtN ApHg== 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=/rDIgsE7rTUWcnLfgoxn3YYJ/pGQAuzcGv/WQmbeVtY=; b=uyrNFEzpqpoEChVCrHkqYtxSZy23haGbFVmO8V92hfetRMOAPxBHnL9uPGlEamNLxo Xx3heAamAtOmvX4pPAsr18APdfy/z8tM3gnFlE7CrQ3rWUxwmP9gRMZUhTgXekkvDZXp t8+EzJvM9d1w8JT7FfzVD0jDDGioncXKs545qYScH5+Ey2uRqjt9Alvzo0lmYD/MVfAO mOYrapfpytYaZ3eSAekEVnWtB6blDgq3b9wepmb3T9Inka/m1nAzDN/LP4UWzEvGWNWx vn644w7wbL4vSCHwz4bLLxr24+I3w2Z/yJKCpmaBbmKC9gf17ZDvO8wbR3FB9qHr+jqS m+nA== X-Gm-Message-State: AOAM532LDTGafFOs02tik3GR8L+TQMv0gBwvUhpD4GfHAe6K+1zdN/5V AZtNetT0UvlMf/SapfVUuoyX4l1GZl0G3w== X-Received: by 2002:a05:600c:268a:b0:397:48d4:f6ad with SMTP id 10-20020a05600c268a00b0039748d4f6admr20222568wmt.134.1653926858208; Mon, 30 May 2022 09:07:38 -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.07.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 May 2022 09:07:37 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 035/117] target/arm: More use of gen_gvec_fn_arg_zzz Date: Mon, 30 May 2022 17:05:46 +0100 Message-Id: <20220530160708.726466-36-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::32b; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32b.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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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 Two uses of gen_gvec_fn_zzz can pass on arg_rrr_esz instead. Signed-off-by: Richard Henderson Message-id: 20220527181907.189259-33-richard.henderson@linaro.org Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- target/arm/translate-sve.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index 1b3afcc24cf..2dbf2961283 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -6425,7 +6425,7 @@ static bool trans_MUL_zzz(DisasContext *s, arg_rrr_esz *a) if (!dc_isar_feature(aa64_sve2, s)) { return false; } - return gen_gvec_fn_zzz(s, tcg_gen_gvec_mul, a->esz, a->rd, a->rn, a->rm); + return gen_gvec_fn_arg_zzz(s, tcg_gen_gvec_mul, a); } static gen_helper_gvec_3 * const smulh_zzz_fns[4] = { @@ -6946,7 +6946,7 @@ static bool do_sve2_fn_zzz(DisasContext *s, arg_rrr_esz *a, GVecGen3Fn *fn) if (!dc_isar_feature(aa64_sve2, s)) { return false; } - return gen_gvec_fn_zzz(s, fn, a->esz, a->rd, a->rn, a->rm); + return gen_gvec_fn_arg_zzz(s, fn, a); } static bool trans_SABA(DisasContext *s, arg_rrr_esz *a)