From 1ae2aeb0bf99eb853540a48ca013a1be658761f7 Mon Sep 17 00:00:00 2001 From: rth Date: Sun, 21 Feb 1999 18:39:33 +0000 Subject: [PATCH] Update attribute value documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25349 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/md.texi | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/gcc/md.texi b/gcc/md.texi index 6177ac2b55c..890030d0da1 100644 --- a/gcc/md.texi +++ b/gcc/md.texi @@ -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 -- 2.11.0