diff mbox series

powerpc: Fix typos in the manual

Message ID 20181026174046.13003-1-tuliom@linux.ibm.com
State New
Headers show
Series powerpc: Fix typos in the manual | expand

Commit Message

Tulio Magno Quites Machado Filho Oct. 26, 2018, 5:40 p.m. UTC
[gcc]
2018-10-26  Tulio Magno Quites Machado Filho  <tuliom@linux.ibm.com>

	* doc/extend.texi (PowerPC builtins): Fix __builtin_unpack_ibm128
	return type and other typos.
---
 gcc/doc/extend.texi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Segher Boessenkool Oct. 26, 2018, 9:34 p.m. UTC | #1
On Fri, Oct 26, 2018 at 02:40:46PM -0300, Tulio Magno Quites Machado Filho wrote:
> [gcc]
> 2018-10-26  Tulio Magno Quites Machado Filho  <tuliom@linux.ibm.com>
> 
> 	* doc/extend.texi (PowerPC builtins): Fix __builtin_unpack_ibm128
> 	return type and other typos.

Thanks!  I've committed this to trunk for you.  One thing:

>  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 long double

It's really called "IBM extended double", so I didn't commit that part.


Segher
diff mbox series

Patch

diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi
index edf87118147..75d704317e7 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 long 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 long double
 representation.
 
 The @code{__builtin_unpack_ibm128} function takes a @code{__ibm128}