This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Altivec conditional?
Am Don, 2002-02-21 um 08.49 schrieb Aldy Hernandez:
> __ALTIVEC__
> but you have to include <altivec.h>
But I can only include <altivec.h> if I have a capable compiler.
That's not going to work as it's a chicken egg problem.
> the builtins are not supported. Use the convenience macros (and
> overloaded C++ functions) defined in <altivec.h>.
> *DON'T* use the builtins. The macros are prettier, and i hope to get
> rid of the builtins one day...
I've only seen cplusplus code in there. How do I utilize altivec from
C without using builtins?
--
Servus,
Daniel