This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] md.texi: Add reference to macros for clz, ctz
- From: Jesper Nilsson <jesper dot nilsson at axis dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 Aug 2007 17:04:15 +0200
- Subject: Re: [PATCH] md.texi: Add reference to macros for clz, ctz
- References: <20070829120101.GD1433@axis.com>
Hi,
...tested with both make info && make dvi, inspected results with
info and xdvi.
/^Jesper
On Wed, Aug 29, 2007 at 02:01:01PM +0200, Jesper Nilsson wrote:
> Hi,
>
> These passages in md.texi needed a reference to the macros
> that actually define what the result is for value zero.
>
> br,
>
> /^Jesper
>
>
> ChangeLog:
>
> * doc/md.texi (clz, ctz): Add ref to C[LT]Z_DEFINED_VALUE_AT_ZERO.
>
>
> Index: gcc/doc/md.texi
> ===================================================================
> --- gcc/doc/md.texi (revision 127895)
> +++ gcc/doc/md.texi (working copy)
> @@ -4043,16 +4043,20 @@
> @cindex @code{clz@var{m}2} instruction pattern
> @item @samp{clz@var{m}2}
> Store into operand 0 the number of leading 0-bits in @var{x}, starting
> -at the most significant bit position. If @var{x} is 0, the result is
> -undefined. @var{m} is the mode of operand 0; operand 1's mode is
> +at the most significant bit position. If @var{x} is 0, the
> +@code{CLZ_DEFINED_VALUE_AT_ZERO} (@pxref{Misc}) macro defines if
> +the result is undefined or has a useful value.
> +@var{m} is the mode of operand 0; operand 1's mode is
> specified by the instruction pattern, and the compiler will convert the
> operand to that mode before generating the instruction.
>
> @cindex @code{ctz@var{m}2} instruction pattern
> @item @samp{ctz@var{m}2}
> Store into operand 0 the number of trailing 0-bits in @var{x}, starting
> -at the least significant bit position. If @var{x} is 0, the result is
> -undefined. @var{m} is the mode of operand 0; operand 1's mode is
> +at the least significant bit position. If @var{x} is 0, the
> +@code{CTZ_DEFINED_VALUE_AT_ZERO} (@pxref{Misc}) macro defines if
> +the result is undefined or has a useful value.
> +@var{m} is the mode of operand 0; operand 1's mode is
> specified by the instruction pattern, and the compiler will convert the
> operand to that mode before generating the instruction.
>
>
> --
> Jesper Nilsson -- jesper.nilsson@axis.com
/^JN - Jesper Nilsson
--
Jesper Nilsson -- jesper.nilsson@axis.com