From: Kaoru Fukui <k_fukui@highway.ne.jp>
To: pochini@shiny.it
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: asm info
Date: Fri, 19 Apr 2002 17:14:38 +0900 (JST) [thread overview]
Message-ID: <200204190817.RAA27670@mail.highway.ne.jp> (raw)
In-Reply-To: <XFMail.20020419093710.pochini@shiny.it>
On 19 Apr, Giuliano Pochini wrote:
>
> I want to write some small functions/peices of code in
> ppc assembly. I have ppc user manuals and the ABI, but
> I don't know the syntax. I need to know how to code asm
> inside the C source, and I need to know how to write a
> .S file to assemble and link with C object files. Where
> can I find the docs ? Does gcc support Altivec ?
Hi!
ftp://ppc.linux.or.jp/pub/users/fukui
There are newer binutils and gcc-3.1.pre.
Those have Altivec instruction.
gcc-3.1 will be switch to altivec with -maltivec.
But If you want to altivec code,
It need the source which is written by altivec register.
See www.altivec.org about altivec.
Anyway, Try to write simple c source.
Then
gcc -S simple.c
You get simple.s
The simple.s is written by asmppc.
Kaoru
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-04-19 8:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-18 20:17 as question Dan Brennan
2002-04-18 20:25 ` David Edelsohn
2002-04-18 20:40 ` Dan Brennan
2002-04-18 22:47 ` Dan Malek
2002-04-19 7:37 ` asm info Giuliano Pochini
2002-04-18 21:42 ` Benjamin Herrenschmidt
2002-04-19 13:37 ` Giuliano Pochini
2002-04-19 8:14 ` Kaoru Fukui [this message]
2002-04-19 13:12 ` Giuliano Pochini
2002-04-19 10:07 ` as question Gabriel Paubert
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=200204190817.RAA27670@mail.highway.ne.jp \
--to=k_fukui@highway.ne.jp \
--cc=linuxppc-dev@lists.linuxppc.org \
--cc=pochini@shiny.it \
/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).