SSE types and structures
Jan Hubicka
jh@suse.cz
Tue Jun 18 08:04:00 GMT 2002
> On Tue, 18 Jun 2002, Jan Hubicka wrote:
> > I was checking and it does not work for me:
> > typedef int __v8qi __attribute__ ((__mode__ (__V8QI__)));
> > __v8qi t;
> > long long q;
> > e()
> > {
> > t=q;
> > }
> > hubicka@atrey:~/egcs2/egcs/build/gcc$ ./xgcc -B ./ -O2 t.c -msse
> > t.c: In function `e':
> > t.c:6: error: incompatible types in assignment
>
> Well, it does work if you make the cast explicit. It just won't do the
> conversion automatically.
That works, thanks. I was trying it just with (int) that didn't work
because of the differences in size. Then i guess it is easiest to
simply add casts everywhere.
Honza
>
>
> Bernd
More information about the Gcc
mailing list