This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: SSE types and structures
>
> > > > __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