public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* RFA: Document first operand to RTX_AUTOINC
@ 2014-09-02 18:00 Richard Sandiford
  2014-09-03 17:52 ` Jeff Law
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Sandiford @ 2014-09-02 18:00 UTC (permalink / raw)
  To: gcc-patches

As Jeff suggested here:
https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00390.html
this patch documents that the first operand to an RTX_AUTOINC
is the automodified register.

Tested on x86_64-linux-gnu.  OK to install?

Thanks,
Richard


gcc/
	* doc/rtl.texi (RTX_AUTOINC): Document that the first operand is
	the automodified register.

Index: gcc/doc/rtl.texi
===================================================================
--- gcc/doc/rtl.texi	2014-05-06 18:38:47.982200623 +0100
+++ gcc/doc/rtl.texi	2014-08-30 16:04:50.870456416 +0100
@@ -193,7 +193,8 @@ An RTX code for something that matches i
 
 @item RTX_AUTOINC
 An RTX code for an auto-increment addressing mode, such as
-@code{POST_INC}.
+@code{POST_INC}.  @samp{XEXP (@var{x}, 0)} gives the auto-modified
+register.
 
 @item RTX_EXTRA
 All other RTX codes.  This category includes the remaining codes used

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: RFA: Document first operand to RTX_AUTOINC
  2014-09-02 18:00 RFA: Document first operand to RTX_AUTOINC Richard Sandiford
@ 2014-09-03 17:52 ` Jeff Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeff Law @ 2014-09-03 17:52 UTC (permalink / raw)
  To: gcc-patches, rdsandiford

On 09/02/14 12:00, Richard Sandiford wrote:
> As Jeff suggested here:
> https://gcc.gnu.org/ml/gcc-patches/2014-08/msg00390.html
> this patch documents that the first operand to an RTX_AUTOINC
> is the automodified register.
>
> Tested on x86_64-linux-gnu.  OK to install?
>
> Thanks,
> Richard
>
>
> gcc/
> 	* doc/rtl.texi (RTX_AUTOINC): Document that the first operand is
> 	the automodified register.
OK.
jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-03 17:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-02 18:00 RFA: Document first operand to RTX_AUTOINC Richard Sandiford
2014-09-03 17:52 ` Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).