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.
It looks like this in gccint.info:
...
7.2.3.10 Other hardware attributes
..................................
'avx'
Target supports compiling 'avx' instructions.
<SNIP>
'divmod_simode'
Target supporting hardware divmod insn or divmod libcall for
SImode.
'rdrand'
Target supports i386/x86-64 insn rdrand.
...
OK?
Thanks,
- Tom
Document rdrand effective target
2017-05-22 Tom de Vries <t...@codesourcery.com>
* doc/sourcebuild.texi: Document rdrand effective target.
---
gcc/doc/sourcebuild.texi | 3 +++
1 file changed, 3 insertions(+)
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.
+
@end table
@subsubsection Environment attributes