Does altivec work on biarch compiler for gcc 3.3.3-hammer?

davis davis at skink.net
Mon Apr 26 11:45:55 EST 2004


Hello

Does altivec work with gcc 3.3.3 hammer?

I'm building  with -maltivec and -mabi=altivec but it does not seem to work
for simple programs.  For instance,

	printf("%vc",(vector unsigned char) {'h','e','l','l','o'});

Will print:

 	%vc

Here is how I am building:

	gcc -maltivec -mabi=altivec -mcpu=970 -mtune=970 testy.c

--
Happy Trails

John F. Davis

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list