]> gcc.gnu.org Git - gcc.git/commitdiff
Update attribute value documentation.
authorRichard Henderson <rth@gcc.gnu.org>
Sun, 21 Feb 1999 18:39:33 +0000 (10:39 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Sun, 21 Feb 1999 18:39:33 +0000 (10:39 -0800)
From-SVN: r25349

gcc/md.texi

index 6177ac2b55c7183e3eacb8297eaa56c3e4842646..890030d0da1a4b838fd5b48737f9062f774aadf6 100644 (file)
@@ -3555,9 +3555,10 @@ The integer @var{i} specifies the value of a numeric attribute.  @var{i}
 must be non-negative.
 
 The value of a numeric attribute can be specified either with a
-@code{const_int} or as an integer represented as a string in
-@code{const_string}, @code{eq_attr} (see below), and @code{set_attr}
-(@pxref{Tagging Insns}) expressions.
+@code{const_int}, or as an integer represented as a string in
+@code{const_string}, @code{eq_attr} (see below), @code{attr},
+@code{symbol_ref}, simple arithmetic expressions, and @code{set_attr}
+overrides on specific instructions (@pxref{Tagging Insns}).
 
 @cindex @code{const_string} and attributes
 @item (const_string @var{value})
@@ -3740,6 +3741,12 @@ The @code{very_unlikely} and @code{unlikely} flags are false if the
 
 @code{attr_flag} is only used during delay slot scheduling and has no
 meaning to other passes of the compiler.
+
+@findex attr
+@item (attr @var{name})
+The value of another attribute is returned.  This is most useful
+for numeric attributes, as @code{eq_attr} and @code{attr_flag}
+produce more efficient code for non-numeric attributes.
 @end table
 
 @node Tagging Insns
This page took 0.069017 seconds and 5 git commands to generate.