From 4e6e4e4c1ac12b80dbe4b5541a83f4ced4958985 Mon Sep 17 00:00:00 2001 From: Janis Johnson Date: Mon, 16 Aug 2004 17:03:29 +0000 Subject: [PATCH] extend.texi (AltiVec builtins): Document additional differences from the Motorola AltiVec PIM. 2004-08-16 Janis Johnson * doc/extend.texi (AltiVec builtins): Document additional differences from the Motorola AltiVec PIM. From-SVN: r86066 --- gcc/ChangeLog | 5 +++++ gcc/doc/extend.texi | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7e9bb38676..cfe11f1b86d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-08-16 Janis Johnson + + * doc/extend.texi (AltiVec builtins): Document additional differences + from the Motorola AltiVec PIM. + 2004-08-16 Nathan Sidwell * c-typeck.c (build_c_cast): Only copy overflow from expr nodes. diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index d93f3a6cf91..b7229d0a8fd 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -5769,7 +5769,18 @@ same type as the variable it is initializing. @item If @code{signed} or @code{unsigned} is omitted, the vector type defaults -to @code{signed}. +to @code{signed} for @code{vector int} or @code{vector short} and to +@code{unsigned} for @code{vector char}. + +@item +Compiling with @option{-maltivec} adds keywords @code{__vector}, +@code{__pixel}, and @code{__bool}. Macros @option{vector}, +@code{pixel}, and @code{bool} are defined in @code{} and can +be undefined. + +@item +GCC allows using a @code{typedef} name as the type specifier for a +vector type. @item For C, overloaded functions are implemented with macros so the following -- 2.30.2