Message ID | 20200422011722.13287-2-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:3d9a:0:0:0:0:0 with SMTP id k26csp159942ilf; Tue, 21 Apr 2020 18:17:42 -0700 (PDT) X-Google-Smtp-Source: APiQypI3/huuFRvz+EpDibvIWomAAuldU5pTElUyhqN7UJ1oaveJTY6TOJI5pVnl4z5DqcFEQ8V5 X-Received: by 2002:a0c:b2d2:: with SMTP id d18mr5363139qvf.80.1587518262582; Tue, 21 Apr 2020 18:17:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587518262; cv=none; d=google.com; s=arc-20160816; b=a46eThhx06TgmsQz12NEcC0LufwWWtmIZ33yeBnI+vbqojw4Wfqm6oGSpeIBjjg3fA txIxDbnzhpp4PmhxVgdKnR05cskB+GQTfcZ0Jhevq3rPGbduuiCZEbtilf5UfwcIJ47q fF8NLI2tbX3KOdon3TWlrNRxHzUWz01O+9H7TjLgnjQ6+tjVEMmTEcDb1pxLrfkTH0TW xeze/kclwhOzUZzVLgMDwFW/sJOI8LLNLnAd9/ehskAypqFR6It1kq8ONKG5Fth58ChO xl1/1LBx72wPrbDqCaZqsZd/50rKdSn7Rg2M84yNrrE6vfvhMMdyoS9tNpkt6AePX5zC fC5Q== 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=BLcD9N9MlInNi6OgkZr1QrgaUSOVwaTdYcH5SM4Yl98=; b=XZUxtxsfVMpMcuq00HzHTDqw8qjYxrK7qTKXa6lZ/fbkp1FH631h0RgqdwGi8tFOAj OiQAjS32e1dJUjZZF3CQXnZSI/d0HF9uCvv85xwxBaPJ3JDCBBntvybCo2FL20M4UhK/ DaFCy6RwLhk8OfF7Fz3TDzYAMYoy2rvgNdCAaI83WMYMi600iwNH0hc53ou41ZZVEU3J EJbR2dwQ223W8+PTkPpuK62F1Clj4PEz6nvovfe9FhOe0tZeCfbhyWBdDKBDTfFJ6FtV tL6tPP74BCipa+7nfNuRGeMWnhIjbTCeTtqFiRPAqDCDfYzGkEc912pBy/Zd6GxmfyVV f6yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WX3dDYzd; 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 t2si2510634qkb.118.2020.04.21.18.17.42 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 21 Apr 2020 18:17:42 -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=WX3dDYzd; 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]:38428 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 1jR41F-00015G-39 for patch@linaro.org; Tue, 21 Apr 2020 21:17:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33592) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1jR413-00013a-Lk for qemu-devel@nongnu.org; Tue, 21 Apr 2020 21:17:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1jR412-00014A-MN for qemu-devel@nongnu.org; Tue, 21 Apr 2020 21:17:29 -0400 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:40331) 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 1jR412-0000xH-8B for qemu-devel@nongnu.org; Tue, 21 Apr 2020 21:17:28 -0400 Received: by mail-pl1-x643.google.com with SMTP id t16so240427plo.7 for <qemu-devel@nongnu.org>; Tue, 21 Apr 2020 18:17: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=BLcD9N9MlInNi6OgkZr1QrgaUSOVwaTdYcH5SM4Yl98=; b=WX3dDYzdo+CTgu0rZU24tkXT5Gz4i+Jt1iOdRL/oyCI8Kw1ykTJxx+ArydS5wyzLc7 yp79SyPeiVThwhDrPBNvmPT/dCG+2382NVSrhLloRiT/tkNyMe3w3s3UpYDEY/j20AgD 010XEwSRpCLE2VNtG63dK1HNa6D8F43IX0aMXT6XvSntcKqKiq1GXMUa3tdF0wEQlmDX JBsnktthXnpTlgOI1a9ZmyyA7forEframJW5d+pWJy+OLPjcK+QdkM/bQfd/YVeie2Fp ovFzTIH7K4CQcTQFkyjXzVJmwkqkF0G4c2yQl+WWetzIjdrPsGw5ePc3AQT8sPyKurkt L9SA== 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=BLcD9N9MlInNi6OgkZr1QrgaUSOVwaTdYcH5SM4Yl98=; b=Rw9fCJ11QeUkWhbktDvUwP9p4kqAlfHz7evwKv02+JFvf0OqJj3om3FiYzfqHe1BlW 42vLnPb8BOFwJNhIyFnqQJXMGJxUyew5ICCmp3omuIEtRifChijpE4rNy17lcS1oSdXZ 3Rsq+u9qKz+Phs5XDNF6aj9QImfoReJ2ojfIBo2tZVvhsXes4ldIYL55t8F+Adu+cClj CgRaW/SZtczXwaQCQa4sHJNPGtCyYC1yfc/yXU8WwGh9bhcrNG+KyTFMDT8JGpM4IYqk 7NLiOvxjd6fcensrGPUX9Qeb01NH60/xSYm2sb5PLty2Aw7Gap733La1Xi1vagW5CcMZ KRqw== X-Gm-Message-State: AGi0PuZNjG3HPBPvprW78XenvsMKVgUYHs7ypDvr18PM154+MNs49OFm 7InFA+R03qwhjPsd27ijHIa+WkZwIG4= X-Received: by 2002:a17:902:a50d:: with SMTP id s13mr24780278plq.5.1587518246044; Tue, 21 Apr 2020 18:17:26 -0700 (PDT) Received: from localhost.localdomain (174-21-149-226.tukw.qwest.net. [174.21.149.226]) by smtp.gmail.com with ESMTPSA id m4sm3673561pfm.26.2020.04.21.18.17.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 18:17:25 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH v2 01/36] tcg: Add tcg_gen_gvec_dup_imm Date: Tue, 21 Apr 2020 18:16:47 -0700 Message-Id: <20200422011722.13287-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200422011722.13287-1-richard.henderson@linaro.org> References: <20200422011722.13287-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::643; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x643.google.com X-detected-operating-system: by eggs.gnu.org: Error: [-] PROGRAM ABORT : Malformed IPv6 address (bad octet value). Location : parse_addr6(), p0f-client.c:67 X-Received-From: 2607:f8b0:4864:20::643 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: alex.bennee@linaro.org, LIU Zhiwei <zhiwei_liu@c-sky.com>, David Hildenbrand <david@redhat.com> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
tcg 5.1 omnibus patch set
|
expand
|
diff --git a/include/tcg/tcg-op-gvec.h b/include/tcg/tcg-op-gvec.h index 74534e2480..eb0d47a42b 100644 --- a/include/tcg/tcg-op-gvec.h +++ b/include/tcg/tcg-op-gvec.h @@ -313,6 +313,8 @@ void tcg_gen_gvec_ors(unsigned vece, uint32_t dofs, uint32_t aofs, void tcg_gen_gvec_dup_mem(unsigned vece, uint32_t dofs, uint32_t aofs, uint32_t s, uint32_t m); +void tcg_gen_gvec_dup_imm(unsigned vece, uint32_t dofs, uint32_t s, + uint32_t m, uint64_t imm); void tcg_gen_gvec_dup_i32(unsigned vece, uint32_t dofs, uint32_t s, uint32_t m, TCGv_i32); void tcg_gen_gvec_dup_i64(unsigned vece, uint32_t dofs, uint32_t s, diff --git a/tcg/tcg-op-gvec.c b/tcg/tcg-op-gvec.c index 327d9588e0..593bb4542e 100644 --- a/tcg/tcg-op-gvec.c +++ b/tcg/tcg-op-gvec.c @@ -1569,6 +1569,13 @@ void tcg_gen_gvec_dup8i(uint32_t dofs, uint32_t oprsz, do_dup(MO_8, dofs, oprsz, maxsz, NULL, NULL, x); } +void tcg_gen_gvec_dup_imm(unsigned vece, uint32_t dofs, uint32_t oprsz, + uint32_t maxsz, uint64_t x) +{ + check_size_align(oprsz, maxsz, dofs); + do_dup(vece, dofs, oprsz, maxsz, NULL, NULL, x); +} + void tcg_gen_gvec_not(unsigned vece, uint32_t dofs, uint32_t aofs, uint32_t oprsz, uint32_t maxsz) {