This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]