diff options
author | Janis Johnson <janis187@us.ibm.com> | 2004-08-16 17:03:29 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2004-08-16 17:03:29 +0000 |
commit | 4e6e4e4c1ac12b80dbe4b5541a83f4ced4958985 (patch) | |
tree | 00c161f95a2f0987d5952a6e038adf585151d4a9 | |
parent | 092313ae6b053cf8479a74c65789be450e674f7a (diff) | |
download | gcc-4e6e4e4c1ac12b80dbe4b5541a83f4ced4958985.zip gcc-4e6e4e4c1ac12b80dbe4b5541a83f4ced4958985.tar.gz gcc-4e6e4e4c1ac12b80dbe4b5541a83f4ced4958985.tar.bz2 |
extend.texi (AltiVec builtins): Document additional differences from the Motorola AltiVec PIM.
2004-08-16 Janis Johnson <janis187@us.ibm.com>
* doc/extend.texi (AltiVec builtins): Document additional differences
from the Motorola AltiVec PIM.
From-SVN: r86066
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/doc/extend.texi | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7e9bb3..cfe11f1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-08-16 Janis Johnson <janis187@us.ibm.com> + + * doc/extend.texi (AltiVec builtins): Document additional differences + from the Motorola AltiVec PIM. + 2004-08-16 Nathan Sidwell <nathan@codesourcery.com> * 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 d93f3a6..b7229d0 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{<altivec.h>} 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 |