aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2014-06-10 09:50:22 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2014-06-10 09:50:22 +0000
commit87ee52efe73734c055ac647aa68e28f7c398c479 (patch)
tree100375ebbf3addcdb813cbf1c7fc2a1bce4f83dd /gcc/doc
parent35fa894ae37dc5efdaf05db965e65a0621f5beee (diff)
downloadgcc-87ee52efe73734c055ac647aa68e28f7c398c479.zip
gcc-87ee52efe73734c055ac647aa68e28f7c398c479.tar.gz
gcc-87ee52efe73734c055ac647aa68e28f7c398c479.tar.bz2
[ARM][doc] Improve description of AArch32 CRC32 intrinsics.
* doc/arm-acle-intrinsics.texi: Specify when CRC32 intrinsics are available. Simplify description of __crc32d and __crc32cd intrinsics. * doc/extend.texi (ARM ACLE Intrinsics): Remove comment about CRC32 availability. From-SVN: r211402
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/arm-acle-intrinsics.texi10
-rw-r--r--gcc/doc/extend.texi3
2 files changed, 6 insertions, 7 deletions
diff --git a/gcc/doc/arm-acle-intrinsics.texi b/gcc/doc/arm-acle-intrinsics.texi
index e68f4cd..8c5523e 100644
--- a/gcc/doc/arm-acle-intrinsics.texi
+++ b/gcc/doc/arm-acle-intrinsics.texi
@@ -4,6 +4,10 @@
@subsubsection CRC32 intrinsics
+These intrinsics are available when the CRC32 architecture extension is
+specified, e.g. when the @option{-march=armv8-a+crc} switch is used, or when
+the target processor specified with @option{-mcpu} supports it.
+
@itemize @bullet
@item uint32_t __crc32b (uint32_t, uint8_t)
@*@emph{Form of expected instruction(s):} @code{crc32b @var{r0}, @var{r0}, @var{r0}}
@@ -25,8 +29,7 @@
@itemize @bullet
@item uint32_t __crc32d (uint32_t, uint64_t)
@*@emph{Form of expected instruction(s):} Two @code{crc32w @var{r0}, @var{r0}, @var{r0}}
-instructions for AArch32. One @code{crc32w @var{w0}, @var{w0}, @var{x0}} instruction for
-AArch64.
+instructions.
@end itemize
@itemize @bullet
@@ -50,6 +53,5 @@ AArch64.
@itemize @bullet
@item uint32_t __crc32cd (uint32_t, uint64_t)
@*@emph{Form of expected instruction(s):} Two @code{crc32cw @var{r0}, @var{r0}, @var{r0}}
-instructions for AArch32. One @code{crc32cw @var{w0}, @var{w0}, @var{x0}} instruction for
-AArch64.
+instructions.
@end itemize
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index 42db985..a79dbbf 100644
--- a/gcc/doc/extend.texi
+++ b/gcc/doc/extend.texi
@@ -10516,9 +10516,6 @@ when the @option{-mfpu=neon} switch is used:
@node ARM ACLE Intrinsics
@subsection ARM ACLE Intrinsics
-These built-in intrinsics for the ARMv8-A CRC32 extension are available when
-the @option{-march=armv8-a+crc} switch is used:
-
@include arm-acle-intrinsics.texi
@node ARM Floating Point Status and Control Intrinsics