From patchwork Thu Jan 25 08:12:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 191890 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp1490467dyi; Thu, 25 Jan 2024 00:13:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IF6WN6GHcXSWQ1PxWjDnuScLxxNqtAvTvN5XK70WzyjeRwWh7NnOKXH1koeCKNcLiMmcP5C X-Received: by 2002:ad4:576b:0:b0:686:90c3:374b with SMTP id r11-20020ad4576b000000b0068690c3374bmr767773qvx.31.1706170436245; Thu, 25 Jan 2024 00:13:56 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706170436; cv=pass; d=google.com; s=arc-20160816; b=KJEYM0ABnyn4uEW3ULo2T8qm88AQsVfFlbUSgx1ltb62PyQoHydEc0l2Hz7M5/myZV CA4gMfUubUaqRyCQqsktd5ovCnjkEoR4IMLEZJWHVPWBBbu+kgDTh4Gm9LmHtrBBC/fS oQpkkU8xHByZYMg/MSzTBJu646K0liNjKcto4/Xkdd8n3HZlOGaq9oQNF5PCzFLYuEFe 4CFOCAm9SW992Krpn2MuMhbWHbhQndwDY5YncvyfGzuhcgZrNibwf+7ToP57YAaD6n0k a8OWOyYLS47sG+bWo0lG1rmDrBdg5i99TVO+rpjtJ1s0iFWg/PsmDG+RDJjF8BKedDag N1rg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:reply-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=/4pO4s4mIcJWI/+V52dLMzQ0Go906ufX0VxXPp5NnQQ=; fh=hPrbWPhweUx4V0GV9uXJqbyAzg2ABmTz7kczrAQqMmM=; b=liQ6ZjB6W6+UMku+YV/R73JWuA0plfzlC0yEd4qUGGLTs6ydmuprCyfyajAM5BX9IB 93jzhP8z72Rg09MpR3EV1tHmkb9hCAH+5S1hUr0tjPlSdHGOeHgiHd0/a9AHQOc//xgj O+3fAuFds0LBgcgyo6gxJLKXxrK5/QtzGLnjsHKLDdtOpLdNk4MgICuS1wjgEV7W4wx4 EU/cDi8P8xgCINDe/WdN6wOWYJbSihS65KbHY8JCFEpsPi4bg/TMjy833KwE8R8JwwBF xoEfXvJ1PkGtBAdoT/4jjtXTBsLa7cdVz4gZi7BoJFXXXTOGDylVRlDGkCZlp3ywDqn+ LN3w== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZtEqyOw+; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id t3-20020a0cde03000000b006817a486aa0si12247252qvk.494.2024.01.25.00.13.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 00:13:56 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZtEqyOw+; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E4EE23858C66 for ; Thu, 25 Jan 2024 08:13:55 +0000 (GMT) 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 E38983858D37 for ; Thu, 25 Jan 2024 08:13:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E38983858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E38983858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706170383; cv=none; b=cXnrnTq/Mg0wxVbIVU5YkWdPQTfUfZqa+fJOaq/nBVyAgZDtQXpDVAtqUIh8jBqXBUGKTt1+40iwIBrA3W+19jkvNDzYajpsEL58OS4SE+HoynwvHcnUlaAG+LG95wOiU6CMTl932NLOroboyIRaUqOgwVnCFuAZNz3cywLamSc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706170383; c=relaxed/simple; bh=UPP9LLQofh02iDzz1YwQ0pP2Qv+3eAZnzRnX9FbPX54=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=P8QU2uNw5KTZY7pURda5vqLzUUHcwVs4uuS2vCtQm/0veMXn4zSc13DI6nAwahVTygrVus1SQ27X1PgxUZGWmnmtqp2yNUYLqVzn95jFmrHw6aK3wqZS80oyMIE8eFXsYVExztgicc9/ig3b/7Xdi+ZdoVerVX3Wt5ymUeQwEN4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706170381; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type; bh=/4pO4s4mIcJWI/+V52dLMzQ0Go906ufX0VxXPp5NnQQ=; b=ZtEqyOw+AmLBQwgeSw71weaAeeH9/hufV6qLMf7/VE2rtmEv8qr9SNqMZftEJbPTL0cOf5 OU4VIyADgXjInRbZ+ZLpq3keP8tobHyJEQDEFr6VJDlqIEbBAnauKyxhb3u+fouM43t8ll zQYfLpOT0WmkmdfMApxcJuCQ/QnHihU= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-171-v7lFT4gfObSa7sQQsgPu_g-1; Thu, 25 Jan 2024 03:12:58 -0500 X-MC-Unique: v7lFT4gfObSa7sQQsgPu_g-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3918B10665A0 for ; Thu, 25 Jan 2024 08:12:58 +0000 (UTC) Received: from tucnak.zalov.cz (unknown [10.39.192.70]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F1A19C15D7E for ; Thu, 25 Jan 2024 08:12:57 +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 40P8Ct0r335012 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Thu, 25 Jan 2024 09:12:56 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.17.1/8.17.1/Submit) id 40P8Ct57335011 for gcc-patches@gcc.gnu.org; Thu, 25 Jan 2024 09:12:55 +0100 Date: Thu, 25 Jan 2024 09:12:55 +0100 From: Jakub Jelinek To: gcc-patches@gcc.gnu.org Subject: [committed] docs: Fix 2 typos Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline X-Spam-Status: No, score=-4.2 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_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Jakub Jelinek Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789049371547215822 X-GMAIL-MSGID: 1789049371547215822 Hi! When looking into PR113572, I've noticed a typo in VECTOR_CST documentation and grep found pasto of it elsewhere. Bootstrapped/regtested on x86_64-linux and i686-linux, committed to trunk as obvious. 2024-01-25 Jakub Jelinek * doc/generic.texi (VECTOR_CST): Fix typo - petterns -> patterns. * doc/rtl.texi (CONST_VECTOR): Likewise. Jakub --- gcc/doc/generic.texi.jj 2024-01-03 12:07:05.393689002 +0100 +++ gcc/doc/generic.texi 2024-01-24 20:40:29.430727745 +0100 @@ -1153,7 +1153,7 @@ vector. For example @{ 0, 1 @} could be one element each or one pattern with two elements (@var{base0} and @var{base1}). The canonical encoding is always the one with the fewest patterns or (if both encodings have the same number of -petterns) the one with the fewest encoded elements. +patterns) the one with the fewest encoded elements. @samp{vector_cst_encoding_nelts (@var{v})} gives the total number of encoded elements in @var{v}, which is 6 in the example above. --- gcc/doc/rtl.texi.jj 2024-01-03 12:07:04.050707817 +0100 +++ gcc/doc/rtl.texi 2024-01-24 20:41:00.326299026 +0100 @@ -1843,7 +1843,7 @@ vector. For example @{ 0, 1 @} could be one element each or one pattern with two elements (@var{base0} and @var{base1}). The canonical encoding is always the one with the fewest patterns or (if both encodings have the same number of -petterns) the one with the fewest encoded elements. +patterns) the one with the fewest encoded elements. @samp{const_vector_encoding_nelts (@var{v})} gives the total number of encoded elements in @var{v}, which is 6 in the example above.