From: <aacquaviva@deis.unibo.it>
To: <zhlg_shuhan@sohu.com>
Cc: <ecos-discuss@sources.redhat.com>
Subject: RE: [ECOS] code questions:
Date: Wed, 03 Jul 2002 23:42:00 -0000 [thread overview]
Message-ID: <200207040640.IAA16247@promet2.deis.unibo.it> (raw)
Take a look in the GNU toolkit manual, GNUPro Compiler Tools. See page 177:
Assembler instructions with C expression operands.
Andrea.
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com [mailto:ecos-discuss-
owner@sources.redhat.com]On Behalf Of zhlg_shuhan@sohu.com
Sent: Wednesday, July 03, 2002 11:17 PM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] code questions:
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 reply other threads:[~2002-07-04 6:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-03 23:42 aacquaviva [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-07-03 23:17 zhlg_shuhan
2002-07-04 5:37 ` Jose Souto
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=200207040640.IAA16247@promet2.deis.unibo.it \
--to=aacquaviva@deis.unibo.it \
--cc=ecos-discuss@sources.redhat.com \
--cc=zhlg_shuhan@sohu.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).