This is the mail archive of the gcc@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]

Re: recent troubles with float vectors & bitwise ops


"Joseph S. Myers" <joseph@codesourcery.com> writes:

| On Thu, 23 Aug 2007, Ian Lance Taylor wrote:
| 
| > I think we should revert the patch, and continue permitting the
| > bitwise operations on vector float.
| > 
| > There seem to be solid reasons to permit this, and no very strong ones
| > to prohibit it.  We can consider it to be a GNU extension for vectors.
| > Vectors are of course themselves an extension already.
| 
| We decided long ago that the extension would be based on what's permitted 
| by C++ valarray rather than by a particular CPU's vector intrinsics. 

In C++, the broadcast operations are allowed on arrays if, and only
if, they are allowed on element types.

-- Gaby


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