OSDN Git Service

2001-01-23 Johan Rydberg <jrydberg@opencores.org>
authorjrydberg <jrydberg>
Tue, 23 Jan 2001 18:04:06 +0000 (18:04 +0000)
committerjrydberg <jrydberg>
Tue, 23 Jan 2001 18:04:06 +0000 (18:04 +0000)
        * doc/rtl.texi (Expressions): Document the (index-of ...) and
        (regno ...) rtx.

cgen/ChangeLog
cgen/doc/rtl.texi

index 58c90ea..8e8e9d6 100644 (file)
@@ -1,3 +1,8 @@
+2001-01-23  Johan Rydberg  <jrydberg@opencores.org>
+
+       * doc/rtl.texi (Expressions): Document the (index-of ...) and
+       (regno ...) rtx.
+
 2001-01-08  Frank Ch. Eigler  <fche@redhat.com>
 
        * rtl.scm (hw): Copy hw-name to new operand's sem-name, to simplify
index 5c685f7..5fce011 100644 (file)
@@ -2246,6 +2246,12 @@ Return non-zero if the value of attribute @samp{attr-name} is
 @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.