Re: AltiVec on Linux
From: <hidden>
Date: 2000-03-08 20:26:53
So on Wed, Mar 08, 2000 at 12:59:29PM -0600, Greg Allen was all like,
Unfortunately, powerpc-eabisim-g++ doesn't recognize "vector" at all. That's right, boys and girls, NO C++ SUPPORT WITH ALTIVEC! So we have to patch g++ the same way gcc was patched -- to extend the C++ language for AltiVec.
But vector is already a type in the STL, so it can't be supported in g++ without breaking that. I guess you could overload all sorts of neat stuff, but it really does sound like a hack. Why not create a standard library that would handle MMX, 3Dnow!, Altivec, whatever? If there's a standard interface to those, we should encourage Motorola to make altivec work the same way. Josh ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/