[Bug c/30428] vector float | vector float is accepted

tbptbp at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 23 18:46:00 GMT 2007



------- Comment #8 from tbptbp at gmail dot com  2007-08-23 18:45 -------
Subject: Re:  vector float | vector float is accepted

On 23 Aug 2007 18:31:25 -0000, pinskia at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
> ------- Comment #7 from pinskia at gcc dot gnu dot org  2007-08-23 18:31 -------
> (In reply to comment #6)
> > Please fix the extension documentation accordingly.
>
> The documentation already says:
> The operations behave like C++ valarrays. Addition is defined as the addition
> of the corresponding elements of the operands.
"All the basic integer types can be used as base types, both as signed
and as unsigned: char, short, int, long, long long. In addition, float
and double can be used to build floating-point vector types."
"Currently, GCC will allow using the following operators on these
types: +, -, *, /, unary minus, ^, |, &, ~."
Your patch and documentation conflict . Fix either, at your convenience.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30428



More information about the Gcc-bugs mailing list