altivec still broken?!

Paolo Bonzini bonzini@gnu.org
Fri Apr 30 10:56:00 GMT 2004


Ziemowit Laski wrote:
> I suspect we may be in need of a target hook :-) for VECTOR_TYPE 
> comparison, since it appears that SPE and AltiVec (not to mention 
> MMX/SSE) may require different semantics in this regard.  A 
> one-size-fits-all approach for vectors may not be feasible.

Hmmm... this seems very much overkill...

The C++ example I posted is just a case in which we see the difference 
between being the same type vs. having a default conversion.  Opaque 
types are the same type as other opaque types, but have a default 
conversion from and to all other vector types.

Paolo



More information about the Gcc mailing list