* atomic builtin routines
@ 2008-05-14 15:01 Vardhan, Sundara (GE Infra, Energy)
2008-05-16 3:41 ` Andrew Haley
0 siblings, 1 reply; 2+ messages in thread
From: Vardhan, Sundara (GE Infra, Energy) @ 2008-05-14 15:01 UTC (permalink / raw)
To: gcc-help
Hi All
I have used __sync_lock_test_and_set() routines in gcc 4.1.1 with -march=pentiumpro successfully. Are there equivalent set of routines or any other functions that I can use for spin locks in gcc 3.4.6?
Your help will be greatly appreciated.
With Regards
Vardhan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: atomic builtin routines
2008-05-14 15:01 atomic builtin routines Vardhan, Sundara (GE Infra, Energy)
@ 2008-05-16 3:41 ` Andrew Haley
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2008-05-16 3:41 UTC (permalink / raw)
To: Vardhan, Sundara (GE Infra, Energy); +Cc: gcc-help
Vardhan, Sundara (GE Infra, Energy) wrote:
> Hi All
>
> I have used __sync_lock_test_and_set() routines in gcc 4.1.1 with -march=pentiumpro successfully.
> Are there equivalent set of routines or any other functions that I can use for spin locks in gcc 3.4.6?
We didn't rename them, if that's what you are asking. Sorry.
This is when they were added. Any gcc before that doesn't have them.
http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00915.html
Andrew.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-15 16:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-14 15:01 atomic builtin routines Vardhan, Sundara (GE Infra, Energy)
2008-05-16 3:41 ` Andrew Haley
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).