Hi Tom,

> On 05/11/2017 04:44 PM, Rainer Orth wrote:
>> Hi Tom,
>>
>>> 2017-05-01  Tom de Vries  <t...@codesourcery.com>
>>>
>>>     PR testsuite/65941
>>>     * lib/target-supports.exp (check_effective_target_rdrand): New proc.
>>
>> the new effective-target keyword needs documenting in sourcebuild.texi.
>
> Attached patch adds the missing documentation.

> 2017-05-22  Tom de Vries  <t...@codesourcery.com>
>
>       * doc/sourcebuild.texi: Document rdrand effective target.

Please include the section, something like

        * doc/sourcebuild.texi (Effective-Target Keywords, Other
        hardware attributes): Document rdrand.

> diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi
> index 84d9a22..dec9227 100644
> --- a/gcc/doc/sourcebuild.texi
> +++ b/gcc/doc/sourcebuild.texi
> @@ -1883,6 +1883,9 @@ Target supporting hardware divmod insn or divmod 
> libcall.
>  @item divmod_simode
>  Target supporting hardware divmod insn or divmod libcall for SImode.
>  
> +@item rdrand
> +Target supports i386/x86-64 insn rdrand.

We use x86 for 32 and 64-bit x86, plus markup...

   Target supports x86 @code{rdrand} instruction.

Besides, please keep the list sorted alphabetically (the last three are
already random; please fix that while you're at it).

Ok with those nits fixed.

Thanks.
        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to