From: Jose Souto <souto@contronics.com>
To: "ecos-discuss@sources.redhat.com" <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] code questions:
Date: Thu, 04 Jul 2002 05:37:00 -0000 [thread overview]
Message-ID: <3D244098.2F18C753@contronics.com> (raw)
In-Reply-To: <4473442.1025763425051.JavaMail.postfix@srv20.mail.sohu.com>
Hi,
Check http://www.tldp.org/HOWTO/Assembly-HOWTO/gcc.html
and associated links.
Jose Luiz
zhlg_shuhan@sohu.com wrote:
> here is a assemble subroutine of PPC:
>
> #define HAL_LSBIT_INDEX(index, mask) \
> asm ( "neg 11,%1;" \
> "and 11,11,%1;" \
> "cntlzw %0,11;" \
> "subfic %0,%0,31;" \
> : "=r" (index) \
> : "r" (mask) \
> : "r11" \
> );
>
> could you tell me means of such as %1,%0,:,"=r" and so on, and where to get more info?
> i search them in processor mannul and gnu toolkit to look for them,but failed.
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
next prev parent reply other threads:[~2002-07-04 12:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-03 23:17 zhlg_shuhan
2002-07-04 5:37 ` Jose Souto [this message]
2002-07-03 23:42 aacquaviva
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=3D244098.2F18C753@contronics.com \
--to=souto@contronics.com \
--cc=ecos-discuss@sources.redhat.com \
/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 read-only IMAP folder(s) and NNTP newsgroup(s).