From patchwork Thu Jun 18 04:25:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 191004 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp1067912ilo; Wed, 17 Jun 2020 21:43:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzllxjEjcG7ZPfWl4ox0IF3lR+TBohUaliL6sAoW1AiMAxeJLQ5X0iG6JhluUTQZrgvfJsb X-Received: by 2002:a25:8708:: with SMTP id a8mr3270380ybl.65.1592455414229; Wed, 17 Jun 2020 21:43:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592455414; cv=none; d=google.com; s=arc-20160816; b=z1fwx2LUAXL9gF2tzVhYRbs52JDpEpMRgO80VWj/dl7T95+z3qekQNYClvSfPDevr0 58wTH03IBBu+Ji8JTm2rEpwr0E1dTV5JiqnT5DrEbh4rnvUYLogl/8i4ZnjCdjpzzUiD YCh4ooTJ8kAZ836Z8VJSGQDC2qiCP8A+DUrSvyvyawpm7rYvurXcKCgwwXtsaNnjx04b rNTEnp+nMkjQ7yDFqpMlqeMDXClv5bfnnQV8VcpvZ5WDgpVyez0h4eiT56z1iu7nzOZ1 DB9OrMMplyd4saz8DLUtCean+ZBfVZh5irNg20nb8u0kOgSG9xPGucNz+axYtT1e6DLj Ol0Q== 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=7e8M8ic84VXGl26VraVqHK13nZ7Td4XreFuki7rY3nc=; b=x++PurXQAmiTEnDKS4ORCKdlopmdp9B5rLIGApqeFicVxwszh9jlwgczvLDP7RzAhm pO3bEgBYdisHyQ8kPU3XqoIeRuRxBw1Fn1u/4Slg/xgRBQIk1Ex+vePnErnomdmNeSwc coibQbhUtZi+XcrIqZfcmmyxuGLlRaS4ZQWME4gIADXkpltDB2Yl0RpjmDp35o8R+Fhp BFE9QegcjxN7WkOWQq9LXtIn5wiF+7bzgmLtz0+8pvHV/A3e4Z5rIBAqEbhYw9NV1uWY nr69GkUn7ipllz0NV1I0PsHHkWvUkbmEyytw4R7vBJqBqgCEJZoFNhPbzhoG340USF7x yNJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=RD4ciCcl; 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=fail (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 t7si1544307ybl.92.2020.06.17.21.43.34 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jun 2020 21:43:34 -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=fail header.i=@linaro.org header.s=google header.b=RD4ciCcl; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:41830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlmOj-0001l1-Lj for patch@linaro.org; Thu, 18 Jun 2020 00:43:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlmA8-0004iz-38 for qemu-devel@nongnu.org; Thu, 18 Jun 2020 00:28:28 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:36657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlmA3-0002Y1-0Q for qemu-devel@nongnu.org; Thu, 18 Jun 2020 00:28:27 -0400 Received: by mail-pl1-x632.google.com with SMTP id j4so1914692plk.3 for ; Wed, 17 Jun 2020 21:28:22 -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=7e8M8ic84VXGl26VraVqHK13nZ7Td4XreFuki7rY3nc=; b=RD4ciCcl46CugQHElWtxOsDymijcKjYDoncjVmfVP3hit2Vjx0htsVBMIt/2RWRa+l g2/IYf3FiBFmSXshXOUUKUct5kY/mQIPb2CnVWEzb4hfeytO+4mz2l+4akcXJxq2HfCR nBUX1HW5n6CSg+XfDLLIRbxerL69WYMqjyYn7zBfxnKWZWcqgSejQtRYz1pvHSAeKLj4 3jAK8E93q4emGxz9xOextxflmXrAepkRWTOTkt/oWNqloy6zbLerlx3+v9/UdgvGRS9e YysfSYVKLvUnVpVEVUl98KBtfhU53KJRgQ/b4dFTJTLJugLcmwPBQwAJsiNEt1Z88m9j 93iA== 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=7e8M8ic84VXGl26VraVqHK13nZ7Td4XreFuki7rY3nc=; b=iJ1DUHmppR87E12Net82ZbccxR7eLf9maTo8UnmLPvuxmjL6+LE6mbjn16+k6YNH4F JlHqV6ajcoBU1sP5i9odT/YbPomYXwXVjjKtW2031RR3nsREbXHxj1xC9JlfSrqY6z8o obTGNDAJet5Da3T5jYcKddRiq58H0SC37zgBsHekjFnz+oh6DlHscCSnqJcjHf74JJCH pzoScRdnURclCJLIVr7guLD+zC3UmYFjQAkYcrsDwJvPkW9rDlV/PN3DbStcvE4M+i2b PQXfb2HG9LxYXj2Y7aL8uSNyiRyx2ybV3OlklRf9RF7bL4x/BIMZfZEvjKytO35f/qW1 oLjw== X-Gm-Message-State: AOAM533uIh+wP50L6IF6HwdsrP7IR1l1M/Oj3s/ZUGNqbr3jNblj0MRf bZQhzZHbXfwPc9f8KF0AvLU9pZnpLkw= X-Received: by 2002:a17:902:aa0c:: with SMTP id be12mr2181716plb.45.1592454501353; Wed, 17 Jun 2020 21:28:21 -0700 (PDT) Received: from localhost.localdomain (174-21-143-238.tukw.qwest.net. [174.21.143.238]) by smtp.gmail.com with ESMTPSA id l134sm1154412pga.50.2020.06.17.21.28.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 21:28:20 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 025/100] target/arm: Implement SVE2 integer add/subtract interleaved long Date: Wed, 17 Jun 2020 21:25:29 -0700 Message-Id: <20200618042644.1685561-26-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200618042644.1685561-1-richard.henderson@linaro.org> References: <20200618042644.1685561-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x632.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_HELO_NONE=0.001, SPF_PASS=-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: qemu-arm@nongnu.org, steplong@quicinc.com 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 84fc0ade2c..91e45f2d32 100644 --- a/target/arm/sve.decode +++ b/target/arm/sve.decode @@ -1181,3 +1181,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 13b3ef1a2c..14508cab07 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -5582,3 +5582,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)