From: Jim Wilson <wilson@specifixinc.com>
To: linux-ia64@vger.kernel.org
Subject: Re: ia64_cmpxchg on United Linux 1.0
Date: Wed, 01 Oct 2003 22:12:51 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106504643626170@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106496180632562@msgid-missing>
On Tue, 2003-09-30 at 15:38, Umut Aymakoglu wrote:
> Is there another macro for test_and_set that user applications
> can use?
The psABI defines a set of synchronization primitives in section 7.3.
The psABI is available from the Intel IPF web site.
http://developer.intel.com/design/itanium/arch_spec.htm
Gcc implements these primitives in the ia64intrin.h file. This header
file should be available with any system that has gcc installed on it.
It is found in the gcc install directory, probably under /usr/lib.
These are very basic primitives that expand to single IPF instructions.
They won't be very useful unless you know what you are doing. You might
be better off using libraries implemented on top of these primitives.
These primitives aren't used much. HJ found a couple of simple type
errors in them when he looked at them earlier this year. The patches
for these problems will be in gcc-3.4 which hasn't been released yet.
They should be trivial to backpatch into older gcc releases if you need
them.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
prev parent reply other threads:[~2003-10-01 22:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-30 22:38 ia64_cmpxchg on United Linux 1.0 Umut Aymakoglu
2003-09-30 23:35 ` Boehm, Hans
2003-10-01 22:12 ` Jim Wilson [this message]
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=marc-linux-ia64-106504643626170@msgid-missing \
--to=wilson@specifixinc.com \
--cc=linux-ia64@vger.kernel.org \
/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