Re: Altivec and GCC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When changed to that, it gives me:

"Cannot convert value to a vector"

Aren


> When I try to define a vector:
>
> vector float vec1 = (vector float)(1.0, 1.0, 1.0, 1.0);
>
> and try to compile it, i get a "can't convert between vector values  
> of different size"

1.0 is a double, 1.0f is a float.

HTH,


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux