This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
[patch] Document of rtx (index-of ...) and (regno ...) rtx
- To: cgen at sources dot redhat dot com
- Subject: [patch] Document of rtx (index-of ...) and (regno ...) rtx
- From: Johan Rydberg <johan dot rydberg at netinsight dot se>
- Date: Tue, 23 Jan 2001 18:35:50 +0100
- Organization: Net Insight AB
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