recent troubles with float vectors & bitwise ops
Gabriel Dos Reis
gdr@cs.tamu.edu
Thu Aug 23 19:10:00 GMT 2007
"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
More information about the Gcc
mailing list