Message ID | Y+NoWtjlMx8itfDf@tucnak |
---|---|
State | Unresolved |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp3349520wrn; Wed, 8 Feb 2023 01:17:09 -0800 (PST) X-Google-Smtp-Source: AK7set8emagrJm75GHAm+IBalrRjs0tDl2GikqDMnSeuRWh03Kf/0GsDi1kXr8PXNzgQ0LfAUBtZ X-Received: by 2002:a50:9b0e:0:b0:4ab:1006:d3d3 with SMTP id o14-20020a509b0e000000b004ab1006d3d3mr790067edi.6.1675847829429; Wed, 08 Feb 2023 01:17:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675847829; cv=none; d=google.com; s=arc-20160816; b=jSRPncx9is1gjBIcOvtH5a2vjQl7ESReUaLscjJ5Hkj3UYxS+hrQPMxHPlgutUozuI 10cNC2tNS8CehyDpY4EHGlRafYsUfBeId1rnJUwfGwvrXp/75LLR5Uw1UY4aR+oailAc HpN6db7qs91hZcN6sjGwg90VhNFsNKzqnVZDpfLSSzuE82t2hJL8pgNawDx041hvgs/Y 3n7kDejnYi2ennDgaP/CUTcIc+cv2VX9g3E8e9YUaBQoDBhivHbmpt7rd7TykTOeWoA/ DOeBR1K12jhqVR8etEQiBpRfnlAfxAWcKdSShckD5vrFAl6Ck+HRZMq1MBXcciT1Gggc Imdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:cc:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=LHzVzZoakcJ0yNeo2t4IZB0nl2v3n0LkWXCrKMx7Fkw=; b=XiS0Jr2LtvmlIr1GRgIKXzzZVWk0SLZv+fXOeFdDAnB/ULdfXmOECJI1mllX2pwhuh h8MP0Ogb6sN5HX25Hwa8I1v4qC+eGlwaRjmXYHF3IQitLrtCnAIzDgRS2ZhzMKRlyH71 vHqGD6/fBTxBrKU8ErieC+K0HvG2QpzdWzsBGU492F8md/i4W5TdWOu6Ii8dTjKlthX4 0wpKyiowRpMjQpjyi0+0UEp1yQGOY4zCZnTUvCmczkyE8iquwpZlxSGlGX3HnnKskEvJ M2cztPWTf5BRxvMFLSiYEbgZ1JpY9DTI1CYLMtyZtoSgOR6Ayc9d40nMcT7iyLfnyzUM 4KNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=tgKw0agj; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id j8-20020a50ed08000000b004a5840f7641si13958205eds.117.2023.02.08.01.17.09 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Feb 2023 01:17:09 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=tgKw0agj; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7CD7F3857007 for <ouuuleilei@gmail.com>; Wed, 8 Feb 2023 09:17:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7CD7F3857007 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675847823; bh=LHzVzZoakcJ0yNeo2t4IZB0nl2v3n0LkWXCrKMx7Fkw=; h=Date:To:Cc:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=tgKw0agjGdWK5gHUTKI0aDp/Lxj8pa6J5YGWra34Z/MYK/1nQqolMOg0ov70Sbwpp SiDUS8r8UFEsRP86NfwIhluzdGZsRWKbL/1T30dJtL4MPwJjtlQmIXxxEHOPSFvV3p dDMZwmGpiQXQ4FHpHbzPKNTn0aelYF5DCA6czUhk= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 625F33858D39 for <gcc-patches@gcc.gnu.org>; Wed, 8 Feb 2023 09:16:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 625F33858D39 Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-43-ssMAhxK2PEGHeDd1M380mw-1; Wed, 08 Feb 2023 04:16:16 -0500 X-MC-Unique: ssMAhxK2PEGHeDd1M380mw-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8F4DC101A55E; Wed, 8 Feb 2023 09:16:15 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.223]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1B84C492C3E; Wed, 8 Feb 2023 09:16:14 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.17.1/8.17.1) with ESMTPS id 3189GCVn3943247 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 8 Feb 2023 10:16:12 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 3189GB5F3943246; Wed, 8 Feb 2023 10:16:11 +0100 Date: Wed, 8 Feb 2023 10:16:10 +0100 To: Richard Sandiford <richard.sandiford@arm.com>, Richard Biener <rguenther@suse.de> Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] tree.def: Remove outdated comment on SAD_EXPR Message-ID: <Y+NoWtjlMx8itfDf@tucnak> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Jakub Jelinek via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Jakub Jelinek <jakub@redhat.com> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757253813458389854?= X-GMAIL-MSGID: =?utf-8?q?1757253813458389854?= |
Series |
tree.def: Remove outdated comment on SAD_EXPR
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | warning | Git am fail log |
Commit Message
Jakub Jelinek
Feb. 8, 2023, 9:16 a.m. UTC
Hi! While looking at PR108692, I've noticed SAD_EXPR comment mentions that WIDEN_MINUS_EXPR is missing, which is not true anymore since r11-5160. The following patch just removes that part of the comment. Ok for trunk? 2023-02-08 Jakub Jelinek <jakub@redhat.com> * tree.def (SAD_EXPR): Remove outdated comment about missing WIDEN_MINUS_EXPR. Jakub
Comments
> Am 08.02.2023 um 10:17 schrieb Jakub Jelinek via Gcc-patches <gcc-patches@gcc.gnu.org>: > > Hi! > > While looking at PR108692, I've noticed SAD_EXPR comment mentions that > WIDEN_MINUS_EXPR is missing, which is not true anymore since r11-5160. > > The following patch just removes that part of the comment. > > Ok for trunk? Ok Richard > > 2023-02-08 Jakub Jelinek <jakub@redhat.com> > > * tree.def (SAD_EXPR): Remove outdated comment about missing > WIDEN_MINUS_EXPR. > > --- gcc/tree.def.jj 2023-01-02 09:32:28.118202450 +0100 > +++ gcc/tree.def 2023-02-08 10:05:52.795587292 +0100 > @@ -1341,8 +1341,7 @@ DEFTREECODE (WIDEN_SUM_EXPR, "widen_sum_ > The first two arguments are of type t1 which should be integer. > The third argument and the result are of type t2, such that t2 is at least > twice the size of t1. Like DOT_PROD_EXPR, SAD_EXPR (arg1,arg2,arg3) is > - equivalent to (note we don't have WIDEN_MINUS_EXPR now, but we assume its > - behavior is similar to WIDEN_SUM_EXPR): > + equivalent to: > tmp = WIDEN_MINUS_EXPR (arg1, arg2) > tmp2 = ABS_EXPR (tmp) > arg3 = PLUS_EXPR (tmp2, arg3) > > Jakub >
--- gcc/tree.def.jj 2023-01-02 09:32:28.118202450 +0100 +++ gcc/tree.def 2023-02-08 10:05:52.795587292 +0100 @@ -1341,8 +1341,7 @@ DEFTREECODE (WIDEN_SUM_EXPR, "widen_sum_ The first two arguments are of type t1 which should be integer. The third argument and the result are of type t2, such that t2 is at least twice the size of t1. Like DOT_PROD_EXPR, SAD_EXPR (arg1,arg2,arg3) is - equivalent to (note we don't have WIDEN_MINUS_EXPR now, but we assume its - behavior is similar to WIDEN_SUM_EXPR): + equivalent to: tmp = WIDEN_MINUS_EXPR (arg1, arg2) tmp2 = ABS_EXPR (tmp) arg3 = PLUS_EXPR (tmp2, arg3)