public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compiling for PowerPc using Altivec
@ 2002-07-23  6:19 Eyal Bagon
  0 siblings, 0 replies; only message in thread
From: Eyal Bagon @ 2002-07-23  6:19 UTC (permalink / raw)
  To: gcc-help

hello
Im' trying to compile Altivec code with gcc-3.1 and I have the following 
problems:

1) How do I declare const __vector ... - what do I do  with the const ? 
- is there a way to declare a constant vector pointer ?

2) how can I initialize a vector ? - I used to do this :
	__vector signed int intVec = (__vector signed int)(0,0,0,0);
but apparently this doesn't work with gcc-3.1 , how can I do this ?

Eyal

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-07-23 13:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-23  6:19 compiling for PowerPc using Altivec Eyal Bagon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).