From patchwork Fri May 27 18:18:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 576635 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:8607:0:0:0:0 with SMTP id bb7csp943911mab; Fri, 27 May 2022 13:05:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxl+7FFc9aK5CIKAs1akb7sA10b+G1Coniw1mUY+hsS1gKL69rteQi/hsnhrq0mrlvVuX94 X-Received: by 2002:a05:620a:254f:b0:680:f510:22e4 with SMTP id s15-20020a05620a254f00b00680f51022e4mr29624495qko.554.1653681892325; Fri, 27 May 2022 13:04:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653681892; cv=none; d=google.com; s=arc-20160816; b=tNznsEfm2FahKPOveb1bWKeLvtJRqrU9KfIJ+XkL7VIb5rUbCNYiaxYoDvcfqQa77d TpD3z/4MqCNS1ANKD13pBTjrwj4A1I9UgJ3UO3zTBn/SvaznD6CW5aLVyOhSnANbXZc9 dMWMSWOYscC9WWyirS0A/abeZ5FKetpxR7/Nu4aXpJEwaif6u0huwXb0KaaE9puTu0pq c8yxxOirxCCs4br0e5/4aIS/QEKg8EkvAek6eNmZUZz5erf+zhmHLdk2rAcbMu1mj9gt 91AV8urstzHUanYaQ4WEeN6ZcBGu/3nNLPlGtvvK5xVAx9VrkJHd7w4+9E6WCLoBGtY+ a96w== 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:cc:to :from:dkim-signature; bh=qHeO17YCPFCpt+rKLCOncNDfCYaqscqX/LTqWwqXD8U=; b=JMFt0MRsgdmpVRlvObYi6F9RLpa8Ny9fWKCat4geBvxPcdhhfwWOxqJK+yu5444Sb2 O3gLg/2NWycbjFw4NeoCvu4/bQcwo2fJmDRzTHvCUjqg2AESJv6BN5iHDJx83nJ9rDA5 62lKUIttbqT+8F2+mQ4IJTX/vXUj6y5KNPMlXL8G4XPr9ErtCSIowSgDRl2ctcI5jM5o 26WKNg6NtKcRqSBQpzvVqRp8PVOd9w6EMv+9D5gIJCTWdoCqgdzvDom3mfCEOMA0jTWj b5ySpj9b5Oala1m4pUpj5qn5J7hnKdurXsvIv/llCoviEgHm6Of+XuYFlsGWB57wkFdC cHDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e6B6ohCS; 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 q10-20020a05620a0d8a00b006a5cf2b4fe7si2669796qkl.389.2022.05.27.13.04.52 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 27 May 2022 13:04:52 -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=e6B6ohCS; 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]:35160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nugCZ-0002Hk-VW for patch@linaro.org; Fri, 27 May 2022 16:04:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuefS-0001hX-Tx for qemu-devel@nongnu.org; Fri, 27 May 2022 14:26:36 -0400 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:55293) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuefL-0005Hz-DJ for qemu-devel@nongnu.org; Fri, 27 May 2022 14:26:34 -0400 Received: by mail-pj1-x1033.google.com with SMTP id cv10so5270616pjb.4 for ; Fri, 27 May 2022 11:26:27 -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=qHeO17YCPFCpt+rKLCOncNDfCYaqscqX/LTqWwqXD8U=; b=e6B6ohCSkq72mZtoYRcu7l3RQg2jGpHEjDmc03NTs+BooOJ3Fv4VqP3HarwMOjOK8+ 1cdzwe3S7ZHzfDoaFXlidJ43aj9udAKvK/81gBbbf1cSBkn0HD5glaVPpba/MeP7NWks B1w2vOJfR0fbpUQA0SNuIArxOUOCAWhaF8v2bw7ywDlqpQ3HCi+Yv2qg4MuYMexFWAgz GrEMJldZxW9W3NwwH9x0UjVnF1wjrSvKMi1EtBK/1K6rnQIWMH0RiYGBDmo7QsmGNkfC YDklGxlW1ckpiBKMNEWftfsRdkQplNFbKePWSR020xHksuVInCJ6j3cp+Fjf67MlHses kTxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qHeO17YCPFCpt+rKLCOncNDfCYaqscqX/LTqWwqXD8U=; b=WzOpDFeThotJLTv7uBX6zlNaaQTjtay0w3kA0cxopzNL+S8xbHSpTlnr94+kuWg+g2 VQU87JulaDN2WaDqFPchcu7xVn4064JKkEPe2HApEqmDZ2zQrka38cHi+zVBXgx9hUDg ZK4sNLuEgJNfTV74EYb9ul+irBFoI/BZrTcPwpuTHqSTT/W7oKS40RYwzRJbPn88+HUy owgUR1sCAbfi/jtkFeVCV4Ox/ihVUwa63VIqy2EUAS/a9tLB3uid1Ketg1IGCixATEXc +BK25druFYa2Ockcd93CqnU4krb7/bLQhfiTZ0Req9cIT8w3Aez6bjSeMsRilr9AIUwT IXJw== X-Gm-Message-State: AOAM533Kr3EElxe+HGqPAEtURbC2GXnTlTnghLf2gRzTndFzueQeuhHW 5awRWACSaN42HKg+JJ4w4kKbS01SxfmMuA== X-Received: by 2002:a17:902:e54f:b0:162:15d5:fcf7 with SMTP id n15-20020a170902e54f00b0016215d5fcf7mr28958449plf.38.1653675985995; Fri, 27 May 2022 11:26:25 -0700 (PDT) Received: from stoup.. (174-21-71-225.tukw.qwest.net. [174.21.71.225]) by smtp.gmail.com with ESMTPSA id g13-20020aa7874d000000b0050dc762816fsm3781539pfo.73.2022.05.27.11.26.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 May 2022 11:26:25 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 083/114] target/arm: Use TRANS_FEAT for FMLA Date: Fri, 27 May 2022 11:18:36 -0700 Message-Id: <20220527181907.189259-84-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220527181907.189259-1-richard.henderson@linaro.org> References: <20220527181907.189259-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1033.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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" Signed-off-by: Richard Henderson --- target/arm/translate-sve.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index 6e8d8d54bf..5aa3e477cf 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -3521,15 +3521,8 @@ static bool do_FMLA_zzxz(DisasContext *s, arg_rrxr_esz *a, bool sub) a->esz == MO_16 ? FPST_FPCR_F16 : FPST_FPCR); } -static bool trans_FMLA_zzxz(DisasContext *s, arg_FMLA_zzxz *a) -{ - return do_FMLA_zzxz(s, a, false); -} - -static bool trans_FMLS_zzxz(DisasContext *s, arg_FMLA_zzxz *a) -{ - return do_FMLA_zzxz(s, a, true); -} +TRANS_FEAT(FMLA_zzxz, aa64_sve, do_FMLA_zzxz, a, false) +TRANS_FEAT(FMLS_zzxz, aa64_sve, do_FMLA_zzxz, a, true) /* *** SVE Floating Point Multiply Indexed Group