linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Gabriel Paubert <paubert@iram.es>
Cc: Samuel Rydh <samuel@ibrium.se>, <linuxppc-dev@lists.linuxppc.org>
Subject: Re: sycall asm inline
Date: Wed, 19 Jun 2002 05:39:23 +0200	[thread overview]
Message-ID: <20020619033923.14394@smtp.wanadoo.fr> (raw)
In-Reply-To: <Pine.LNX.4.33.0206200246250.17959-100000@gra-lx1.iram.es>


>I had a patch that did exactly this, but I don't know where it is anymore
>(too many bk trees :-)) Anyway you don't want to see my inline version of
>atomic_clear_mask which selected the best instruction (among rlwinm,
>andi., andis., and andc) through a maze of macros and builtin_constant_p
>(I did this for fun since atomic_clear_mask is almost never used).

It's never used, but should probably be inlined anyway, I just found
a driver that used it and we don't export it to modules...

Ben.


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

  reply	other threads:[~2002-06-19  3:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-16 14:51 sycall asm inline Samuel Rydh
2002-06-19  3:24 ` Benjamin Herrenschmidt
2002-06-20  1:07   ` Gabriel Paubert
2002-06-19  3:39     ` Benjamin Herrenschmidt [this message]
2002-06-20 13:46       ` Gabriel Paubert
2002-06-20 15:18         ` Tom Rini
2002-06-20 15:32           ` Tom Rini

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=20020619033923.14394@smtp.wanadoo.fr \
    --to=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=paubert@iram.es \
    --cc=samuel@ibrium.se \
    /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).