Altivec and GCC

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

 



Hi everyone, just trying to use altivec under linux ppc.

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"

what's going on?

I've already #include-ed the altivec.h and used the -maltivec - mabi=altivec gcc flags when compiling

Cheers
Aren

[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