From patchwork Wed Nov 6 00:00:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 1190074 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-512562-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="HcUQvCrH"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4776Bk3PJZz9sPF for ; Wed, 6 Nov 2019 11:01:18 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; q=dns; s=default; b=O8P5az09rrVQ ltIzY/lrenF5xoi/R+iX9fEhC2N9IMra5Enxe9PCb1elE9b3QEWYRGcmdcCZfimY KV+4EChDCMgdJunQjRRdJdz2Br6hXiPy0Uy+PU/XjLW9a0ityy1xxomXa1hsaULM NLaMNOjz1tswKF/4WgygCNrCcgAfDAU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :to:cc:subject:date:message-id; s=default; bh=XSKlYSHrAoI0F/LzIL uh58sn78s=; b=HcUQvCrHgQ/8/HFPPntUQCRCYDWAmj2RL+M8cACCl7g6jBRq4z x/mnSZQfgaPHX47Dq+UMnXzJJDRESwxr2GC/zVfNMfP/6ki3i6sSoJKj6r6fhQN/ qfVOu+3HMFhs0207z7rDw1CL4DDbaODf/dx3auvdUXTwqxeC4fDFCEWiE= Received: (qmail 56390 invoked by alias); 6 Nov 2019 00:01:10 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk 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 56272 invoked by uid 89); 6 Nov 2019 00:01:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-17.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3 autolearn=ham version=3.3.1 spammy=splitter X-HELO: gcc1-power7.osuosl.org Received: from gcc1-power7.osuosl.org (HELO gcc1-power7.osuosl.org) (140.211.15.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 06 Nov 2019 00:01:02 +0000 Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id 1CD571240891; Wed, 6 Nov 2019 00:01:01 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Cc: Segher Boessenkool Subject: [PATCH] doc: Insn splitting by combine Date: Wed, 6 Nov 2019 00:00:58 +0000 Message-Id: X-IsSubscribed: yes The conbine pass is perfectly happy if a splitter splits to just one instruction (instead of two). Committing to trunk. Segher 2019-11-05 Segher Boessenkool * doc/md.texi (Insn Splitting): Fix combiner documentation. --- gcc/doc/md.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index 859ebed..19d6893 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -8371,7 +8371,7 @@ case that the pattern is @emph{not} matched by any @code{define_insn}. The combiner pass first tries to split a single @code{set} expression and then the same @code{set} expression inside a @code{parallel}, but followed by a @code{clobber} of a pseudo-reg to use as a scratch -register. In these cases, the combiner expects exactly two new insn +register. In these cases, the combiner expects exactly one or two new insn patterns to be generated. It will verify that these patterns match some @code{define_insn} definitions, so you need not do this test in the @code{define_split} (of course, there is no point in writing a