From: jrydberg Date: Tue, 23 Jan 2001 18:04:06 +0000 (+0000) Subject: 2001-01-23 Johan Rydberg X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=48cc262eb770f9ec6cf8d8d3f5cb0543ef0ce6ae;p=pf3gnuchains%2Fpf3gnuchains3x.git 2001-01-23 Johan Rydberg * doc/rtl.texi (Expressions): Document the (index-of ...) and (regno ...) rtx. --- diff --git a/cgen/ChangeLog b/cgen/ChangeLog index 58c90ea3c2..8e8e9d6cbb 100644 --- a/cgen/ChangeLog +++ b/cgen/ChangeLog @@ -1,3 +1,8 @@ +2001-01-23 Johan Rydberg + + * doc/rtl.texi (Expressions): Document the (index-of ...) and + (regno ...) rtx. + 2001-01-08 Frank Ch. Eigler * rtl.scm (hw): Copy hw-name to new operand's sem-name, to simplify diff --git a/cgen/doc/rtl.texi b/cgen/doc/rtl.texi index 5c685f720e..5fce0111f1 100644 --- a/cgen/doc/rtl.texi +++ b/cgen/doc/rtl.texi @@ -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.