From e6c5724129680248c9b7810889c694de7802f809 Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Fri, 26 Oct 2018 21:32:15 +0000 Subject: [PATCH] powerpc: Fix typos in the manual 2018-10-26 Tulio Magno Quites Machado Filho * doc/extend.texi (PowerPC builtins): Fix __builtin_unpack_ibm128 return type and other typos. From-SVN: r265548 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ae4aa6ebb72..6d4bd6b3f96 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-26 Tulio Magno Quites Machado Filho + + * doc/extend.texi (PowerPC builtins): Fix __builtin_unpack_ibm128 + return type and other typos. + 2018-10-26 Aaron Sawdey * config/rs6000/rs6000-string.c (expand_strncmp_gpr_sequence): Change to diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index edf87118147..7aeb4fd4d27 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -15811,7 +15811,7 @@ processors: @smallexample uint64_t __builtin_ppc_get_timebase (); unsigned long __builtin_ppc_mftb (); -__ibm128 __builtin_unpack_ibm128 (__ibm128, int); +double __builtin_unpack_ibm128 (__ibm128, int); __ibm128 __builtin_pack_ibm128 (double, double); double __builtin_mffs (void); void __builtin_mtfsb0 (const int); @@ -15927,13 +15927,13 @@ The @code{__builtin_unpack_longdouble} function takes a the constant is 0, the first @code{double} within the @code{long double} is returned, otherwise the second @code{double} is returned. The @code{__builtin_unpack_longdouble} function is only -availble if @code{long double} uses the IBM extended double +available if @code{long double} uses the IBM extended double representation. The @code{__builtin_pack_longdouble} function takes two @code{double} arguments and returns a @code{long double} value that combines the two arguments. The @code{__builtin_pack_longdouble} function is only -availble if @code{long double} uses the IBM extended double +available if @code{long double} uses the IBM extended double representation. The @code{__builtin_unpack_ibm128} function takes a @code{__ibm128} -- 2.30.2