aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/extend.texi13
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