🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #42060

Looking for test-and-set asm macros...

#42060
From: Philip Mucci
Date: Thu, 18 Jan 1996 00:00
16 lines
937 bytes
Hi all,

I'm looking for some test-and-set macros or asm(()) directives for
the Sparcs. I know the instruction, I just don't know how to do it
from C. Can someone lend a hand? Is there a tutorial out there
for how to use inline assembler in gcc? Feel free to point me to 
a FAQ.

Thanks

-Phil

-- 
/*%\ Philip J. Mucci  |  GRA in C.S. |  Internet, The Last Free Media /%*\ 
|%*| under Dr. Jack Dongarra         |  George Washington grew hemp!  |*%|
\*%/  http://www.cs.utk.edu/~mucci ===== HPC / PVM / Active Messages  \%*/ 
Technical Details
Message-ID: <4dmsmvINNjd6@rudolph.cs.utk.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,4a64e464401fc5ba,start
X-Google-Attributes: gid11318c,public
From: mucci@cs.utk.edu (Philip Mucci)
Subject: Looking for test-and-set asm macros...
Date: 1996/01/18
Message-ID: <4dmsmvINNjd6@rudolph.cs.utk.edu>
X-Deja-AN: 135697171
organization: CS Department, University of Tennessee, Knoxville
newsgroups: gnu.gcc.help