linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: jrosenau@midway.uchicago.edu
To: linuxppc-dev@lists.linuxppc.org
Subject: Re: AltiVec on Linux
Date: Wed, 8 Mar 2000 14:26:53 -0600	[thread overview]
Message-ID: <20000308142652.I5723@midway.uchicago.edu> (raw)
In-Reply-To: <v04011708b4ec4b0ae554@[129.116.196.236]>; from gallen@arlut.utexas.edu on Wed, Mar 08, 2000 at 12:59:29PM -0600


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/

  reply	other threads:[~2000-03-08 20:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-08 18:59 AltiVec on Linux Greg Allen
2000-03-08 20:26 ` jrosenau [this message]
2000-03-09  9:42 ` Adrian Cox
2000-03-22 18:46 ` Troy Benjegerdes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000308142652.I5723@midway.uchicago.edu \
    --to=jrosenau@midway.uchicago.edu \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).