On 8/23/07, Andrew Pinski <[EMAIL PROTECTED]> wrote: > On 8/23/07, Joseph S. Myers <[EMAIL PROTECTED]> wrote: > > > > 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. So > > unless C++ valarray allows this operation, I think we should leave it > > prohibited > > And it is not supported by valarray.
Plus this is already documented: The operations behave like C++ valarrays. Addition is defined as the addition of the corresponding elements of the operands. So if one reads the documentation, vector float | vector float would mean take each element and ior it with the element in the other vector so then you have float | float which is invalid. -- Pinski