Altivec conditional?
Daniel Egger
degger@fhm.edu
Thu Feb 21 03:17:00 GMT 2002
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
More information about the Gcc
mailing list