This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] Document of rtx (index-of ...) and (regno ...) rtx



Ok to commit? 

2001-01-23  Johan Rydberg  <jrydberg@opencores.org>

        * doc/rtl.texi (Expressions): Document the (index-of ...) and
        (regno ...) rtx.



RCS file: /cvs/src/src/cgen/doc/rtl.texi,v
retrieving revision 1.5
diff -u -r1.5 rtl.texi
--- rtl.texi    2001/01/08 18:37:18     1.5
+++ rtl.texi    2001/01/23 17:33:23
@@ -2246,6 +2246,12 @@
 @samp{value}. If @samp{value} is a list return ``true'' if
 @samp{attr-name} is any of the listed values.

+@item (index-of operand)
+Return the index of @samp{operand}. For registers this is the register number.
+
+@item (regno operand)
+Same as @code{index-of}, but improves readability for registers
+
 @item (nop)
 A no-op.


-- 
Johan Rydberg, Net Insight AB, Sweden, +46-8-685 04 00

$ ON F$ERROR("LANGUAGE","ENGLISH","IN_MESSAGE").GT.F$ERROR("NORMAL") -
             THEN EXCUSE/OBJECT=ME

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]