Commit bfbc18af by Matthew Malcomson Committed by Tamar Christina

Remove rtl.texi references to old RTX code class names

Committed on behalf of Matthew Malcomson.

2018-08-16  Matthew Malcomson  <matthew.malcomson@arm.com>

gcc/
	* doc/rtl.texi: Replace old RTX class names with new names.

From-SVN: r263592
parent ec18e48e
2018-08-16 Matthew Malcomson <matthew.malcomson@arm.com>
* doc/rtl.texi: Replace old RTX class names with new names.
2018-08-16 Vlad Lazar <vlad.lazar@arm.com> 2018-08-16 Vlad Lazar <vlad.lazar@arm.com>
* expmed.h (canonicalize_comparison): New declaration. * expmed.h (canonicalize_comparison): New declaration.
......
...@@ -144,7 +144,8 @@ Currently, @file{rtl.def} defines these classes: ...@@ -144,7 +144,8 @@ Currently, @file{rtl.def} defines these classes:
An RTX code that represents an actual object, such as a register An RTX code that represents an actual object, such as a register
(@code{REG}) or a memory location (@code{MEM}, @code{SYMBOL_REF}). (@code{REG}) or a memory location (@code{MEM}, @code{SYMBOL_REF}).
@code{LO_SUM}) is also included; instead, @code{SUBREG} and @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 @item RTX_CONST_OBJ
An RTX code that represents a constant object. @code{HIGH} is also 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}, ...@@ -166,7 +167,7 @@ An RTX code for a unary arithmetic operation, such as @code{NEG},
@item RTX_COMM_ARITH @item RTX_COMM_ARITH
An RTX code for a commutative binary operation, such as @code{PLUS} or 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{AND}. @code{NE} and @code{EQ} are comparisons, so they have class
@code{<}. @code{RTX_COMM_COMPARE}.
@item RTX_BIN_ARITH @item RTX_BIN_ARITH
An RTX code for a non-commutative binary operation, such as @code{MINUS}, 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 ...@@ -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}. is safe to assume that all comparison operations have format @code{ee}.
@table @code @table @code
@item 1 @item RTX_UNARY
All codes of this class have format @code{e}. All codes of this class have format @code{e}.
@item < @item RTX_BIN_ARITH
@itemx c @itemx RTX_COMM_ARITH
@itemx 2 @itemx RTX_COMM_COMPARE
@itemx RTX_COMPARE
All codes of these classes have format @code{ee}. All codes of these classes have format @code{ee}.
@item b @item RTX_BITFIELD_OPS
@itemx 3 @itemx RTX_TERNARY
All codes of these classes have format @code{eee}. 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}. 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 @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 @item RTX_CONST_OBJ
@itemx m @itemx RTX_OBJ
@itemx x @itemx RTX_MATCH
@itemx RTX_EXTRA
You can make no assumptions about the format of these codes. You can make no assumptions about the format of these codes.
@end table @end table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment