From patchwork Tue Jun 29 18:54:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 468354 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp5262137jao; Tue, 29 Jun 2021 12:44:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz18HqBskTzTG+y1P4rLCe/io/xTpgxCl2DjaOVuEpfJ0SXtUe84hD0bAonE2ntnSHP0z2S X-Received: by 2002:a05:6214:931:: with SMTP id dk17mr2752039qvb.4.1624995888551; Tue, 29 Jun 2021 12:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624995888; cv=none; d=google.com; s=arc-20160816; b=JsVvKp8VirDIS/qN9KO1Qywz3o5zSF2Pp/AhFUtIJ4dnHHW3MkhSFX4YlrTD0y1yv5 Gdh4ri2y8MieT7Y0570ZWbKK+iutir1DqOP0icHN4Sm8cHrZoehqtqsTmPwpuFwD0LV9 uWABQRFHPqXeFZQDRw36sNklQ4r8MXwcn9koLxBjFmH40Jq54eS3RV8dmLpbGdD/QXiG ZTAEmxRDShiPR3kA0J0scN2BudxQMEvVm1EEO9nho4f2gqDdJiE5phu+bwKfql3vbIXh o5Nhn0NAXzEIx2U1PX1KLOKcMRrpSGKfpvU7kZ7YeeNmEwACvs8tRKec+qSSitCfJpnp swtQ== 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=MS+54kxIfTXZuvkER1/bNkljAmYnUsI7C3BvDWc6sZw=; b=V7pjsHjPuanZvlZbpV0AeH9i+fGxrTtvp6YGf0l1YZml9QqUMNB49rgWfYtdPMueA/ VKgLBAcZNRvXmTdK+iQ4jWbgaV5JmPHXhYjyTV1mj5Y+potIpfGpusVVyrWtmBQZBcmN iDPvXeAQkSd2URL3UELrpnIm8EFcvuIXXt+JnV8pOeACp9s7SqyTbGZDYJEIymyh8m/j Hcs2PI3gYYqpq3KtzEjmfdqn2thErkShmSTzaqpOm2T0VkhV1B85b8nhlrkL/THOCeE+ Z9uTdv8hlhchhVVJZDd4unsuyN0L9rTFKmsHW/DxjFWjto43Qec7ObUUcybZqYxnozgx Z0Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GGRftq6Y; 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 d16si13546244qtx.357.2021.06.29.12.44.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Jun 2021 12:44:48 -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=GGRftq6Y; 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]:41138 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyJf5-0000C7-VL for patch@linaro.org; Tue, 29 Jun 2021 15:44:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38792) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyItT-00008H-2B for qemu-devel@nongnu.org; Tue, 29 Jun 2021 14:55:35 -0400 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:40479) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lyItA-0000ua-Ez for qemu-devel@nongnu.org; Tue, 29 Jun 2021 14:55:34 -0400 Received: by mail-pg1-x535.google.com with SMTP id g22so1096957pgl.7 for ; Tue, 29 Jun 2021 11:55:16 -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=MS+54kxIfTXZuvkER1/bNkljAmYnUsI7C3BvDWc6sZw=; b=GGRftq6Y0ulesKfLDfLjoi/mKkxwHOyr0beTdcWBbP48NZ+jTD1pVOh0u28FDPY3rO JGVySeqb9lQ3dmVWN3AWMKkwuMekfP7cedVVMQ9Dvpoywx7I+5iZGfuL+efINCAYc+zw 2DqH29qizPaPfQ2TiUS50xqAuXRWmFGMIIlN9Mg8iXktb2OidAp82LnS/gruDJCV7+5z FPaCBTHvqQgI6jHo5+tf6ToEWJVa5PW+zEovQKTRi1bccPuWQ/K5Fg/3WzISxpCcOrBC 89J3a0S2c6esjDTKVMksyZsgdga8GnLK6H3y8lIgXY9dQbcCmq9c6GydkOOvrBL5DAT3 +vgw== 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=MS+54kxIfTXZuvkER1/bNkljAmYnUsI7C3BvDWc6sZw=; b=A0PSIFcFouZR4ah6Yo5i4UnrJH1aYyA/FwlezEFFFs136XV3MePxuS3vEWraX99P/n otust/Tp9MQWGCriH7NCDtGJOTqhpalN6s3U/EzAbKTi7iYy90P3wIuWjtLZ5qLKDT7W B7NTdKrCEImAL4fHROOY4ngqTzOG2lxUiHNmfleTwtRocApqdmWsZ72boCAXzI6bDaLu ucZHMaAi1zl39b9BXZDc6F+jWnZZh6rDArkKYkOTpuYAxy1mVH26QL6UuRDF3+PQyCvi m+KCLQxSz0JW0WYUndheRy0zd9oLs9Yf8nXyYVWDahz2e8rmnfcQxSIi1BOBYq+wOelj QcxQ== X-Gm-Message-State: AOAM533lI859am2G/plywFsy/JO35UY3bVJ1wZupMZRL8q0eN7sAA8Mb fxmJA28lHr3kDdgJcG6PGFoj0uVqp0O1LQ== X-Received: by 2002:a63:a44:: with SMTP id z4mr29359549pgk.379.1624992915195; Tue, 29 Jun 2021 11:55:15 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id j2sm18811253pfb.53.2021.06.29.11.55.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jun 2021 11:55:14 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 33/63] tcg: Implement tcg_gen_vec_add{sub}32_tl Date: Tue, 29 Jun 2021 11:54:25 -0700 Message-Id: <20210629185455.3131172-34-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210629185455.3131172-1-richard.henderson@linaro.org> References: <20210629185455.3131172-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x535.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, TVD_SPACE_RATIO=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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: LIU Zhiwei Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: LIU Zhiwei Signed-off-by: LIU Zhiwei Message-Id: <20210624105023.3852-6-zhiwei_liu@c-sky.com> Signed-off-by: Richard Henderson --- include/tcg/tcg-op-gvec.h | 4 ++++ 1 file changed, 4 insertions(+) -- 2.25.1 diff --git a/include/tcg/tcg-op-gvec.h b/include/tcg/tcg-op-gvec.h index e3b274502c..da55fed870 100644 --- a/include/tcg/tcg-op-gvec.h +++ b/include/tcg/tcg-op-gvec.h @@ -420,6 +420,8 @@ void tcg_gen_vec_sar16i_i32(TCGv_i32 d, TCGv_i32 a, int32_t); #define tcg_gen_vec_sub8_tl tcg_gen_vec_sub8_i64 #define tcg_gen_vec_add16_tl tcg_gen_vec_add16_i64 #define tcg_gen_vec_sub16_tl tcg_gen_vec_sub16_i64 +#define tcg_gen_vec_add32_tl tcg_gen_vec_add32_i64 +#define tcg_gen_vec_sub32_tl tcg_gen_vec_sub32_i64 #define tcg_gen_vec_shl8i_tl tcg_gen_vec_shl8i_i64 #define tcg_gen_vec_shr8i_tl tcg_gen_vec_shr8i_i64 #define tcg_gen_vec_sar8i_tl tcg_gen_vec_sar8i_i64 @@ -432,6 +434,8 @@ void tcg_gen_vec_sar16i_i32(TCGv_i32 d, TCGv_i32 a, int32_t); #define tcg_gen_vec_sub8_tl tcg_gen_vec_sub8_i32 #define tcg_gen_vec_add16_tl tcg_gen_vec_add16_i32 #define tcg_gen_vec_sub16_tl tcg_gen_vec_sub16_i32 +#define tcg_gen_vec_add32_tl tcg_gen_add_i32 +#define tcg_gen_vec_sub32_tl tcg_gen_sub_i32 #define tcg_gen_vec_shl8i_tl tcg_gen_vec_shl8i_i32 #define tcg_gen_vec_shr8i_tl tcg_gen_vec_shr8i_i32 #define tcg_gen_vec_sar8i_tl tcg_gen_vec_sar8i_i32