From patchwork Thu Jun 18 04:26:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 191045 Delivered-To: patch@linaro.org Received: by 2002:a92:cf06:0:0:0:0:0 with SMTP id c6csp1078503ilo; Wed, 17 Jun 2020 22:04:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvhRN7NrVMo8BUouoSwWfDv+GGp67fSJw8ypjNSuvjQHWJQHZkB4HxgDT1RJakF6FV7Zwl X-Received: by 2002:a25:50cc:: with SMTP id e195mr3758953ybb.452.1592456691193; Wed, 17 Jun 2020 22:04:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592456691; cv=none; d=google.com; s=arc-20160816; b=tzvmKSXpamwJkXbfCzknhISQSR+Akgii01dRE7YoRkclW9jQkdaqOQIKXx8nB77oBL hgZbwppb68EfH5tsBZIV2nl+5BdGNCiM1N5tOpSvEZZ4L18Gv8HwkDG2ixxKToU6V7eL p3Vqn4Mwd8NJvAOoD5y8+aKJDmCRgHk/gFwlS9nHOJaD7Fggpz6DYNh0+B0lCatT0Uak zg7mVVlsbNgH7Dqks2o4/s+SUpIVw3OndET5hvlXVJMXNKayfNYpkYfGHapfSNwTy74d AwomN6qiuBav8Guzi6n0eWc3tGjnTJk+tX2hxmGYD3VsJOXm4Y2oKo5acpSRpIkcJajv Keqw== 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=MepNhYFr1+IOeR1yUlz4CllcCZZho0JnjR8wxuWPCCs=; b=ctBlhHuk7prP7Sn1EeN4tVmRCqqe/EUrJG4it3i5NvrsHJ5XZFuph7g3MlKv5DN6KD VwFjQkGBS/QbbvyWRzCqm4gm9QxLmLgI+llWrg5B9DyjPdrheNz4hSTIvnVMUMHHZsQW J0Xcwc+TmRaFwP2jg1Ue76RNIlQSO7S6sJhJ8UChFxiEt7FYxTI2jWib/KrJWVHOJzoG kjcbr3I6EllwWuVSfigCscItqCWbzwEdvRRGelTlznLo2aG+wb6ltO2eJX2m7JmggULz NBLdv3w32fOKFuH1E6RNtM4Jm0dRVIKCPjI+6PjEKVu4s2t7nVVjC8G61uA80blTklpF 6CIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b="pGE/TBgY"; 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 i16si1677894ybm.105.2020.06.17.22.04.51 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 Jun 2020 22:04:51 -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="pGE/TBgY"; 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]:60824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlmjK-0005Ni-LH for patch@linaro.org; Thu, 18 Jun 2020 01:04:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlmD2-0003mU-Ee for qemu-devel@nongnu.org; Thu, 18 Jun 2020 00:31:28 -0400 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]:34813) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jlmCz-0003Ly-98 for qemu-devel@nongnu.org; Thu, 18 Jun 2020 00:31:27 -0400 Received: by mail-pj1-x1042.google.com with SMTP id a45so2991444pje.1 for ; Wed, 17 Jun 2020 21:31:24 -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=MepNhYFr1+IOeR1yUlz4CllcCZZho0JnjR8wxuWPCCs=; b=pGE/TBgY7pi/we4LZSV2eO6ZFmN9jYsljcuFvbh9WpWZmwEYU387MoUWMV/FCDCrWs iE4xc1ckAcN1i5+iOJNeztkHEPDj+uGj5TyhImIWFXtqwesVRdJAokh80ebnZHnIm5Ls hQ/8uR/KmOdU8b3/heHzvL9mvOZjChb9g0D5FphWaVr1ju2wjVXD6ENZ9ew0++CBlvgQ HJx2D+vsRDp6riR8r009t7phNj5mcVBG9INjBRhcuCKo3/+TVvSGGMEMqgdA0tHBgt7G HquZl02nYU23yRcq2BY+S1OOokILD4WsS4bGFnastM7/5LfskRndPbZya3nu5tbqPRC/ QY5A== 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=MepNhYFr1+IOeR1yUlz4CllcCZZho0JnjR8wxuWPCCs=; b=ZlJKS6IRCGMwj9Xd2YcIzuFBofmib/wUQIKgirK/MLT/M2ayrsX907UFjkl6cglZtp pf6Zf8sskkYlRHAkz6KQLqqD/m3GVVngHlC58mqwOsfnyT7YKgQg5FK2WJGshozAHTIy c1D8uo8ljZs5CJcogUTqkvySwKC93I3uiMW0dXr8cW/cq7KjLVsfrP9CexqpY3VNkxA5 r62XSQSrWbrf9sjeM5SfuzTHLs1gRxoJ9FOwB3U9XxVkzR4E+pPf5Vbicx0K2oLrqGUJ CBA4OPEvPusXrGzxgYEIgalkU534S9Oh521rTye6XeJT5mMW3/t2roxsEtxKf/KtZyk5 jUOQ== X-Gm-Message-State: AOAM531fzNDlC1yLDh2u8OHml3TprWl5nP8KmYUIgyJWdfNPyRSOOTbR hlT9XVQoFlellq5qec9CIKVmYGC1Wh0= X-Received: by 2002:a17:902:7246:: with SMTP id c6mr2079283pll.191.1592454683494; Wed, 17 Jun 2020 21:31:23 -0700 (PDT) Received: from localhost.localdomain (174-21-143-238.tukw.qwest.net. [174.21.143.238]) by smtp.gmail.com with ESMTPSA id o1sm974337pjf.17.2020.06.17.21.31.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jun 2020 21:31:22 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v2 069/100] target/arm: Split out formats for 2 vectors + 1 index Date: Wed, 17 Jun 2020 21:26:13 -0700 Message-Id: <20200618042644.1685561-70-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::1042; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1042.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" Currently only used by FMUL, but will shortly be used more. Signed-off-by: Richard Henderson --- target/arm/sve.decode | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) -- 2.25.1 diff --git a/target/arm/sve.decode b/target/arm/sve.decode index 5815ba9b1c..a121e55f07 100644 --- a/target/arm/sve.decode +++ b/target/arm/sve.decode @@ -67,6 +67,7 @@ &rri_esz rd rn imm esz &rrri_esz rd rn rm imm esz &rrr_esz rd rn rm esz +&rrx_esz rd rn rm index esz &rpr_esz rd pg rn esz &rpr_s rd pg rn s &rprr_s rd pg rn rm s @@ -245,6 +246,14 @@ @rpri_scatter_store ....... msz:2 .. imm:5 ... pg:3 rn:5 rd:5 \ &rpri_scatter_store +# Two registers and a scalar by index +@rrx_h ........ 0. . .. rm:3 ...... rn:5 rd:5 \ + &rrx_esz index=%index3_22_19 esz=1 +@rrx_s ........ 10 . index:2 rm:3 ...... rn:5 rd:5 \ + &rrx_esz esz=2 +@rrx_d ........ 11 . index:1 rm:4 ...... rn:5 rd:5 \ + &rrx_esz esz=3 + ########################################################################### # Instruction patterns. Grouped according to the SVE encodingindex.xhtml. @@ -792,10 +801,9 @@ FMLA_zzxz 01100100 111 index:1 rm:4 00000 sub:1 rn:5 rd:5 \ ### SVE FP Multiply Indexed Group # SVE floating-point multiply (indexed) -FMUL_zzx 01100100 0.1 .. rm:3 001000 rn:5 rd:5 \ - index=%index3_22_19 esz=1 -FMUL_zzx 01100100 101 index:2 rm:3 001000 rn:5 rd:5 esz=2 -FMUL_zzx 01100100 111 index:1 rm:4 001000 rn:5 rd:5 esz=3 +FMUL_zzx 01100100 .. 1 ..... 001000 ..... ..... @rrx_h +FMUL_zzx 01100100 .. 1 ..... 001000 ..... ..... @rrx_s +FMUL_zzx 01100100 .. 1 ..... 001000 ..... ..... @rrx_d ### SVE FP Fast Reduction Group