linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Cox <apc@agelectronics.co.uk>
To: Greg Allen <gallen@arlut.utexas.edu>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: AltiVec on Linux
Date: Thu, 09 Mar 2000 09:42:46 +0000	[thread overview]
Message-ID: <38C77216.411270A2@agelectronics.co.uk> (raw)
In-Reply-To: v04011708b4ec4b0ae554@[129.116.196.236]


Greg Allen wrote:

> It's not a "Linux" compiler -- it's strictly a cross-compiler. It creates
> the toolset "powerpc-eabisim-*". The binaries that it generates do not run
> on Linux.

Take the compiler patches, apply to the compiler source for LinuxPPC,
configure, make. This should work, though I've only done it on Debian.

> Unfortunately, powerpc-eabisim-g++ doesn't recognize "vector" at all.
> That's right, boys and girls, NO C++ SUPPORT WITH ALTIVEC!

For C++ use the keyword __vector.

This is documented in the Altivec Programming Interface Manual, which
can be found at:
http://www.altivec.org/tech_specifications/altivec_pim.pdf

It's not pretty, but it is in the manual.

- Adrian Cox, AG Electronics

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  parent reply	other threads:[~2000-03-09  9:42 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
2000-03-09  9:42 ` Adrian Cox [this message]
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=38C77216.411270A2@agelectronics.co.uk \
    --to=apc@agelectronics.co.uk \
    --cc=gallen@arlut.utexas.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).