From 9fea8dbe864468cf371cb79bb2b85abb6811b3e2 Mon Sep 17 00:00:00 2001 From: Johan Rydberg Date: Tue, 23 Jan 2001 18:04:07 +0000 Subject: [PATCH] 2001-01-23 Johan Rydberg * doc/rtl.texi (Expressions): Document the (index-of ...) and (regno ...) rtx. --- ChangeLog | 5 +++++ doc/rtl.texi | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 58c90ea..8e8e9d6 100644 --- a/ChangeLog +++ b/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/doc/rtl.texi b/doc/rtl.texi index 5c685f7..5fce011 100644 --- a/doc/rtl.texi +++ b/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. -- 2.43.5