Message ID | 20210416210240.1591291-23-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp729954jaf; Fri, 16 Apr 2021 14:24:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAYlnxCAo7/bSkZ2ifd++TEjIvXNisJ9zVyXV7Fx0ImRJQZgwwOSX8czRzpLKjNrwiF4zR X-Received: by 2002:a05:6e02:1351:: with SMTP id k17mr8552620ilr.37.1618608246162; Fri, 16 Apr 2021 14:24:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618608246; cv=none; d=google.com; s=arc-20160816; b=xz7jUGqIRdutB0cUJ5B5bNwhXiwqn81H/2V/+sJvQVd7QwiucaGwdC4vmZ57gsUQ24 PAAAn2kuMfWwkmPxf4Rsx6dDsQRgbXCJuee5YpLEwUglih2JY6WiKcUpiwFDzCJnOuRk 5tglLuOPtkFVqXpntZZGx64qvuITi3rg6cWwqo4P5oSg0+BOm/9S05f/L6PjxDQpXbJW JuMtCHntDOw5BhhAvtpsllLitcP8y5cgPnry3IVykvLgQ6UQ/gJrZo09vi9iRjQdQtLH t6Iq/dGceXuJb4KapmO3xFvkcwyA5IIAxdTPJY35PbiCcaz0wDmNV4iYmMAZHB1TjL0W 1xwg== 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=XWdhkzqHe8iJijTRujXmdCXfYmUKYPpZlGIVkZOqBWQ=; b=AzaS/evOGPwdGphlcIGveAg2eXBhi9tyYt1EPq7xT0Io5LlOnjW0tWY5+4dQvl1Qnj M65BylF29mW6/AaUT59LLCSVV3br2uFO5d2cP0SVugn/HLSUUf2zb5IY5zJQRlMZ6WOW WbfUM1vHaw9XEynxs2T0wWJ86PYgh6CHXOrXUSdGmUmYj6tnBqwRtmn/Fw9YmhFBUFcX sH0fYupGDCbWYUFPzjeYLQZ2IK8lUfxDacLBhlWZ5ZXzn1khBvo5AipP0qo946Itxbag bVUB64xot2GkUtx8RCZz+MszFn0xU1on7AQYQS96eaCgD/dFfsNUxDBGTnMrLdRRFjKh zFBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=s1IFdpLl; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id j6si7144047ilu.44.2021.04.16.14.24.06 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 16 Apr 2021 14:24:06 -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=s1IFdpLl; 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]:53924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1lXVwb-00089t-Js for patch@linaro.org; Fri, 16 Apr 2021 17:24:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43902) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1lXVcN-0004OG-4a for qemu-devel@nongnu.org; Fri, 16 Apr 2021 17:03:11 -0400 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:45000) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1lXVcI-0001Bt-3U for qemu-devel@nongnu.org; Fri, 16 Apr 2021 17:03:10 -0400 Received: by mail-pg1-x534.google.com with SMTP id y32so19997445pga.11 for <qemu-devel@nongnu.org>; Fri, 16 Apr 2021 14:03:05 -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=XWdhkzqHe8iJijTRujXmdCXfYmUKYPpZlGIVkZOqBWQ=; b=s1IFdpLlqQ1L5fv0FTDrAIpbnnxa6QiLP2RYTVXO0aGQK7AL53Gsn/7oc9NWL7EAYK wfaFpkqhVwtpaDE6Ln7pG367e6S5EBUWs9LRiSxaFVeyxo/hQEgsx2rxFGLMDfuaC678 +iZiSK1Hc6wWZrsx5VH6nA2OkDytIx+ewOgAag6RDrY+6DKd6fnIrguOUPVQx4RnVXHf ec57JUryNlheRWbMciUOFrR7LaS557vgapX+X8fk9L75f8YliAiDc35sKWJdt+EOqRRv Ji2gw0R6QmOaYD3+c9eCc0of/U3kGRi6zLfNg3lb+fA6WTx7AtkXHs2JElsZkXByp7Yt +2xQ== 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=XWdhkzqHe8iJijTRujXmdCXfYmUKYPpZlGIVkZOqBWQ=; b=B3nqaOeA3I50SnmobFz5XQlQiPg9UuDtV6XPYQ3XKuc4FTa0anRRhGrYb0lTByPrBA X5gVwajD5x7pIqdbX57RvfLzFxEDYH7vWnAbsLIu1NJtp7YOlQ5pPIHRfbJsugH2X2sr vIWHkRDZbxDL0844jkVZpcfRXh9JvZffVpRdlAu/IPhmWaTDsKAdVlVpyKeOtCUKbf82 vAMipPmlLDRJaf0R0JMmepz5cn8pJTzEshMzZsYzg57XxwTNqTX1mPMw2DHeBSSGCSSJ 1sOLJGc+6YDf89azcBqn7FI7h+lfCdaDiQ3HbsqybtkemOXXqqg/olFvGOHiv/4SePy7 M90A== X-Gm-Message-State: AOAM533B04KjOtImCHk3wnbc/Ge3n5wu9gJYtdgngFz8E40MKqTfrgDV L265cJF47vdtrq15b9mA8JMriFrbQzVP/Q== X-Received: by 2002:a63:2c92:: with SMTP id s140mr819968pgs.39.1618606984307; Fri, 16 Apr 2021 14:03:04 -0700 (PDT) Received: from localhost.localdomain ([71.212.131.83]) by smtp.gmail.com with ESMTPSA id m15sm5920640pjz.36.2021.04.16.14.03.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 14:03:03 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v5 22/81] target/arm: Implement SVE2 bitwise shift and insert Date: Fri, 16 Apr 2021 14:01:41 -0700 Message-Id: <20210416210240.1591291-23-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210416210240.1591291-1-richard.henderson@linaro.org> References: <20210416210240.1591291-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x534.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=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: Implement SVE2
|
expand
|
diff --git a/target/arm/sve.decode b/target/arm/sve.decode index d3c4ec6dd1..695a16551e 100644 --- a/target/arm/sve.decode +++ b/target/arm/sve.decode @@ -1261,3 +1261,8 @@ SSRA 01000101 .. 0 ..... 1110 00 ..... ..... @rd_rn_tszimm_shr USRA 01000101 .. 0 ..... 1110 01 ..... ..... @rd_rn_tszimm_shr SRSRA 01000101 .. 0 ..... 1110 10 ..... ..... @rd_rn_tszimm_shr URSRA 01000101 .. 0 ..... 1110 11 ..... ..... @rd_rn_tszimm_shr + +## SVE2 bitwise shift and insert + +SRI 01000101 .. 0 ..... 11110 0 ..... ..... @rd_rn_tszimm_shr +SLI 01000101 .. 0 ..... 11110 1 ..... ..... @rd_rn_tszimm_shl diff --git a/target/arm/translate-sve.c b/target/arm/translate-sve.c index c11074cccc..d74a15d8b8 100644 --- a/target/arm/translate-sve.c +++ b/target/arm/translate-sve.c @@ -6428,3 +6428,13 @@ static bool trans_URSRA(DisasContext *s, arg_rri_esz *a) { return do_sve2_fn2i(s, a, gen_gvec_ursra); } + +static bool trans_SRI(DisasContext *s, arg_rri_esz *a) +{ + return do_sve2_fn2i(s, a, gen_gvec_sri); +} + +static bool trans_SLI(DisasContext *s, arg_rri_esz *a) +{ + return do_sve2_fn2i(s, a, gen_gvec_sli); +}
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- target/arm/sve.decode | 5 +++++ target/arm/translate-sve.c | 10 ++++++++++ 2 files changed, 15 insertions(+) -- 2.25.1