Sign in
plan9port
/
plan9
/
2387495b562d5979ed3e985706fcc448049fe01a
/
.
/
src
/
libthread
/
Linux-sparc64-asm.s
blob: c371266f40d5852ee921f9dde5184e20404be84e [
file
] [
log
] [
blame
]
.section
".text"
,
#alloc, #execinstr
.align
8
.skip
16
.global _tas
!
.type _tas
,
2
_tas
:
or
%g0,1,%
o1
swap
[%o0],%
o1
!
o0 points to lock
;
key is first word
retl
mov
%o1, %
o0
.size _tas
,(
.
-
_tas
)