From patchwork Tue Aug 25 09:52:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Collison X-Patchwork-Id: 52669 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f197.google.com (mail-lb0-f197.google.com [209.85.217.197]) by patches.linaro.org (Postfix) with ESMTPS id 8849B22E9E for ; Tue, 25 Aug 2015 09:53:14 +0000 (UTC) Received: by lbck9 with SMTP id k9sf49338553lbc.0 for ; Tue, 25 Aug 2015 02:53:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:mailing-list:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:sender :delivered-to:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding:x-original-sender :x-original-authentication-results; bh=YUj1xZJYRf4G7kIaU323jnoIZlnLqH0EoAnvqHBOlck=; b=YoS0+IjdbfwHgjdRSApVnad7Z/1KhDGZ4YlRVrZi917OtB1+AcGEGZmwyeYjIvwOBV Ng0ZwrjelZASOT9aCwvRMr8FBpdoNQBOa6mTuVrSEYFc+srY4PfUEbGBp9pwek0efYmp 61xUZ057CU7P0b5LkIotdAQXlN43Pc5uqhModcWAKNT13xjE2mwFAKY3Laj72G74nBYR jAmNFHZkPntaUpkjr8UhYTpdaYTvpIrNb33ujU/YBNYmHfhtKq4ArQ6nJEv55lYj9VH7 ACzOWYgfUbIY2msjq0vHNBLilM48n3HO9dUQ7JeCAlbzLLmKNuWF70LsigusXBwgoE/p ueKg== X-Gm-Message-State: ALoCoQkUZJ3W/VZ2zcCW50uwoPiR/OraXKxO/93GEU6wxCeIoLOYAt7Sm/GsYm5OUFl7WattigZH X-Received: by 10.112.139.137 with SMTP id qy9mr8190862lbb.17.1440496393547; Tue, 25 Aug 2015 02:53:13 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.9.7 with SMTP id v7ls713823laa.107.gmail; Tue, 25 Aug 2015 02:53:13 -0700 (PDT) X-Received: by 10.112.87.69 with SMTP id v5mr25290693lbz.12.1440496393264; Tue, 25 Aug 2015 02:53:13 -0700 (PDT) Received: from mail-lb0-x230.google.com (mail-lb0-x230.google.com. [2a00:1450:4010:c04::230]) by mx.google.com with ESMTPS id lv11si15479052lac.29.2015.08.25.02.53.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Aug 2015 02:53:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::230 as permitted sender) client-ip=2a00:1450:4010:c04::230; Received: by lbbpu9 with SMTP id pu9so96312869lbb.3 for ; Tue, 25 Aug 2015 02:53:13 -0700 (PDT) X-Received: by 10.152.37.104 with SMTP id x8mr11950867laj.29.1440496393171; Tue, 25 Aug 2015 02:53:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.162.200 with SMTP id yc8csp3050995lbb; Tue, 25 Aug 2015 02:53:12 -0700 (PDT) X-Received: by 10.70.90.98 with SMTP id bv2mr55043588pdb.36.1440496391470; Tue, 25 Aug 2015 02:53:11 -0700 (PDT) Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id 10si5080729pdf.57.2015.08.25.02.53.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Aug 2015 02:53:11 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-405943-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Received: (qmail 15867 invoked by alias); 25 Aug 2015 09:52:57 -0000 Mailing-List: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 15781 invoked by uid 89); 25 Aug 2015 09:52:57 -0000 X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL, BAYES_20, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f46.google.com Received: from mail-pa0-f46.google.com (HELO mail-pa0-f46.google.com) (209.85.220.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 25 Aug 2015 09:52:55 +0000 Received: by padfo6 with SMTP id fo6so3085986pad.3 for ; Tue, 25 Aug 2015 02:52:53 -0700 (PDT) X-Received: by 10.66.162.162 with SMTP id yb2mr6148879pab.122.1440496372919; Tue, 25 Aug 2015 02:52:52 -0700 (PDT) Received: from [192.168.1.14] (ip70-176-202-128.ph.ph.cox.net. [70.176.202.128]) by smtp.googlemail.com with ESMTPSA id c2sm20387761pds.56.2015.08.25.02.52.52 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Aug 2015 02:52:52 -0700 (PDT) Message-ID: <55DC3AF2.8050009@linaro.org> Date: Tue, 25 Aug 2015 02:52:50 -0700 From: Michael Collison User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: gcc Patches Subject: [PATCH, PR other/67320] Fix wide add standard names X-Original-Sender: michael.collison@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c04::230 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gcc.gnu.org X-Google-Group-Id: 836684582541 The standard names for signed and unsigned vector wide adds are wrong in the documentation. OK for trunk? 2015-08-25 Michael Collison PR other/67320 * doc/md.texi: Rename [su]sum_widen to widen_[su]sum to reflect correct standard names operand 1. Add operand 1 to operand 2 and place the widened result in operand 0. (This is used express accumulation of elements into an accumulator diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 0bffdc6..619259f 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -4946,10 +4946,10 @@ is of a wider mode, is computed and added to operand 3. Operand 3 is of a mode equal or wider than the mode of the absolute difference. The result is placed in operand 0, which is of the same mode as operand 3. -@cindex @code{ssum_widen@var{m3}} instruction pattern -@item @samp{ssum_widen@var{m3}} -@cindex @code{usum_widen@var{m3}} instruction pattern -@itemx @samp{usum_widen@var{m3}} +@cindex @code{widen_ssum@var{m3}} instruction pattern +@item @samp{widen_ssum@var{m3}} +@cindex @code{widen_usum@var{m3}} instruction pattern +@itemx @samp{widen_usum@var{m3}} Operands 0 and 2 are of the same mode, which is wider than the mode of