From: Ralf Baechle <ralf@linux-mips.org>
To: Wayne Gowcher <wgowcher@yahoo.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Enabling pthreads to use ll/sc instead of emulate_load_store_insn
Date: Fri, 8 Nov 2002 06:12:33 +0100 [thread overview]
Message-ID: <20021108061233.A3314@bacchus.dhis.org> (raw)
In-Reply-To: <20021108035234.34238.qmail@web11903.mail.yahoo.com>; from wgowcher@yahoo.com on Thu, Nov 07, 2002 at 07:52:34PM -0800
On Thu, Nov 07, 2002 at 07:52:34PM -0800, Wayne Gowcher wrote:
> The processor is an r4k and the application is being
> compiled with mips2 switch, which I thought would
> allow it to generate the ll/sc instructions natively
> and not have to generate system calls to emulate it.
> I am guessing this is because the pthread library I
> have is from the sgi ftp site and it was compiled for
> mips1 ??
>
> If someone has any insight into how to get libpthread
> to use ll/sc instructions instead of the mips system
> call I would really appreciate hearing from them.
Rebuild it with -mips2. The inline code in glibc is coded such that it'll
automatically use ll/sc then.
Ralf
next prev parent reply other threads:[~2002-11-08 5:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-08 3:52 Enabling pthreads to use ll/sc instead of emulate_load_store_insn Wayne Gowcher
2002-11-08 5:12 ` Ralf Baechle [this message]
2002-11-08 5:17 ` H. J. Lu
2002-11-08 5:27 ` Ralf Baechle
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=20021108061233.A3314@bacchus.dhis.org \
--to=ralf@linux-mips.org \
--cc=linux-mips@linux-mips.org \
--cc=wgowcher@yahoo.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