From patchwork Tue Mar 9 16:19:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 396019 Delivered-To: patch@linaro.org Received: by 2002:a02:8562:0:0:0:0:0 with SMTP id g89csp2772069jai; Tue, 9 Mar 2021 09:26:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJxQFAihb3yTt15ZB3uFwx+68fs/LwKoSSe6GFIdGxSVnij7SIDVQP36/yZrzTZZorKlByxP X-Received: by 2002:a05:6102:b05:: with SMTP id b5mr3242065vst.29.1615310788529; Tue, 09 Mar 2021 09:26:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615310788; cv=none; d=google.com; s=arc-20160816; b=Fwyf+c8hU4LsaPQypgPbgkB95XDuikClYTUoOFZPr2A0RVTFgzME6fN4h2+hrMIfuh 9h5cwkjSCHL3X6/umN/AZQwQK+GLdnBH9iB+Hn5w7XbgMFxeEzZXCzLbjCVS5XnVNkJq Qm2s/0UE/rENJLIWxAGbRjNSFhW5kuafZ5FnjN2FFSLIxyQ0vaPm3tNG0r9AGSDuG3ks 89X9NA5KbYk6VXbE2Nv8XyvraSggemKvriSEkxEdmHxgwnC0Tn05HzQv0pmaMkcKjkGm W+M3iAFteiVQwAGdAQeUwpkXFdvE4Fl4N+kJjNs/0qM071VwVd42EU6389IjZFoDvlAW OKRg== 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=MBA7VlgaL7sj30xRXq/QblNTMSN0MmjXoz+f7WQsSFg=; b=QLEVxCgrEJqVJL0K/pTMukayQ+RQMQh3802PeCqZ0wkVNzwzpb+5sQPC80KcHvPOAl 4WrC7v0dPB3KmYVxRXid1M1v4jseivLKrYvQW0v9lPKLle5lKB92JhNKQeiGPlvc9zro 2ZHMFNORRZWxDr/LP2BdPibNkgHCKnJiygOMqnRfUxUJd3qWIpD+6cqx2kF9F1xLDKMa NtDiambK9K0Ob7SGGobJdxMiTyx867QzhhZy55QioDcTl88EL3dbUqns6vxN6h2BuvtV 8ZrTcaOfhLBlU0bSHWDYv0JeAehxp7dlA7oB5qorOYh6nMNtvdwgeXbabsVzPjAOrF4j pN4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=j7w3w+yK; 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 w201si2579053vkw.40.2021.03.09.09.26.28 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 09 Mar 2021 09:26:28 -0800 (PST) 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=j7w3w+yK; 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]:40074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lJg7n-0006SD-S7 for patch@linaro.org; Tue, 09 Mar 2021 12:26:27 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lJf6f-0007DG-Ag for qemu-devel@nongnu.org; Tue, 09 Mar 2021 11:21:13 -0500 Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]:46163) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lJf6R-0002S4-TT for qemu-devel@nongnu.org; Tue, 09 Mar 2021 11:21:13 -0500 Received: by mail-ot1-x335.google.com with SMTP id r24so6269567otq.13 for ; Tue, 09 Mar 2021 08:20:59 -0800 (PST) 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=MBA7VlgaL7sj30xRXq/QblNTMSN0MmjXoz+f7WQsSFg=; b=j7w3w+yKwBoa+bodyFP8uP5Pk8rlksQZUAZGaZcI/erPHCXHpQBQ2hsyjSphBqW1/o 1t5n4LecC96y55LAsoLB7SvIrSmYfakWlqZDAluT+cZPT4V9xJgKnKrwpSSNhWKCezGE cWVEtsg013kc8cLSwawfITEG0frpBh04D+rQ+uQvo7SgHn0P5psIxnY/VuAN0hLyqGx2 pwVpSzHN0vAuUlLMxIZUxVIWBBFSUfK0zsVqs3w5T4Rn+ZbvaJYVNuA0ywiM/Vk+I1U3 u8cWgw4uySBVttH75BA1XrTJ5g3HFBRsZ/T21U3NgTr+6pUmARa+fFh+G25IeHvAvS2x 0IoA== 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=MBA7VlgaL7sj30xRXq/QblNTMSN0MmjXoz+f7WQsSFg=; b=rU9edvQbmSvtpbLZ3rdJO3tWLFv6ChJ7Wg15F8apOwQj2bB2zit9aiFqKONzPXCALq 4szhHivy/wRNBgv1xDcpxW1iXzyDueYeXq//wOLo7LOyMCRutXhJW4EexCb/jgnNz7bU VDVDvX7t8QYqcKcX4JUVDns/tgpUGgIyePNCt0+JnahE/do3m7an6vzJnpeoiHleJhOE 5djMdyBmwsjUZk6roraJMUsN6+EcHFzrjb2ISI5w8UY5jrJ6y6L2y4OdVp2Z30nNL53W hie/of0Sj7kOQsP5/2ClVeNRgFcs/pSPNXgVfBs/gxiXVI4xMnXU+7YulExOvMskzAdG s/jw== X-Gm-Message-State: AOAM531SceuC4SzdWD8LqJUownbKz7UPBkzGWypQh0K+M5kpfqNaiOyG EtoS6FRWceJErmwouTqIkJy4XsJ7rCjgwJlC X-Received: by 2002:a9d:823:: with SMTP id 32mr23535685oty.306.1615306855811; Tue, 09 Mar 2021 08:20:55 -0800 (PST) Received: from localhost.localdomain (fixed-187-189-51-144.totalplay.net. [187.189.51.144]) by smtp.gmail.com with ESMTPSA id v23sm2516474ots.63.2021.03.09.08.20.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Mar 2021 08:20:55 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 11/78] target/arm: Implement SVE2 integer add/subtract interleaved long Date: Tue, 9 Mar 2021 08:19:34 -0800 Message-Id: <20210309162041.23124-12-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210309162041.23124-1-richard.henderson@linaro.org> References: <20210309162041.23124-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::335; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x335.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 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: , Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- target/arm/sve.decode | 6 ++++++ target/arm/translate-sve.c | 4 ++++ 2 files changed, 10 insertions(+) -- 2.25.1 diff --git a/target/arm/sve.decode b/target/arm/sve.decode index fbfd57b23a..12be0584a8 100644 --- a/target/arm/sve.decode +++ b/target/arm/sve.decode @@ -1178,3 +1178,9 @@ SABDLB 01000101 .. 0 ..... 00 1100 ..... ..... @rd_rn_rm SABDLT 01000101 .. 0 ..... 00 1101 ..... ..... @rd_rn_rm UABDLB 01000101 .. 0 ..... 00 1110 ..... ..... @rd_rn_rm UABDLT 01000101 .. 0 ..... 00 1111 ..... ..... @rd_rn_rm + +## SVE2 integer add/subtract interleaved long + +SADDLBT 01000101 .. 0 ..... 1000 00 ..... ..... @rd_rn_rm +SSUBLBT 01000101 .. 0 ..... 1000 10 ..... ..... @rd_rn_rm +SSUBLTB 01000101 .. 0 ..... 1000 11 ..... ..... @rd_rn_rm diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index b94561b92b..105c70dc8c 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -6017,3 +6017,7 @@ DO_SVE2_ZZZ_TB(SABDLT, sabdl, true, true) DO_SVE2_ZZZ_TB(UADDLT, uaddl, true, true) DO_SVE2_ZZZ_TB(USUBLT, usubl, true, true) DO_SVE2_ZZZ_TB(UABDLT, uabdl, true, true) + +DO_SVE2_ZZZ_TB(SADDLBT, saddl, false, true) +DO_SVE2_ZZZ_TB(SSUBLBT, ssubl, false, true) +DO_SVE2_ZZZ_TB(SSUBLTB, ssubl, true, false)