SSE types and structures

Jan Hubicka jh@suse.cz
Wed Jun 19 04:24:00 GMT 2002


> 
> > > > __v8qi q;
> > > >   q = (__v8qi) (long long) i;
> > > [...]
> > > > q.c:9: error: can't convert between vector values of different size
> > > 
> > > This must be a bug in Aldy's generic vector code.
> > 
> > I am just looking into this.  The problem seems to be that chained casts
> > are simplified into single cast.  During this folding, the convert is
> > called again, now with incorrect values.
> 
> hmm, this may not be my code.  i just committed the generic simd stuff
> yesterday.  jan, when did you first see this?  how old was the tree?

It appears to be there for a while.  I've sent patch to fix that
already.  It is little bit problematic, so you may take a look for
better sollution.

Honza
> 
> aldy



More information about the Gcc mailing list