[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Altivec support in gcc

On Mon, 2003-02-17 at 11:26, Ross Vumbaca wrote: 
> A colleague is trying to get the distributed.net client in Linux to use 
> Altivec with a 7451 G4 CPU. I understand that when we build the program, 
> our version of gcc needs to support altivec (?) (I know nothing of 
> this).. is that right? We use gcc 2.95.3, would it support altivec, is 
> there any way to check? I assume if it did, it needs to be enabled when 
> the gcc is built.

Disclaimer: I'm not really an expert in this area, someone please
correct me if I'm talking nonsense. :)

As I understand it, the gcc vector extensions are only usable in gcc 3.2
(maybe 3.1), and you'd have to rebuild everything down to glibc with
-mabi=altivec if you want to use that. Maybe you rather want to use
Altivec inline assembly, which works independently from the compiler.

Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast

Reply to: