From patchwork Wed Aug 15 17:17:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Malcomson X-Patchwork-Id: 957986 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-483723-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="LiUCB07A"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="gT7zs6ku"; 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 41rGRQ6by9z9sBx for ; Thu, 16 Aug 2018 03:19:27 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :content-type:mime-version:from:to:cc:date:subject:message-id; q=dns; s=default; b=EOaqqYKWFZx3YF8RpBnXU9+uLUQOHjVKfLAckr3BQcw in5L4ZL5bRJGfu8HY5FE3gQe8k4l3XL71+C6VBABFI1gHykSKJwX62YMf4qg6Q4b bd7Opw/DFlLhOeKy6b5r9+qByPCQzOCvzhNUvPYvto6jsLB9+GsNKev1Avh/0SK8 = 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 :content-type:mime-version:from:to:cc:date:subject:message-id; s=default; bh=uLlFU5nDiyty65aKi0//NpmqxWI=; b=LiUCB07AlKfuzRyMF f2f6D24oJXOK7rRUeXAalMP9Rka2erah9tWtuxh2YzpWZC5Rp4x9c0MW2dMovhEM 3mLW33Z+Jb1rtOCbxC5ZkvsUA5R7qoG94NgIncDjFWbs9qoD5M7nsaY3kxeIIm/R 1S5ZxzW3Ea4HwYMVmcV717DpTA= Received: (qmail 115602 invoked by alias); 15 Aug 2018 17:19:20 -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 115592 invoked by uid 89); 15 Aug 2018 17:19:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=HIGH, matthew, Matthew, ssh X-HELO: EUR04-DB3-obe.outbound.protection.outlook.com Received: from mail-eopbgr60080.outbound.protection.outlook.com (HELO EUR04-DB3-obe.outbound.protection.outlook.com) (40.107.6.80) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 15 Aug 2018 17:19:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8Wu16/Lvus5ySHBMz/H6TbuDZpOA1qgLbs7MbvLoaYI=; b=gT7zs6kuGombVEWOToYdrZF06MBbpGjzNMd4I2zirQWj/g/t9ZED+VNYrNVAbMbQAYbpyEOlzpK1kls0fCbWsX5smVI2AKRDEJnWf73UhADL6Q9+nlSswQwPAPJQfnYyz2Wxg77z7xMmxfVVlnnhIcdf8nGw7ZRlw0iCx+c0cp4= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Matthew.Malcomson@arm.com; Received: from e120487-lin.cambridge.arm.com (217.140.106.49) by VI1PR0801MB2015.eurprd08.prod.outlook.com (2603:10a6:800:8b::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.23; Wed, 15 Aug 2018 17:19:11 +0000 MIME-Version: 1.0 From: Matthew Malcomson To: gcc-patches@gcc.gnu.org Cc: joseph@codesourcery.com, nd@arm.com, sandra@codesourcery.com, gerald@pfeifer.com Date: Wed, 15 Aug 2018 18:17:03 +0100 Subject: [PATCH][GCC][DOCS] Remove rtl.texi references to old RTX code class names Message-ID: Received-SPF: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-IsSubscribed: yes Remove rtl.texi references to old RTX code class names The old names were changed in svn revision svn+ssh://gcc.gnu.org/svn/gcc/trunk@78824 138bc75d-0d04-0410-961f-82ee72b054a4 but the documentation was not fully updated at the time. Documentation checked after full build (both .info and .pdf) Ok for trunk? 2018-08-15 Matthew Malcomson gcc/ * doc/rtl.texi: Replace old RTX class names with new names. ############### Attachment also inlined for ease of reply ############### diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index a37d9ac538991c507985bda4f825023534321b76..70d8b1eddcaec97a98c7db95d9b52257755ead88 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -144,7 +144,8 @@ Currently, @file{rtl.def} defines these classes: An RTX code that represents an actual object, such as a register (@code{REG}) or a memory location (@code{MEM}, @code{SYMBOL_REF}). @code{LO_SUM}) is also included; instead, @code{SUBREG} and -@code{STRICT_LOW_PART} are not in this class, but in class @code{x}. +@code{STRICT_LOW_PART} are not in this class, but in class +@code{RTX_EXTRA}. @item RTX_CONST_OBJ An RTX code that represents a constant object. @code{HIGH} is also @@ -166,7 +167,7 @@ An RTX code for a unary arithmetic operation, such as @code{NEG}, @item RTX_COMM_ARITH An RTX code for a commutative binary operation, such as @code{PLUS} or @code{AND}. @code{NE} and @code{EQ} are comparisons, so they have class -@code{<}. +@code{RTX_COMM_COMPARE}. @item RTX_BIN_ARITH An RTX code for a non-commutative binary operation, such as @code{MINUS}, @@ -284,26 +285,28 @@ Some classes of RTX codes always have the same format. For example, it is safe to assume that all comparison operations have format @code{ee}. @table @code -@item 1 +@item RTX_UNARY All codes of this class have format @code{e}. -@item < -@itemx c -@itemx 2 +@item RTX_BIN_ARITH +@item RTX_COMM_ARITH +@item RTX_COMM_COMPARE +@itemx RTX_COMPARE All codes of these classes have format @code{ee}. -@item b -@itemx 3 +@item RTX_BITFIELD_OPS +@itemx RTX_TERNARY All codes of these classes have format @code{eee}. -@item i +@item RTX_INSN All codes of this class have formats that begin with @code{iuueiee}. @xref{Insns}. Note that not all RTL objects linked onto an insn chain -are of class @code{i}. +are of class @code{RTX_INSN}. -@item o -@itemx m -@itemx x +@item RTX_CONST_OBJ +@item RTX_OBJ +@itemx RTX_MATCH +@itemx RTX_EXTRA You can make no assumptions about the format of these codes. @end table diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi index a37d9ac538991c507985bda4f825023534321b76..70d8b1eddcaec97a98c7db95d9b52257755ead88 100644 --- a/gcc/doc/rtl.texi +++ b/gcc/doc/rtl.texi @@ -144,7 +144,8 @@ Currently, @file{rtl.def} defines these classes: An RTX code that represents an actual object, such as a register (@code{REG}) or a memory location (@code{MEM}, @code{SYMBOL_REF}). @code{LO_SUM}) is also included; instead, @code{SUBREG} and -@code{STRICT_LOW_PART} are not in this class, but in class @code{x}. +@code{STRICT_LOW_PART} are not in this class, but in class +@code{RTX_EXTRA}. @item RTX_CONST_OBJ An RTX code that represents a constant object. @code{HIGH} is also @@ -166,7 +167,7 @@ An RTX code for a unary arithmetic operation, such as @code{NEG}, @item RTX_COMM_ARITH An RTX code for a commutative binary operation, such as @code{PLUS} or @code{AND}. @code{NE} and @code{EQ} are comparisons, so they have class -@code{<}. +@code{RTX_COMM_COMPARE}. @item RTX_BIN_ARITH An RTX code for a non-commutative binary operation, such as @code{MINUS}, @@ -284,26 +285,28 @@ Some classes of RTX codes always have the same format. For example, it is safe to assume that all comparison operations have format @code{ee}. @table @code -@item 1 +@item RTX_UNARY All codes of this class have format @code{e}. -@item < -@itemx c -@itemx 2 +@item RTX_BIN_ARITH +@item RTX_COMM_ARITH +@item RTX_COMM_COMPARE +@itemx RTX_COMPARE All codes of these classes have format @code{ee}. -@item b -@itemx 3 +@item RTX_BITFIELD_OPS +@itemx RTX_TERNARY All codes of these classes have format @code{eee}. -@item i +@item RTX_INSN All codes of this class have formats that begin with @code{iuueiee}. @xref{Insns}. Note that not all RTL objects linked onto an insn chain -are of class @code{i}. +are of class @code{RTX_INSN}. -@item o -@itemx m -@itemx x +@item RTX_CONST_OBJ +@item RTX_OBJ +@itemx RTX_MATCH +@itemx RTX_EXTRA You can make no assumptions about the format of these codes. @end table