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

Benjamin Herrenschmidt benh at
Mon Apr 26 11:54:19 EST 2004

On Mon, 2004-04-26 at 11:45, davis wrote:
> 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'});

It works, though I've been told 3.4 is more reliable at generating
vector code.

> Will print:
>  	%vc

Which is a glibc issue, not gcc.


** Sent via the linuxppc64-dev mail list. See

More information about the Linuxppc64-dev mailing list